--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/messaging_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch
+//==== LABEL Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addConversationsChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
+//==== ONLOAD_DELAY 90
+//==== TEST_CRITERIA MC
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), serviceSuccess, serviceError, messageService, messageStorage,
+ incorrectChangeListener, exceptionName, i, conversionTable;
+t.step(function () {
+
+ serviceSuccess = t.step_func(function (services) {
+ assert_true(services.length > 0, "Received empty services array");
+ messageService = services[0];
+ messageStorage = messageService.messageStorage;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ for(i = 0; i < conversionTable.length; i++) {
+ incorrectChangeListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+
+ assert_throws({name: exceptionName},
+ function () {
+ messageStorage.addConversationsChangeListener(incorrectChangeListener);
+ }, exceptionName + " should be thrown - given incorrect listener: " + incorrectChangeListener + ".");
+ }
+ t.done();
+ });
+
+ serviceError = t.step_func(function (error) {
+ assert_unreached("getMessageServices() error callback: name:" + error.name + ", msg:" + error.message);
+ });
+ tizen.messaging.getMessageServices("messaging.email", serviceSuccess, serviceError);
+});
+
+</script>
+</body>
+</html>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MessageStorage" element_type="method" element_name="addConversationsChangeListener" specification="Messaging" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
</suite>
</test_definition>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Message_email_folderId_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
</set>
</suite>
</test_definition>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
+
+-->
+<html>
+<head>
+<title>MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch</title>
+<meta charset="utf-8"/>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/messaging_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch
+//==== LABEL Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addConversationsChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
+//==== ONLOAD_DELAY 90
+//==== TEST_CRITERIA MC
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), serviceSuccess, serviceError, messageService, messageStorage,
+ incorrectChangeListener, exceptionName, i, conversionTable;
+t.step(function () {
+
+ serviceSuccess = t.step_func(function (services) {
+ assert_true(services.length > 0, "Received empty services array");
+ messageService = services[0];
+ messageStorage = messageService.messageStorage;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ for(i = 0; i < conversionTable.length; i++) {
+ incorrectChangeListener = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+
+ assert_throws({name: exceptionName},
+ function () {
+ messageStorage.addConversationsChangeListener(incorrectChangeListener);
+ }, exceptionName + " should be thrown - given incorrect listener: " + incorrectChangeListener + ".");
+ }
+ t.done();
+ });
+
+ serviceError = t.step_func(function (error) {
+ assert_unreached("getMessageServices() error callback: name:" + error.name + ", msg:" + error.message);
+ });
+ tizen.messaging.getMessageServices("messaging.mms", serviceSuccess, serviceError);
+});
+
+</script>
+</body>
+</html>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-messaging-mms-tizen-tests/messaging/MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="MessageStorage" element_type="method" element_name="addConversationsChangeListener" specification="Messaging" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
</suite>
</test_definition>
<test_script_entry>/opt/tct-messaging-mms-tizen-tests/messaging/MessageService_mms_type_attribute.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-messaging-mms-tizen-tests/messaging/MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
</set>
</suite>
</test_definition>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-<head>
-<title>MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/messaging_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch
-//==== LABEL Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addConversationsChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), serviceSuccess, serviceError, messageService, messageStorage,
- incorrectChangeListener, exceptionName, i, conversionTable;
-t.step(function () {
-
- serviceSuccess = t.step_func(function (services) {
- assert_true(services.length > 0, "Received empty services array");
- messageService = services[0];
- messageStorage = messageService.messageStorage;
-
- conversionTable = getTypeConversionExceptions("object", false);
- for(i = 0; i < conversionTable.length; i++) {
- incorrectChangeListener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- messageStorage.addConversationsChangeListener(incorrectChangeListener);
- }, exceptionName + " should be thrown - given incorrect listener: " + incorrectChangeListener + ".");
- }
- t.done();
- });
-
- serviceError = t.step_func(function (error) {
- assert_unreached("getMessageServices() error callback: name:" + error.name + ", msg:" + error.message);
- });
- tizen.messaging.getMessageServices("messaging.sms", serviceSuccess, serviceError);
-});
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-<head>
-<title>MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-<script type="text/javascript" src="support/messaging_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch
-//==== LABEL Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)
-//==== PRIORITY: P2
-//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addConversationsChangeListener M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
-//==== ONLOAD_DELAY 90
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), serviceSuccess, serviceError, messageService, messageStorage,
- incorrectChangeListener, exceptionName, i, conversionTable;
-t.step(function () {
-
- serviceSuccess = t.step_func(function (services) {
- assert_true(services.length > 0, "Received empty services array");
- messageService = services[0];
- messageStorage = messageService.messageStorage;
-
- conversionTable = getTypeConversionExceptions("object", false);
- for(i = 0; i < conversionTable.length; i++) {
- incorrectChangeListener = conversionTable[i][0];
- exceptionName = conversionTable[i][1];
-
- assert_throws({name: exceptionName},
- function () {
- messageStorage.addConversationsChangeListener(incorrectChangeListener);
- }, exceptionName + " should be thrown - given incorrect listener: " + incorrectChangeListener + ".");
- }
- t.done();
- });
-
- serviceError = t.step_func(function (error) {
- assert_unreached("getMessageServices() error callback: name:" + error.name + ", msg:" + error.message);
- });
- tizen.messaging.getMessageServices("messaging.sms", serviceSuccess, serviceError);
-});
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MessageStorage" element_type="method" element_name="addConversationsChangeListener" specification="Messaging" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if MessageStorage.findMessages method works properly" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_findMessages">
<description>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_findMessages.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="MessageStorage" element_type="method" element_name="addConversationsChangeListener" specification="Messaging" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if method removeChangeListener in MessageStorage" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeChangeListener_exist">
<description>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_removeChangeListener_exist.html</test_script_entry>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_addMessagesChangeListener_withoutfilter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (email)" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if MessageStorage.findMessages method works properly" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findMessages">
<description>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_findMessages.html</test_script_entry>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_findMessages_sort_valid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check type conversions for conversationsChangeCallback argument of MessageStorage.addConversationsChangeListener method (mms)" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_mms_addConversationsChangeListener_conversationsChangeCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if method removeChangeListener in MessageStorage" onload_delay="90" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeChangeListener_exist">
<description>
<test_script_entry>/opt/tct-messaging-sms-tizen-tests/messaging/MessageStorage_removeChangeListener_exist.html</test_script_entry>