<head>
<title>MessageArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageArraySuccessCallback");
-}, "MessageArraySuccessCallback_notexist");
-// Check if interface MessageArraySuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageArraySuccessCallback_onsuccess</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessageArraySuccessCallback_onsuccess", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, findFilter, findMessagesSuccess, findMessagesError;
<head>
<title>MessageAttachmentSuccessCallback_email_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
setup({timeout: 180000});
-var t = async_test("MessageAttachmentSuccessCallback_email_onsuccess", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, inboxFolder,
message, attachment, sendSuccess, sendError, syncSuccess, syncError, filterFolder,
findSuccess, findError, foundMessage, returnedValue = null,
<head>
<title>MessageAttachmentSuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageAttachmentSuccessCallback");
-}, "MessageAttachmentSuccessCallback_notexist");
-// Check if interface MessageAttachmentSuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageAttachment_constructor</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageAttachment_constructor
-//==== LABEL check new tizen.MessageAttachment(String filePath, String mimeType?) works (is supported)
+//==== LABEL Check if MessageAttachment's constructor works
//==== SPEC Tizen Web API:Communication:Messaging:MessageAttachment:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRA CONSTRM
assert_equals(attachment.mimeType, MESSAGE_ATTACHMENT_IMAGE_MIME_TYPE, "'attachment.mimeType' should be "+MESSAGE_ATTACHMENT_IMAGE_MIME_TYPE);
assert_equals(attachment.filePath, MESSAGE_ATTACHMENT_IMAGE_PATH, "'attachment.filePath' should be \""+MESSAGE_ATTACHMENT_IMAGE_PATH+"\"");
-}, "MessageAttachment_constructor");
+}, document.title);
</script>
</body>
<head>
<title>MessageAttachment_constructor_minargs</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageAttachment_constructor_minargs
-//==== LABEL check new tizen.MessageAttachment(String filePath) works (is supported)
+//==== LABEL Check if MessageAttachment's constructor works with minimum arguments
//==== SPEC Tizen Web API:Communication:Messaging:MessageAttachment:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRM
assert_equals(attachment.mimeType, null, "'attachment.mimeType' null by default");
assert_equals(attachment.filePath, MESSAGE_ATTACHMENT_IMAGE_PATH, "'attachment.filePath' should be \""+MESSAGE_ATTACHMENT_IMAGE_PATH+"\" by default");
-}, "MessageAttachment_constructor_minargs");
+}, document.title);
</script>
</body>
<head>
<title>MessageAttachment_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_constructor("MessageAttachment");
-}, "MessageAttachment_exist");
-// Check if MessageAttachment exists
+}, document.title);
</script>
</body>
<head>
<title>MessageAttachment_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
var attachment = new tizen.MessageAttachment(MESSAGE_ATTACHMENT_IMAGE_PATH);
check_extensibility(attachment);
-}, "MessageAttachment_extend");
+}, document.title);
</script>
</body>
<head>
<title>MessageAttachment_filePath_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ARO AT ADV
setup({timeout: 180000});
-var t = async_test("MessageAttachment_filePath_attribute", {timeout: 180000}), attachment, message,
+var t = async_test(document.title, {timeout: 180000}), attachment, message,
service, serviceSuccess, serviceError, sendSuccess, sendError, syncSuccess, syncError,
filterForServiceId, findFoldersError, findFoldersSuccess,
inboxFolder, mySubjectFilter, myFolderIdFilter, filter, findMessageError,
<head>
<title>MessageAttachment_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ARO ADV AT
setup({timeout: 180000});
-var t = async_test("MessageAttachment_id_attribute", {timeout: 180000}), message, attachment,
+var t = async_test(document.title, {timeout: 180000}), message, attachment,
serviceError, serviceSuccess, messageService, messageStorage, addDraftError, addDraftSuccess;
t.step(function () {
attachment = new tizen.MessageAttachment(MESSAGE_ATTACHMENT_IMAGE_PATH);
<head>
<title>MessageAttachment_messageId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ARO ADV AT
setup({timeout: 180000});
-var t = async_test("MessageAttachment_messageId_attribute", {timeout: 180000}), message, attachment,
+var t = async_test(document.title, {timeout: 180000}), message, attachment,
serviceError, serviceSuccess, messageService, messageStorage, addDraftError, addDraftSuccess;
t.step(function () {
attachment = new tizen.MessageAttachment(MESSAGE_ATTACHMENT_IMAGE_PATH);
<head>
<title>MessageAttachment_mimeType_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
attachment = new tizen.MessageAttachment(MESSAGE_ATTACHMENT_IMAGE_PATH);
assert_equals(attachment.mimeType, null, "Incorrect default value");
-}, "MessageAttachment_mimeType_attribute");
+}, document.title);
</script>
</body>
<head>
<title>MessageBodySuccessCallback_email_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBT CBOA
-setup({ timeout: 180000 });
-var t = async_test("MessageBodySuccessCallback_email_onsuccess", { timeout: 180000 }),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
service, message, inboxFolder, serviceSuccess, serviceError, sendSuccess, sendError,
syncSuccess, syncError, folderSuccess, folderError, findSuccess, findError, bodySuccess, bodyError;
message = new tizen.Message("messaging.email", {
subject: generateSubject(),
- to : [ TEST_EMAIL_RECIPIENT_1 ],
- htmlBody : MESSAGE_BODY_HTML
+ to: [ TEST_EMAIL_RECIPIENT_1 ],
+ htmlBody: MESSAGE_BODY_HTML
});
sendMessage(t, service, message, sendSuccess, sendError);
<head>
<title>MessageBodySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageBodySuccessCallback");
-}, "MessageBodySuccessCallback_notexist");
-// Check if interface MessageBodySuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Jakub Siewierski <j.siewierski@samsung.com>
-->
<html>
<head>
<title>MessageBodySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA
-setup({ timeout: 180000 });
-var t = async_test("MessageBodySuccessCallback_onsuccess", { timeout: 180000 }),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
message, service, inboxFolder, i,
serviceSuccess, serviceError, sendSuccess, sendError, syncSuccess, syncError,
folderSuccess, folderError, findSuccess, findError, bodySuccess, bodyError;
<head>
<title>MessageBody_email_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
check_extensibility(messageBody);
-}, "MessageBody_email_extend");
+}, document.title);
</script>
</body>
<head>
<title>MessageBody_email_htmlBody_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
messageBody.htmlBody = null;
assert_equals(messageBody.htmlBody, "null", "htmlBody should not accept null as value");
-}, "MessageBody_email_htmlBody_attribute");
+}, document.title);
</script>
</body>
<head>
<title>MessageBody_email_inlineAttachments_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AN AT ASG
setup({timeout: 180000});
-var t = async_test("MessageBody_email_inlineAttachments_attribute", {timeout: 180000}), message, messageBody, oldValue,
+var t = async_test(document.title, {timeout: 180000}), message, messageBody, oldValue,
serviceError, serviceSuccess, messageService, messageStorage, addDraftError, addDraftSuccess;
t.step(function () {
<head>
<title>MessageBody_email_loaded_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
messageBody.loaded = null;
assert_equals(messageBody.loaded, oldValue, "loaded attribute shuld not accept null as value");
-}, "MessageBody_email_loaded_attribute");
+}, document.title);
</script>
</body>
<head>
<title>MessageBody_email_messageId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageBody_email_messageId_attribute", {timeout: 180000}), message, messageBody,
+var t = async_test(document.title, {timeout: 180000}), message, messageBody,
serviceError, serviceSuccess, messageService, messageStorage, addDraftError, addDraftSuccess;
t.step(function () {
<head>
<title>MessageBody_email_plainBody_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
messageBody.plainBody = null;
assert_equals(messageBody.plainBody, "null", "null is incorrectly converted to 'null'. plainBody is not nullable string so after set to plainBody null. plainBody should be equals 'null'");
-}, "MessageBody_email_plainBody_attribute");
+}, document.title);
</script>
</body>
<head>
<title>MessageBody_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageBody");
-}, "MessageBody_notexist");
-// Check if interface MessageBody exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageConversationArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageConversationArraySuccessCallback");
-}, "MessageConversationArraySuccessCallback_notexist");
-// Check if interface MessageConversationArraySuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageConversationArraySuccessCallback_onsuccess</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessageConversationArraySuccessCallback_onsuccess", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, findConversationsSuccess, findConversationsError, filter;
t.step(function () {
<head>
<title>MessageConversation_bcc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_bcc_attribute", {timeout: 180000}), tmp;
+var t = async_test(document.title, {timeout: 180000}), tmp;
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "bcc", "MessageConversation does not own bcc property.");
<head>
<title>MessageConversation_cc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_cc_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "cc", "MessageConversation does not own cc property.");
<head>
<title>MessageConversation_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA OBX
setup({timeout: 180000});
-var t = async_test("MessageConversation_extend", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
check_extensibility(conversation);
<head>
<title>MessageConversation_from_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_from_attribute", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, sendSuccess, sendError, syncSuccess, syncError,
filter, findSuccess, findError;
<head>
<title>MessageConversation_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_id_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "id", "MessageConversation does not own id property.");
<head>
<title>MessageConversation_isRead_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_isRead_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "isRead", "MessageConversation does not own isRead property.");
<head>
<title>MessageConversation_lastMessageId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_lastMessageId_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "lastMessageId", "MessageConversation does not own lastMessageId property.");
<head>
<title>MessageConversation_messageCount_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_messageCount_attribute", {timeout: 180000}), testing;
+var t = async_test(document.title, {timeout: 180000}), testing;
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "messageCount", "MessageConversation does not own messageCount property.");
<head>
<title>MessageConversation_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<head>
<title>MessageConversation_preview_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_preview_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "preview", "MessageConversation does not own preview property.");
<head>
<title>MessageConversation_subject_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_subject_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "subject", "MessageConversation does not own subject property.");
<head>
<title>MessageConversation_timestamp_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_timestamp_attribute", {timeout: 180000}), tmp;
+var t = async_test(document.title, {timeout: 180000}), tmp;
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "timestamp", "MessageConversation does not own timestamp property.");
<head>
<title>MessageConversation_to_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_to_attribute", {timeout: 180000}), tmp;
+var t = async_test(document.title, {timeout: 180000}), tmp;
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "to", "MessageConversation does not own to property.");
<head>
<title>MessageConversation_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_type_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "type", "MessageConversation does not own type property.");
<head>
<title>MessageConversation_unreadMessages_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageConversation_unreadMessages_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
assert_own_property(conversation, "unreadMessages", "MessageConversation does not own unreadMessages property.");
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>MessageConversationsChangeCallback_conversationsadded</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageConversationsChangeCallback_conversationsadded
-//==== LABEL: Check if conversationsadded callback was invoked with proper argument type.
+//==== LABEL Check if conversationsadded callback was invoked with proper argument type.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageConversationsChangeCallback:conversationsadded M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessageConversationsChangeCallback_conversationsadded", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, messageService, addDraftError, message, conversationChangeCB, watchId;
t.step(function () {
});
conversationChangeCB = {
- conversationsadded : t.step_func(function (conversations) {
+ conversationsadded: t.step_func(function (conversations) {
assert_type(conversations, "array", "type check");
assert_greater_than(conversations.length, 0, "Received empty conversations array");
<head>
<title>MessageConversationsChangeCallback_email_conversationsremoved</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
-setup({ timeout: 180000 });
-var t = async_test("MessageConversationsChangeCallback_email_conversationsremoved", {timeout: 180000}),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
conversationFilter, findConversationSuccess, findConversationError, foundConversation, removeConversationError,
changeCallback, listenerId;
<head>
<title>MessageConversationsChangeCallback_email_conversationsupdated</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA CBT CBOA
-setup({ timeout: 180000 });
-var t = async_test("MessageConversationsChangeCallback_email_conversationsupdated", {timeout: 180000}),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, messageService, messageStorage, message,
addDraftSuccess, addDraftError, updateError, oldTimestamp, changeCallback, listenerId;
<head>
<title>MessageConversationsChangeCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageConversationsChangeCallback");
-}, "MessageConversationsChangeCallback_notexist");
-// Check if interface MessageConversationsChangeCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageFolderArraySuccessCallback_email_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessageFolderArraySuccessCallback_email_onsuccess", {timeout: 180000}), messageService,
+var t = async_test(document.title, {timeout: 180000}), messageService,
messageStorage, filter, messageFolder, serviceSuccess, serviceError, folderSuccess, folderError, i;
t.step(function () {
<head>
<title>MessageFolderArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageFolderArraySuccessCallback");
-}, "MessageFolderArraySuccessCallback_notexist");
-// Check if interface MessageFolderArraySuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageFolder_contentType_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageFolder_contentType_exist
-//==== LABEL check if the attribute contentType in MessageFolder
+//==== LABEL Check if the attribute contentType in MessageFolder
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageFolder:contentType A
//==== TEST_CRITERIA AE
setup({timeout: 180000});
-var t = async_test("MessageFolder_contentType_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
getMessageServicesSuccess, getMessageServicesError,
findFoldersSuccess, findFoldersError, filter;
<head>
<title>MessageFolder_email_contentType_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_contentType_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
<html>
<head>
<title>MessageFolder_email_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA OBX
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_extend", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, serviceSuccess,
+ serviceError, folderSuccess, folderError, messageFolder;
t.step(function () {
- var messageService, messageStorage, filter,
- serviceSuccess, serviceError,
- folderSuccess, folderError, messageFolder;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
<head>
<title>MessageFolder_email_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_id_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
<head>
<title>MessageFolder_email_name_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE ASG AT AN
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_name_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_greater_than(folders.length, 0, "Received empty folders array");
<head>
<title>MessageFolder_email_parentId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE ARO AT ADV
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_parentId_attribute", {timeout: 180000}), messageService, messageStorage, i,
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, i,
filter, messageFolder, serviceSuccess, serviceError, folderSuccess, folderError, rootFound = false;
t.step(function () {
folderSuccess = t.step_func(function (folders) {
<head>
<title>MessageFolder_email_path_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE ARO AT
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_path_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
<head>
<title>MessageFolder_email_serviceId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_serviceId_attribute", {timeout: 180000}), getMessageServicesSuccess, getMessageServicesError,
+var t = async_test(document.title, {timeout: 180000}), getMessageServicesSuccess, getMessageServicesError,
findFoldersSuccess, findFoldersError, filter, folder, service;
t.step(function () {
<head>
<title>MessageFolder_email_synchronizable_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE AT ASG AN
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_synchronizable_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
<head>
<title>MessageFolder_email_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageFolder_email_type_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, filter, messageFolder,
+ serviceSuccess, serviceError, folderSuccess, folderError;
t.step(function () {
- var messageService, messageStorage, filter, messageFolder,
- serviceSuccess, serviceError,
- folderSuccess, folderError;
folderSuccess = t.step_func(function (folders) {
assert_true(folders.length > 0, "Received empty folders array");
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageFolder_id_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageFolder_id_exist
-//==== LABEL check if the attribute id in MessageFolder
+//==== LABEL Check if the attribute id in MessageFolder
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageFolder:id A
//==== TEST_CRITERIA AE
setup({timeout: 180000});
-var t = async_test("MessageFolder_id_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
getMessageServicesSuccess, getMessageServicesError,
findFoldersSuccess, findFoldersError, filter;
<head>
<title>MessageFolder_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageFolder");
-}, "MessageFolder_notexist");
-// Check if interface MessageFolder exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageFolder_path_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageFolder_path_exist
-//==== LABEL check if the attribute path in MessageFolder
+//==== LABEL Check if the attribute path in MessageFolder
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageFolder:path A
//==== TEST_CRITERIA AE
setup({timeout: 180000});
-var t = async_test("MessageFolder_path_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
getMessageServicesSuccess, getMessageServicesError,
findFoldersSuccess, findFoldersError, filter;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageFolder_type_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageFolder_type_exist
-//==== LABEL check if the attribute type in MessageFolder
+//==== LABEL Check if the attribute type in MessageFolder
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageFolder:type A
//==== TEST_CRITERIA AE
setup({timeout: 180000});
-var t = async_test("MessageFolder_type_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
getMessageServicesSuccess, getMessageServicesError,
findFoldersSuccess, findFoldersError, filter;
<head>
<title>MessageFoldersChangeCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageFoldersChangeCallback");
-}, "MessageFoldersChangeCallback_notexist");
-// Check if interface MessageFoldersChangeCallback exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageManagerObject_messaging</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
test(function () {
assert_true("messaging" in tizen, "tizen.messaging exists");
-},"MessageManagerObject_messaging");
+}, document.title);
</script>
</body>
<head>
<title>MessageManagerObject_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageManagerObject");
-}, "MessageManagerObject_notexist");
-// Check if interface MessageManagerObject exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageRecipientsCallback_email_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
-setup({ timeout: 180000 });
-var t = async_test("MessageRecipientsCallback_email_onsuccess", { timeout: 180000 }),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
message, sendSuccess, sendError, serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageRecipientsCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageRecipientsCallback");
-}, "MessageRecipientsCallback_notexist");
-// Check if interface MessageRecipientsCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>MessageServiceArraySuccessCallback_email_onsuccess</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessageServiceArraySuccessCallback_email_onsuccess", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, i;
t.step(function () {
<head>
<title>MessageServiceArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageServiceArraySuccessCallback");
-}, "MessageServiceArraySuccessCallback_notexist");
-// Check if interface MessageServiceArraySuccessCallback exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageServiceArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
setup({timeout: 180000});
-var t = async_test("MessageServiceArraySuccessCallback_onsuccess", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageService_email_extend</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA OBX
setup({timeout: 180000});
-var t = async_test("MessageService_email_extend", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, serviceSuccess, serviceError;
t.step(function () {
- var messageService, serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (services) {
assert_true(services.length > 0, "Received empty services array");
<head>
<title>MessageService_email_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageService_email_id_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), service, serviceSuccess, serviceError;
t.step(function () {
- var service, serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (services) {
assert_greater_than(services.length, 0, "Received empty services array");
<html>
<head>
<title>MessageService_email_loadMessageAttachment</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment
-//==== LABEL Check MessageService.loadMessageAttachment method with optional arguments (email)
+//==== LABEL Check if MessageService.loadMessageAttachment method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, inboxFolder, message, attachment, returnedValue = null,
serviceSuccess, serviceError, sendSuccess, sendError, syncSuccess, syncError,
findSuccess, findError, foundMessage, loadAttachmentSuccess, loadAttachmentError,
<head>
<title>MessageService_email_loadMessageAttachment_attachment_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_attachment_TypeMismatch
-//==== LABEL Check argument attachment conversions exception - loadMessageAttachment, email
+//==== LABEL Check type conversions for attachment argument of MessageService.loadMessageAttachment method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_attachment_TypeMismatch", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName, incorrectAttachment, loadAttachmentSuccess,
+ loadAttachmentError, conversionTable, i;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName,
- incorrectAttachment, loadAttachmentSuccess, loadAttachmentError, conversionTable, i;
loadAttachmentSuccess = t.step_func(function (attachment) {
assert_unreached("loadMessageAttachment() success callback invoked");
for(i = 0; i < conversionTable.length; i++) {
incorrectAttachment = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
messageService.loadMessageAttachment(incorrectAttachment, loadAttachmentSuccess, loadAttachmentError);
}, exceptionName + " should be thrown - given incorrect Attachment: " + incorrectAttachment);
<head>
<title>MessageService_email_loadMessageAttachment_attachment_invalid_cb</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_attachment_invalid_cb
-//==== LABEL Check argument attachment validation - loadMessageAttachment, email
+//==== LABEL Check if MessageService.loadMessageAttachment method throws exception when attachment is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTO
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_attachment_invalid_cb", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError", loadAttachmentSuccess,
+ loadAttachmentError, fakeAttachment;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError",
- loadAttachmentSuccess, loadAttachmentError, fakeAttachment;
loadAttachmentSuccess = t.step_func(function (attachment) {
assert_unreached("loadMessageAttachment() success callback invoked");
<head>
<title>MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch
-//==== LABEL Check argument errorCallback conversions exception - loadMessageAttachment, email
+//==== LABEL Check type conversions for errorCallback argument of MessageService.loadMessageAttachment method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName, incorrectCallback, loadAttachmentSuccess,
+ conversionTable, i;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName,
- incorrectCallback, loadAttachmentSuccess, conversionTable, i;
loadAttachmentSuccess = t.step_func(function (attachment) {
assert_unreached("loadMessageAttachment() success callback invoked");
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
messageService.loadMessageAttachment(message.attachments[0], loadAttachmentSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageService_email_loadMessageAttachment_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_errorCallback_invalid_cb
-//==== LABEL Check argument errorCallback validation - loadMessageAttachment, email
+//==== LABEL Check if MessageService.loadMessageAttachment method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_errorCallback_invalid_cb", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError", incorrectCallback,
+ loadAttachmentSuccess;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError",
- incorrectCallback, loadAttachmentSuccess;
incorrectCallback = {
onerror: t.step_func(function (error) {
<html>
<head>
<title>MessageService_email_loadMessageAttachment_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), message_service, serviceSuccess, serviceError;
t.step(function () {
- var message_service,
- serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (services) {
assert_true(services.length > 0, "Received empty services array");
<html>
<head>
<title>MessageService_email_loadMessageAttachment_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_missarg
-//==== LABEL Check with missing non-optional arguments loadMessageAttachment - email
+//==== LABEL Check with missing non-optional argument - MessageService.loadMessageAttachment (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_missarg", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, messageService, messageStorage, message, attachment,
addDraftError, addDraftSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
addDraftSuccess = t.step_func(function () {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
messageService.loadMessageAttachment(message.attachments[0]);
}, exceptionName + " should be thrown - missing mandatory argument.");
<head>
<title>MessageService_email_loadMessageAttachment_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_successCallback_TypeMismatch
-//==== LABEL Check argument successCallback conversions exception - loadMessageAttachment, email
+//==== LABEL Check type conversions for successCallback argument of MessageService.loadMessageAttachment method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_successCallback_TypeMismatch", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName, incorrectCallback, loadAttachmentError,
+ conversionTable, i;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName,
- incorrectCallback, loadAttachmentError, conversionTable, i;
loadAttachmentError = t.step_func(function (error) {
assert_unreached("loadMessageAttachment() error callback: name:" + error.name + ", msg:" + error.message);
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
messageService.loadMessageAttachment(message.attachments[0], incorrectCallback, loadAttachmentError);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageService_email_loadMessageAttachment_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_successCallback_invalid_cb
-//==== LABEL Check argument successCallback validation - loadMessageAttachment, email
+//==== LABEL Check if MessageService.loadMessageAttachment method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_successCallback_invalid_cb", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), messageService, messageStorage, message, attachment,
+ serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError", incorrectCallback,
+ loadAttachmentError;
t.step(function () {
- var messageService, messageStorage, message, attachment,
- serviceSuccess, serviceError, addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError",
- incorrectCallback, loadAttachmentError;
incorrectCallback = {
onsuccess: t.step_func(function (error) {
<head>
<title>MessageService_email_loadMessageAttachment_without_errorCallback</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageAttachment_without_errorCallback
-//==== LABEL Check MessageService.loadMessageAttachment method with non-optional arguments (email)
+//==== LABEL Check if MessageService.loadMessageAttachment method works properly without errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageAttachment M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MMINA MAST
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageAttachment_without_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, inboxFolder, serviceSuccess, serviceError, sendSuccess, sendError,
message, attachment, syncSuccess, syncError, returnedValue = null, findSuccess, findError, foundMessage,
loadAttachmentSuccess, loadBodySuccess, loadBodyError, loadMessage, folderSuccess, folderError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<html>
<head>
<title>MessageService_email_loadMessageBody</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody
-//==== LABEL Check if method loadMessageBody of MessageService (email) works with only non-optional arguments
+//==== LABEL Check if MessageService.loadMessageBody method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMINA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,
findMessagesSuccess, findMessagesError,
loadMessageBodySuccess, service, filter, myMessage, j, returnedValue = null;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageService_email_loadMessageBody_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody_errorCallback_TypeMismatch
-//==== LABEL Check loadMessageBody of MessageService (email) errorCallback TypeMismatch
+//==== LABEL Check type conversions for errorCallback argument of MessageService.loadMessageBody method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_errorCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,
loadMessageBodySuccess, service, i, param, conversionTable, exceptionName;
param = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.loadMessageBody(message, loadMessageBodySuccess, param);
}, exceptionName + " should be thrown " + param);
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageService_email_loadMessageBody_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody_errorCallback_invalid_cb
-//==== LABEL Check if method loadMessageBody (email) throws exception with invalid errorCallback
+//==== LABEL Check if MessageService.loadMessageBody method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_errorCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,
loadMessageBodySuccess, incorrectCallback, service;
};
addDraftSuccess = t.step_func(function (){
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.loadMessageBody(message, loadMessageBodySuccess, incorrectCallback);
});
t.done();
<html>
<head>
<title>MessageService_email_loadMessageBody_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_true("loadMessageBody" in service, "No loadMessageBody method in message_service");
<head>
<title>MessageService_email_loadMessageBody_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageBody_missarg
-//==== LABEL Check with missing non-optional argument - loadMessageBody, email
+//==== LABEL Check with missing non-optional argument - MessageService.loadMessageBody (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_missarg", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, message, serviceSuccess, serviceError, addDraftSuccess, addDraftError,
exceptionName = "TypeMismatchError";
<html>
<head>
<title>MessageService_email_loadMessageBody_missarg_message</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_loadMessageBody_missarg_message
-//==== LABEL Check if method loadMessageBody without message attribute throws exception (email)
+//==== LABEL Check with missing message argument - MessageService.loadMessageBody (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_missarg_message", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), message_service, serviceSuccess, serviceError;
t.step(function () {
- var message_service, serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.loadMessageBody();
});
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageService_email_loadMessageBody_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody_successCallback_TypeMismatch
-//==== LABEL Check method loadMessageBodys successCallback conversions exception (email)
+//==== LABEL Check type conversions for successCallback argument of MessageService.loadMessageBody method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_successCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,
findMessagesSuccess, findMessagesError,
service, i, param, conversionTable, exceptionName, filter;
param = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.loadMessageBody(messages[0], param);
}, exceptionName + " should be thrown " + param);
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageService_email_loadMessageBody_successCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody_successCallback_invalid_cb
-//==== LABEL Check method loadMessageBodys successCallback invalid callback (email)
+//==== LABEL Check if MessageService.loadMessageBody method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_successCallback_invalid_cb", {timeout: 180000}),
- serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,service;
+var t = async_test(document.title, {timeout: 180000}),
+ serviceSuccess, serviceError, message, addDraftSuccess, addDraftError, service;
t.step(function () {
addDraftSuccess = t.step_func(function () {
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.loadMessageBody(message, { onsuccess: function () {} });
});
t.done();
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Krzysztof Lachacz <k.lachacz@samsung.com>
-->
<html>
<head>
<title>MessageService_email_loadMessageBody_with_errorCallback</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageService_email_loadMessageBody_with_errorCallback
-//==== LABEL Check if method loadMessageBody of MessageService (email) works with all proper all arguments
+//==== LABEL Check if MessageService.loadMessageBody method works properly with errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:loadMessageBody M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR MAST
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_email_loadMessageBody_with_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, addDraftError,
findMessagesSuccess, findMessagesError,
loadMessageBodySuccess, loadMessageBodyError, filter, service, returnedValue = null, myMessage, j;
});
addDraftSuccess = t.step_func(function (msg) {
- filter = new tizen.AttributeFilter("id","EXACTLY", message.id);
+ filter = new tizen.AttributeFilter("id", "EXACTLY", message.id);
service.messageStorage.findMessages(filter, findMessagesSuccess, findMessagesError);
});
<head>
<title>MessageService_email_messageStorage_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageService_email_messageStorage_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), messagingService, storage, serviceSuccess, serviceError;
t.step(function () {
- var messagingService, storage, serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (emailService) {
messagingService = emailService;
<head>
<title>MessageService_email_name_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageService_email_name_attribute", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_own_property(service, "name", "No 'name' attribute in service");
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Jakub Siewierski <j.siewierski@samsung.com>
Mariusz Polasinski <m.polasinski@samsung.com>
<html>
<head>
<title>MessageService_email_sendMessage</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageService_email_sendMessage
-//==== LABEL Proper invocation with arguments - check if sendMessage (email) does what it should.
+//==== LABEL Check if MessageService.sendMessage method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MAST MOA MR
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage", { timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
message, loadedMessage, resend=0, requestSending, sendMessageReturnValue = null, i, service, inboxFolder,
serviceSuccess, serviceError, sendSuccess, sendError, syncSuccess, syncError,
folderSuccess, folderError, findSuccess, findError, bodySuccess, bodyError,
<html>
<head>
<title>MessageService_email_sendMessage_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_errorCallback_TypeMismatch
-//==== LABEL Check argument errorCallback (email) conversions exception
+//==== LABEL Check type conversions for errorCallback argument of MessageService.sendMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_errorCallback_TypeMismatch", { timeout: 180000 });
+var t = async_test(document.title, {timeout: 180000}), service, serviceSuccess, serviceError, message, sendSuccess,
+ invalidErrorCallback, exceptionName, i, conversionTable;
t.step(function () {
- var service, serviceSuccess, serviceError, message,
- sendSuccess, invalidErrorCallback, exceptionName,
- i, conversionTable;
sendSuccess = t.step_func(function (recipients) {
assert_unreached("Success callback invoked.");
<html>
<head>
<title>MessageService_email_sendMessage_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_errorCallback_invalid_cb
-//==== LABEL Check argument MessageService.sendMessage (email) errorCallback validation - use {onsuccess: function (){}}
+//==== LABEL Check if MessageService.sendMessage method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTCB
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_errorCallback_invalid_cb", { timeout: 180000 });
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, message, sendSuccess, invalidErrorCallback,
+ exceptionName = "TypeMismatchError";
t.step(function () {
- var serviceSuccess, serviceError, message,
- sendSuccess, invalidErrorCallback,
- exceptionName = "TypeMismatchError";
invalidErrorCallback = {
onerror: t.step_func(function (error) {
<html>
<head>
<title>MessageService_email_sendMessage_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_true("sendMessage" in service, "No sendMessage method in service");
<head>
<title>MessageService_email_sendMessage_message_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_message_TypeMismatch
-//==== LABEL Check message (email) argument conversions exception
+//==== LABEL Check type conversions for message argument of MessageService.sendMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_message_TypeMismatch", { timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, sendSuccess, sendError,
incorrectMessage, exceptionName, i, conversionTable;
<html>
<head>
<title>MessageService_email_sendMessage_message_invalid_obj</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_message_invalid_obj
-//==== LABEL Check MessageService.sendMessage (email) argument message validation - use simple object
+//==== LABEL Check if MessageService.sendMessage method throws exception when message is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTO
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_message_invalid_obj", { timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, sendSuccess, sendError,
fakeMessage, exceptionName = "TypeMismatchError";
<head>
<title>MessageService_email_sendMessage_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_missarg
-//==== LABEL Check MessageService.sendMessage (email) with missing non-optional argument
+//==== LABEL Check with missing non-optional argument - MessageService.sendMessage (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMA
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_missarg", { timeout: 180000 });
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, exceptionName = "TypeMismatchError";
t.step(function () {
- var serviceSuccess, serviceError,
- exceptionName = "TypeMismatchError";
serviceSuccess = t.step_func(function (service) {
assert_throws(
<head>
<title>MessageService_email_sendMessage_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_successCallback_TypeMismatch
-//==== LABEL Check argument successCallback (email) conversions exception
+//==== LABEL Check type conversions for successCallback argument of MessageService.sendMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_successCallback_TypeMismatch", { timeout: 180000 });
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, message, sendError, invalidSuccessCallback,
+ exceptionName, i, conversionTable;
t.step(function () {
- var serviceSuccess, serviceError, message,
- sendError, invalidSuccessCallback, exceptionName,
- i, conversionTable;
sendError = t.step_func(function (error) {
assert_unreached("Error callback invoked, name:" + error.name + ", msg:" + error.message);
<html>
<head>
<title>MessageService_email_sendMessage_successCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_successCallback_invalid_cb
-//==== LABEL Check argument MessageService.sendMessage (email) successCallback validation - use {onsuccess: function (){}}
+//==== LABEL Check if MessageService.sendMessage method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTCB
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageService_email_sendMessage_successCallback_invalid_cb", { timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message,
- sendError, invalidSuccessCallback,exceptionName = "TypeMismatchError";
+ sendError, invalidSuccessCallback, exceptionName = "TypeMismatchError";
t.step(function () {
invalidSuccessCallback = {
<head>
<title>MessageService_email_sendMessage_without_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_without_errorCallback
-//==== LABEL Check without optional argument sendMessage(valid_message, valid_successCallback) (email)
+//==== LABEL Check if MessageService.sendMessage method works properly without errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MR MOA
-setup({ timeout: 180000 });
-var t = async_test("MessageService_email_sendMessage_without_errorCallback", { timeout: 180000 }),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
message, returnedValue = null, serviceSuccess, sendSuccess, serviceError;
t.step(function () {
<head>
<title>MessageService_email_sendMessage_without_successCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageService_email_sendMessage_without_successCallback
-//==== LABEL Check without optional argument sendMessage(valid_message) (email)
+//==== LABEL Check if MessageService.sendMessage method works properly without successCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MR MMINA
-setup({ timeout: 180000 });
-var t = async_test("MessageService_email_sendMessage_without_successCallback", { timeout: 180000 }),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
message, returnedValue = null, serviceSuccess, serviceError;
t.step(function () {
<html>
<head>
<title>MessageService_email_stopSync_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_stopSync_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_true("stopSync" in service, "No stopSync method in message_service");
<html>
<head>
<title>MessageService_email_syncFolder_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_syncFolder_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_true("syncFolder" in service, "No syncFolder method in message_service");
<html>
<head>
<title>MessageService_email_sync_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageService_email_sync_exist", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
- var serviceSuccess, serviceError;
serviceSuccess = t.step_func(function (service) {
assert_true("sync" in service, "No sync method in message_service");
<html>
<head>
<title>MessageService_email_type_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 180000});
-var t = async_test("MessageService_email_type_attribute", {timeout: 180000}), serviceSuccess, serviceError;
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
<head>
<title>MessageService_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageService");
-}, "MessageService_notexist");
-// Check if interface MessageService exists, it should not.
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageService_sendMessage_emailWithBcc</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sendMessage_emailWithBcc
-//==== LABEL check whether 'sendMessage' method properly sends the specified message with BCC set
+//==== LABEL Check if MessageService.sendMessage method works properly with bcc (email)
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageService_sendMessage_emailWithBcc", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
message, messageSent, messageFailed, serviceSuccess, serviceError;
t.step(function () {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageService_sendMessage_emailWithPriority</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sendMessage_emailWithPriority
-//==== LABEL sendMessage, email: valid value to priority property with mandatory attribute
+//==== LABEL Check if MessageService.sendMessage method works properly with highPriority (email)
//==== PRIORITY P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageService:sendMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageService_sendMessage_emailWithPriority", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
message, serviceSuccess, serviceError, sendSuccess, sendError;
t.step(function () {
<head>
<title>MessageService_sendMessage_email_without_callbacks</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageService_sendMessage_email_without_callbacks
-//==== LABEL MessageService.sendMessage (emailMessage)
+//==== LABEL Check if MessageService.sendMessage method works properly without callbacks (email)
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageService_sendMessage_email_without_callbacks", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, returnedValue = null;
t.step(function () {
returnedValue = service.sendMessage(message);
assert_equals(returnedValue, undefined, "Incorrect returned value from sendMessage");
- return t.done();
+ t.done();
});
serviceError = t.step_func(function (err) {
<html>
<head>
<title>MessageService_stopSync_sync</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_stopSync_sync
-//==== LABEL: Check if stopSync method with non-optional argument works for sync method
+//==== LABEL Check if MessageService.stopSync (for sync) method works properly
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:stopSync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMINA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_stopSync_sync", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
returnedValue = null, currentDate = new Date(), subjectToSet = currentDate.getTime().toString(),
serviceError, serviceSuccess, service, initDict, message, sendError, sendSuccess, syncId;
<html>
<head>
<title>MessageService_stopSync_syncFolder</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_stopSync_syncFolder
-//==== LABEL: Check if stopSync method with non-optional argument works for syncFolder method
+//==== LABEL Check if MessageService.stopSync (for syncFolder) method works properly
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:stopSync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMINA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_stopSync_syncFolder", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
currentDate = new Date(), subjectToSet = currentDate.getTime().toString(),
serviceError, serviceSuccess, service, filterForServiceId, findFoldersError, findFoldersSuccess,
inboxFolder, message, sendError, sendSuccess, syncId, returnedValue = null;
<html>
<head>
<title>MessageService_sync</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync
-//==== LABEL: Check if sync method with non-optional argument works
+//==== LABEL Check if MessageService.sync method works properly
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageService_sync", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, returnedValue = null;
t.step(function () {
<html>
<head>
<title>MessageService_syncFolder</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder
-//==== LABEL: Check if syncFolder method with non-optional argument works
+//==== LABEL Check if MessageService.syncFolder method works properly
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
servicesSuccess, servicesError, service, filter, findFoldersError, findFoldersSuccess, i, inboxFolder,
findFoldersSuccess, returnedValue = null;
<html>
<head>
<title>MessageService_syncFolder_errorCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_errorCallback_TypeMismatch
-//==== LABEL: Check argument errorCallback conversions exception for syncFolder method.
+//==== LABEL Check type conversions for errorCallback argument of MessageService.syncFolder method
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_errorCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, findSuccess, findError,
exceptionName, conversionTable, i, successCallback, errorCallback;
errorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.syncFolder(folders[0], successCallback, errorCallback);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
}
<html>
<head>
<title>MessageService_syncFolder_errorCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_errorCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in syncFolder method errorCallback callback.
+//==== LABEL Check if MessageService.syncFolder method throws exception when errorCallback is invalid
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_errorCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, service, findError, findSuccess,
syncFolderSuccess, invalidErrorCallback;
t.step(function () {
<html>
<head>
<title>MessageService_syncFolder_folder_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_folder_TypeMismatch
-//==== LABEL: Check argument folder conversions exception for syncFolder method.
+//==== LABEL Check type conversions for folder argument of MessageService.syncFolder method
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_folder_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, exceptionName, conversionTable, i;
t.step(function () {
folder = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.syncFolder(folder);
}, exceptionName + " should be thrown - given incorrect folder.");
}
<html>
<head>
<title>MessageService_syncFolder_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_missarg
-//==== LABEL: Check with missing non-optional argument in syncFolder method
+//==== LABEL Check with missing non-optional argument - MessageService.syncFolder
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMA
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_missarg", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({ name: "TypeMismatchError" }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.syncFolder();
}, "Method should throw an exception");
t.done();
<html>
<head>
<title>MessageService_syncFolder_successCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_successCallback_TypeMismatch
-//==== LABEL: Check argument successCallback conversions exception for syncFolder method.
+//==== LABEL Check type conversions for successCallback argument of MessageService.syncFolder method
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_successCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, findSuccess, findError,
exceptionName, conversionTable, i, successCallback;
successCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.syncFolder(folders[0], successCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
<html>
<head>
<title>MessageService_syncFolder_successCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_successCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in syncFolder method successCallback callback.
+//==== LABEL Check if MessageService.syncFolder method throws exception when successCallback is invalid
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_successCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, service, findError, findSuccess, invalidSuccessCallback;
t.step(function () {
invalidSuccessCallback = {
findSuccess = t.step_func(function (folders) {
assert_greater_than(folders.length, 0, "Received empty folders array");
- assert_throws({name : TYPE_MISMATCH_ERR}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.syncFolder(folders[0], invalidSuccessCallback);
}, "TypeMismatchError should be thrown - given incorrect successCallback.");
t.done();
<html>
<head>
<title>MessageService_syncFolder_with_errorCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_with_errorCallback
-//==== LABEL: Check if syncFolder method with errorCallback optional argument works
+//==== LABEL Check if MessageService.syncFolder method works properly with errorCallback argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_with_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
servicesSuccess, servicesError, service, findFoldersError, findFoldersSuccess,
inboxFolder, message, sendError, sendSuccess, syncId = null,
syncFolderSuccess, syncFolderError, findMessageError, findMesageSuccess;
<html>
<head>
<title>MessageService_syncFolder_with_limit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_with_limit
-//==== LABEL: Check if syncFolder method with limit optional argument works
+//==== LABEL Check if MessageService.syncFolder method works properly with limit
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:syncFolder M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_with_limit", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, findFoldersSuccess, findFoldersError,
inboxFolder, syncId = null, syncFolderSuccess, syncFolderError;
<html>
<head>
<title>MessageService_syncFolder_with_successCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_syncFolder_with_successCallback
-//==== LABEL: Check if syncFolder method with successCallback optional argument works
+//==== LABEL Check if syncFolder method with successCallback optional argument works
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_syncFolder_with_successCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
servicesSuccess, servicesError, service, findFoldersError, findFoldersSuccess,
inboxFolder, message, sendError, sendSuccess, syncId = null, syncFolderSuccess,
findMessageError, findMesageSuccess;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageService_sync_emailwithoutparam</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_emailwithoutparam
-//==== LABEL check the function of sync in MessageService by emailwithoutparam
+//==== LABEL Check if MessageService.sync method works properly without param
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageService_sync_emailwithoutparam", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, syncSuccess, syncError;
t.step(function () {
<html>
<head>
<title>MessageService_sync_errorCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_errorCallback_TypeMismatch
-//==== LABEL: Check argument errorCallback conversions exception for sync method.
+//==== LABEL Check type conversions for errorCallback argument of MessageService.sync method
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_sync_errorCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, syncSuccess, errorCallback, exceptionName, conversionTable, i;
t.step(function () {
errorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.sync(syncSuccess, errorCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
<html>
<head>
<title>MessageService_sync_errorCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_errorCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in sync method errorCallback callback.
+//==== LABEL Check if MessageService.sync method throws exception when errorCallback is invalid
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageService_sync_errorCallback_invalid_cb", {timeout: 180000}), serviceError,
+var t = async_test(document.title, {timeout: 180000}), serviceError,
successCallback, invalidErrorCallback, serviceSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
});
serviceSuccess = t.step_func(function (service) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.sync(successCallback, invalidErrorCallback);
}, exceptionName + " should be thrown - given incorrect errorCallback.");
<head>
<title>MessageService_sync_foremail</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageService_sync_foremail
-//==== LABEL MessageService.sync ()
+//==== LABEL Check if MessageService.sync method works properly without arguments
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMINA
setup({timeout: 180000});
-var t = async_test("MessageService_sync_foremail", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, syncId;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
<html>
<head>
<title>MessageService_sync_successCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_successCallback_TypeMismatch
-//==== LABEL: Check argument successCallback conversions exception for sync method.
+//==== LABEL Check type conversions for successCallback argument of MessageService.sync method
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageService_sync_successCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
successCallback, serviceSuccess, serviceError, exceptionName, conversionTable, i;
t.step(function () {
successCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
ret = service.sync(successCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
<html>
<head>
<title>MessageService_sync_successCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_successCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in sync method successCallback callback.
+//==== LABEL Check if MessageService.sync method throws exception when successCallback is invalid
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:sync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageService_sync_successCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
successCallback, serviceSuccess, serviceError, exceptionName = "TypeMismatchError";
t.step(function () {
};
serviceSuccess = t.step_func(function (service) {
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.sync(successCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
t.done();
<html>
<head>
<title>MessageService_sync_with_errorCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_with_errorCallback
-//==== LABEL: Check if sync method with errorCallback optional argument works
+//==== LABEL Check if MessageService.sync method works properly with errorCallback argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:sync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_sync_with_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
returnedValue = null, serviceError, serviceSuccess, service, message, sendError, sendSuccess,
syncRequest, syncRetryCount=0, syncError, syncSuccess,
findFoldersSuccess, findFoldersError, findMessageSuccess, findMessageError;
<html>
<head>
<title>MessageService_sync_with_limit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_with_limit
-//==== LABEL: Check if sync method with downloadId optional limit argument works
+//==== LABEL Check if MessageService.sync method works properly with limit argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:sync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageService_sync_with_limit", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, syncSuccess, syncError;
t.step(function () {
<html>
<head>
<title>MessageService_sync_with_successCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageService_sync_with_successCallback
-//==== LABEL: Check if sync method with successCallback optional argument works
+//==== LABEL Check if MessageService.sync method works properly with successCallback argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageService:sync M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageService_sync_with_successCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, returnedValue = null,
sendSuccess, sendError, syncSuccess, findFoldersSuccess, findFoldersError,
findMessageSuccess, findMessageError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Beata Koziarek <b.koziarek@samsung.com>
-->
<html>
<head>
<title>MessageStorage_addConversationsChangeListener</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_addConversationsChangeListener
-//==== LABEL: Check if addConversationsChangeListener method with non-optional argument works
+//==== LABEL Check if MessageStorage.addConversationsChangeListener method works properly (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
//==== TEST_CRITERIA MR MMINA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_addConversationsChangeListener", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, messageService, message, addDraftError, conversationChangeCB, returnedValue = null;
t.step(function () {
});
conversationChangeCB = {
- conversationsadded : t.step_func(function (conversations) {
+ conversationsadded: t.step_func(function (conversations) {
assert_greater_than(conversations.length, 0, "Received empty conversations array");
for (var i in conversations) {
<html>
<head>
<title>MessageStorage_addConversationsChangeListener_filter_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_addConversationsChangeListener_filter_TypeMismatch
-//==== LABEL: Check argument filter conversions exception for addConversationsChangeListener method.
+//==== LABEL Check type conversions for filter 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
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_addConversationsChangeListener_filter_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, conversationChangeCB, filter,
exceptionName, conversionTable, i, watchId;
<html>
<head>
<title>MessageStorage_addConversationsChangeListener_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_addConversationsChangeListener_missarg
-//==== LABEL: Check if addConversationsChangeListener of MessageStorage with missing non-optional argument works
+//==== LABEL Check with missing mandatory argument - MessageStorage.addConversationsChangeListener (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
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_addConversationsChangeListener_missarg", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, watchId;
t.step(function () {
add_result_callback(function () {
serviceSuccess = t.step_func(function (emailService) {
service = emailService;
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
watchId = service.messageStorage.addConversationsChangeListener();
});
<html>
<head>
<title>MessageStorage_addConversationsChangeListener_with_filter</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_addConversationsChangeListener_with_filter
-//==== LABEL: Check if addConversationsChangeListener method with optional filter argument works
+//==== LABEL Check if MessageStorage.addConversationsChangeListener method works properly with filter (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
//==== TEST_CRITERIA MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_addConversationsChangeListener_with_filter", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, serviceSuccess, serviceError, message, conversationChangeCB, filter, watchId;
t.step(function () {
});
conversationChangeCB = {
- conversationsadded : t.step_func(function (conversations) {
+ conversationsadded: t.step_func(function (conversations) {
assert_greater_than(conversations.length, 0, "Received empty conversations array");
for (var i in conversations) {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_addConversationsChangeListener_withoutcb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_addConversationsChangeListener_withoutcb
-//==== LABEL: Check addConversationsChangeListener method without callback
+//==== LABEL Check with missing non-optional argument - MessageStorage.addConversationsChangeListener (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_addConversationsChangeListener_withoutcb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({
- name: "TypeMismatchError"
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.messageStorage.addConversationsChangeListener();
}, "TypeMismatchError exception expected but not thrown.");
<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/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<head>
<title>MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb
-//==== LABEL Check argument conversationsChangeCallback validation - addConversationsChangeListener, email
+//==== LABEL Check if MessageStorage.addConversationsChangeListener method throws exception when conversationsChangeCallback is invalid (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
//==== TEST_CRITERIA MTL
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, incorrectListeners, i, exceptionName;
t.step(function () {
incorrectChangeListener = incorrectListeners[i][0];
exceptionName = incorrectListeners[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addConversationsChangeListener(incorrectChangeListener);
}, exceptionName + " should be thrown - given incorrect listener.");
<head>
<title>MessageStorage_email_addConversationsChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addConversationsChangeListener_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
messageStorage, serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_addDraftMessage</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage
-//==== LABEL Check if method addDraftMessage of MessageStorage (email) works properly.
+//==== LABEL Check if MessageStorage.addDraftMessage method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MR MAST MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, returnedValue = null, filter, findMessagesSuccess, findMessagesError;
<head>
<title>MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch
-//==== LABEL Check if addDraftMessage (email) throws exception when errorCallback is incorrect
+//==== LABEL Check type conversions for errorCallback argument of MessageStorage.addDraftMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, conversionTable, i, exceptionName, incorrectCallback;
t.step(function () {
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage(message, addDraftSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_addDraftMessage_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_errorCallback_invalid_cb
-//==== LABEL Check if addDraftMessage (email) throws exception when errorCallback is invalid
+//==== LABEL Check if MessageStorage.addDraftMessage method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_errorCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, addDraftSuccess, incorrectCallback, exceptionName = "TypeMismatchError";
t.step(function () {
serviceSuccess = t.step_func(function (service) {
message = createSimpleMessageTo(TEST_EMAIL_RECIPIENT_2);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage(message, addDraftSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_addDraftMessage_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_addDraftMessage_message_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_message_TypeMismatch
-//==== LABEL Check argument message conversions exception in addDraftMessage method (email)
+//==== LABEL Check type conversions for message argument of MessageStorage.addDraftMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_message_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, incorrectMessage, conversionTable, i, exceptionName,
addDraftSuccess, addDraftError;
for(i = 0; i < conversionTable.length; i++) {
incorrectMessage = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage(incorrectMessage, addDraftSuccess, addDraftError);
}, exceptionName + " should be thrown - given incorrect Message: " + incorrectMessage);
<head>
<title>MessageStorage_email_addDraftMessage_message_invalid_obj</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_message_invalid_obj
-//==== LABEL Check argument message validation in addDraftMessage method (email) - invalid object
+//==== LABEL Check if MessageStorage.addDraftMessage method throws exception when message is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTO
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_message_invalid_obj", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, fakeMessage, exceptionName = "TypeMismatchError",
addDraftSuccess, addDraftError;
attachments: []
};
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.messageStorage.addDraftMessage(fakeMessage, addDraftSuccess, addDraftError);
}, exceptionName + " should be thrown - given incorrect Message");
<head>
<title>MessageStorage_email_addDraftMessage_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_missarg
-//==== LABEL Check MessageStorage.addDraftMessage (email) with missing non-optional argument
+//==== LABEL Check with missing non-optional argument - MessageStorage.addDraftMessage (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_missarg", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, exceptionName = "TypeMismatchError";
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage();
}, exceptionName + " should be thrown - missing argument");
<head>
<title>MessageStorage_email_addDraftMessage_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_successCallback_TypeMismatch
-//==== LABEL Check if addDraftMessage (email) throws exception when successCallback is incorrect
+//==== LABEL Check type conversions for successCallback argument of MessageStorage.addDraftMessage method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_successCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, incorrectCallback, addDraftError, conversionTable, exceptionName, i;
t.step(function () {
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage(message, incorrectCallback, addDraftError);
}, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_addDraftMessage_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_successCallback_invalid_cb
-//==== LABEL Check if addDraftMessage (email) throws exception when successCallback is invalid
+//==== LABEL Check if MessageStorage.addDraftMessage method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_successCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, incorrectCallback, addDraftError, exceptionName = "TypeMismatchError";
t.step(function () {
serviceSuccess = t.step_func(function (service) {
message = createSimpleMessageTo(TEST_EMAIL_RECIPIENT_2);
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addDraftMessage(message, incorrectCallback, addDraftError);
}, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_addDraftMessage_without_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_without_errorCallback
-//==== LABEL Check if method addDraftMessage of MessageStorage (email) works properly without errorCallback
+//==== LABEL Check if MessageStorage.addDraftMessage method works properly without errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_without_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, returnedValue = null,
addDraftSuccess, filter, findMessagesSuccess, findMessagesError;
<head>
<title>MessageStorage_email_addDraftMessage_without_successCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addDraftMessage_without_successCallback
-//==== LABEL Check if method addDraftMessage of MessageStorage (email) works properly without successCallback
+//==== LABEL Check if MessageStorage.addDraftMessage method works properly without successCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addDraftMessage M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MMINA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addDraftMessage_without_successCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, message, returnedValue = null;
t.step(function () {
<head>
<title>MessageStorage_email_addFoldersChangeListener</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_email_addFoldersChangeListener
-//==== LABEL MessageStorage.addFoldersChangeListener (foldersChangeCallback)
+//==== LABEL Check if MessageStorage.addFoldersChangeListener method works properly (email)
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, foldersChangeCallback, watchId;
t.step(function () {
foldersChangeCallback = {
- foldersupdated : t.step_func(function (updatedFolders){
+ foldersupdated: t.step_func(function (updatedFolders){
}),
- foldersadded : t.step_func(function (addedFolders){
+ foldersadded: t.step_func(function (addedFolders){
}),
- foldersremoved : t.step_func(function (removedFolders){
+ foldersremoved: t.step_func(function (removedFolders){
})
};
<head>
<title>MessageStorage_email_addFoldersChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
-->
<html>
<head>
<title>MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch
-//==== LABEL Check addFoldersChangeListener filter conversions exception (email)
+//==== LABEL Check type conversions for filter argument of MessageStorage.addFoldersChangeListener method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, foldersChangeCallback, incorrectfilter, conversionTable, i, exceptionName;
t.step(function () {
foldersChangeCallback = {
- foldersupdated : t.step_func(function (updatedFolders){
+ foldersupdated: t.step_func(function (updatedFolders){
}),
- foldersadded : t.step_func(function (addedFolders){
+ foldersadded: t.step_func(function (addedFolders){
}),
- foldersremoved : t.step_func(function (removedFolders){
+ foldersremoved: t.step_func(function (removedFolders){
})
};
incorrectfilter = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addFoldersChangeListener(foldersChangeCallback, incorrectfilter);
}, exceptionName + " should be thrown - given incorrect filter - " + incorrectfilter);
<head>
<title>MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch
-//==== LABEL MessageStorage.addFoldersChangeListener folderChangeCallback conversions exceptions (email)
+//==== LABEL Check type conversions for foldersChangeCallback argument of MessageStorage.addFoldersChangeListener method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError,
incorrectCallback, conversionTable, i, exceptionName;
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addFoldersChangeListener(incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
}
- return t.done();
+ t.done();
});
serviceError = t.step_func(function (error) {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_email_addFoldersChangeListener_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_addFoldersChangeListener_invalid_cb
-//==== LABEL MessageStorage.addFoldersChangeListener with invalid callback (email)
+//==== LABEL Check if MessageStorage.addFoldersChangeListener method throws exception when foldersChangeCallback is invalid (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTL
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, incorrectListeners, folderChangeListener, i, exceptionName, filter;
t.step(function () {
folderChangeListener = incorrectListeners[i][0];
exceptionName = incorrectListeners[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addFoldersChangeListener(folderChangeListener, filter);
}, exceptionName + " should be thrown - given incorrect successCallback.");
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Karol Surma <k.surma@samsung.com>
-->
<html>
<head>
<title>MessageStorage_email_addFoldersChangeListener_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_addFoldersChangeListener_missarg
-//==== LABEL Check if method addFolersChangeListener without foldersChangeCallback attribute throws exception (email)
+//==== LABEL Check with missing non-optional argument - MessageStorage.addFoldersChangeListener (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addFoldersChangeListener M
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_missarg", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({name: TYPE_MISMATCH_ERR },
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.addFoldersChangeListener();
},
<head>
<title>MessageStorage_email_addFoldersChangeListener_with_filter</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_email_addFoldersChangeListener_with_filter
-//==== LABEL MessageStorage.addFoldersChangeListener (foldersChangeCallback and filter)
+//==== LABEL Check if MessageStorage.addFoldersChangeListener method works properly with filter (email)
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addFoldersChangeListener_with_filter", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, foldersChangeCallback, watchId, filter;
t.step(function () {
foldersChangeCallback = {
- foldersupdated : t.step_func(function (updatedFolders){
+ foldersupdated: t.step_func(function (updatedFolders){
}),
- foldersadded : t.step_func(function (addedFolders){
+ foldersadded: t.step_func(function (addedFolders){
}),
- foldersremoved : t.step_func(function (removedFolders){
+ foldersremoved: t.step_func(function (removedFolders){
})
};
<head>
<title>MessageStorage_email_addMessagesChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch
-//==== LABEL Check argument filter conversions exception - addMessagesChangeListener, filter, email
+//==== LABEL Check type conversions for filter argument of MessageStorage.addMessagesChangeListener method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, changeCallback, conversionTable, incorrectFilter, exceptionName, i;
t.step(function () {
incorrectFilter = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addMessagesChangeListener(changeCallback, incorrectFilter);
}, exceptionName + " should be thrown - given incorrect filter: " + incorrectFilter);
<head>
<title>MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch
-//==== LABEL Check argument messagesChangeCallback conversions exception - addMessagesChangeListener, email
+//==== LABEL Check type conversions for messagesChangeCallback argument of MessageStorage.addMessagesChangeListener method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, incorrectChangeListener, exceptionName, i, conversionTable;
t.step(function () {
incorrectChangeListener = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addMessagesChangeListener(incorrectChangeListener);
}, exceptionName + " should be thrown - given incorrect listener: " + incorrectChangeListener + ".");
<head>
<title>MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb
-//==== LABEL Check argument messagesChangeCallback validation - invalid, email
+//==== LABEL Check if MessageStorage.addMessagesChangeListener method throws exception when messagesChangeCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MTL
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, incorrectListeners, incorrectChangeListener, exceptionName, i;
t.step(function () {
for(i = 0; i < incorrectListeners.length; i++) {
incorrectChangeListener = incorrectListeners[i][0];
exceptionName = incorrectListeners[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addMessagesChangeListener(incorrectChangeListener);
}, exceptionName + " should be thrown - given incorrect listener.");
<head>
<title>MessageStorage_email_addMessagesChangeListener_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_missarg
-//==== LABEL Check with missing non-optional argument - addMessagesChangeListener, email
+//==== LABEL Check with missing non-optional argument - MessageStorage.addMessagesChangeListener (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_missarg", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, exceptionName = "TypeMismatchError";
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.addMessagesChangeListener();
}, exceptionName + " should be thrown - missing argument.");
<head>
<title>MessageStorage_email_addMessagesChangeListener_with_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_with_filter
-//==== LABEL Check with optional arguments addMessagesChangeListener (email)
+//==== LABEL Check if MessageStorage.addMessagesChangeListener method works properly with filter (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_with_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, serviceSuccess, serviceError, mismatchMessage, matchMessage, filter, listenerID;
t.step(function () {
<head>
<title>MessageStorage_email_addMessagesChangeListener_without_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_addMessagesChangeListener_without_filter
-//==== LABEL Check if method addMessagesChangeListener of MessageStorage (email) works properly without filter.
+//==== LABEL Check if MessageStorage.addMessagesChangeListener method works properly without filter (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:addMessagesChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MR MMINA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_addMessagesChangeListener_without_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, listenerId, addDraftError, changeCallback;
t.step(function () {
<head>
<title>MessageStorage_email_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA OBX
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_extend", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_findConversations_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Piotr Szydelko <p.szydelko@samsung.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_filter_from</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_filter_from
-//==== LABEL Check if method findConversations of MessageStorage (email) filter from
+//==== LABEL Check if MessageStorage.findConversations method works properly with filter by from (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_filter_from", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter,
sendSuccess, sendError, syncSuccess, syncError, findSuccess, findError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_filter_to</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_filter_to
-//==== LABEL Check if method findConversations of MessageStorage (email) filter to
+//==== LABEL Check if MessageStorage.findConversations method works properly with filter by to (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_filter_to",{ timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, filter, findSuccess, findError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_filter_type</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_filter_type
-//==== LABEL Check if method findConversations of MessageStorage (email) filter type
+//==== LABEL Check if MessageStorage.findConversations method works properly with filter by type (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_filter_type", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
findConversationsSuccess, findConversationsError, serviceSuccess, serviceError,
service, filter, i, addDraftSuccess, addDraftError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Piotr Szydelko <p.szydelko@samsung.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_with_sort</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_with_sort
-//==== LABEL Check if method findConversations of MessageStorage (email) with sort
+//==== LABEL Check if MessageStorage.findConversations method works properly with sort (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_with_sort", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
service, servicesSuccess, serviceError, message1, message2,
filter, sortMode, addDraftSuccess, addDraftError, addDraftSuccessCount = 0,
findConversationsSuccess, findConversationsError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_with_sort_time_desc</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_with_sort_time_desc
-//==== LABEL Check if method findConversations of MessageStorage (email) with sort time desc
+//==== LABEL Check if MessageStorage.findConversations method works properly with sort by time descending (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_with_sort_time_desc", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message1, message2,
addDraftSuccess, addDraftError, addDraftSuccessCount=0,
filter, sortMode, findConversationsSuccess, findConversationsError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_email_findConversations_without_errorCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_email_findConversations_without_errorCallback
-//==== LABEL Check if method findConversations of MessageStorage (email) without errorCallback
+//==== LABEL Check if MessageStorage.findConversations method works properly without errorCallback argument (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findConversations M
//==== TEST_CRITERIA MMINA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findConversations_without_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, addDraftError, findConversationsSuccess;
t.step(function () {
<head>
<title>MessageStorage_email_findFolders_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findFolders_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_findMessages</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages
-//==== LABEL Check MessageStorage.findMessages method with non-optional arguments (filter by Message.id) for email
+//==== LABEL Check if MessageStorage.findMessages method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMINA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, service, message,
addDraftSuccess, addDraftError, filter, findSuccess;
<head>
<title>MessageStorage_email_findMessages_and_loadMessageBody</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageStorage_email_findMessages_and_loadMessageBody
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback) id for email, load and check message body
+//==== LABEL Check if MessageStorage.findMessages and MessageStorage.loadMessageBody methods work properly
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MMINA
-setup({timeout:180000});
+setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_and_loadMessageBody", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
filter, findSuccess, i, loadMessageSuccess, loadMessageError;
<head>
<title>MessageStorage_email_findMessages_bcc_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageStorage_email_findMessages_bcc_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) bcc for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by bcc (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_bcc_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_cc_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: MessageStorage_email_findMessages_cc_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) cc for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by cc (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_cc_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_findMessages_folderId_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_folderId_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) folderId for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by folderId (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_folderId_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_from_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_from_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) from for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by from (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_from_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, sendSuccess, sendError, syncSuccess, syncError,
filter, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_hasAttachment_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_hasAttachment_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) hasAttachment for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by hasAttachment (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_hasAttachment_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_id_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_id_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) id for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by id (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_id_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_isHighPriority_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_isHighPriority_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isHighPriority for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by isHighPriority (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_isHighPriority_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_isRead_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_isRead_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isRead for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by isRead (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_isRead_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false, inboxMessageId,
sendSuccess, sendError, syncSuccess, syncError, findFoldersSuccess, findFoldersError,
findInboxMessageSuccess, findInboxMessageError, updateSuccess, updateError,
<head>
<title>MessageStorage_email_findMessages_plainBody_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_plainBody_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) plainBody for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by plainBody (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_plainBody_with_errorCallback", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, service, message, addDraftSuccess,
+ addDraftError, filter, findSuccess, findError, loadMessageBodySuccess, loadMessageBodyError;
t.step(function () {
- var serviceSuccess, serviceError, service, message,
- addDraftSuccess, addDraftError, filter, findSuccess, findError, loadMessageBodySuccess, loadMessageBodyError;
loadMessageBodySuccess = t.step_func(function (loadedMessage) {
assert_true(loadedMessage instanceof tizen.Message, "Not a Message");
<head>
<title>MessageStorage_email_findMessages_serviceId_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_serviceId_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) serviceId for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by serviceId (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_serviceId_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_timestamp_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_timestamp_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) timestamp for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by timestamp (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_timestamp_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError, timeRange = 180000;
<head>
<title>MessageStorage_email_findMessages_to_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_to_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) to for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by to (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_to_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_findMessages_type_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_findMessages_type_with_errorCallback
-//==== LABEL Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) type for email
+//==== LABEL Check if MessageStorage.findMessages method works properly for filter by type (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_findMessages_type_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, filter, messageFound = false,
addDraftSuccess, addDraftError, findSuccess, findError;
<head>
<title>MessageStorage_email_removeChangeListener_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_removeChangeListener_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_removeConversations_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_removeConversations_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_removeMessages_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_removeMessages_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_updateMessages</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages
-//==== LABEL Check if method updateMessages of MessageStorage (email) works properly.
+//==== LABEL Check if MessageStorage.updateMessages method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, messageStorage,
mutableMessage, constMessage,
plainBodyToSetForMutableMesage = MESSAGE_BODY_PLAIN + "_mutable",
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForMutableMesage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
service.messageStorage.addDraftMessage(mutableMessage, addDraftSuccess, addDraftError);
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForConstMessage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
constMessage.attachments = [
<head>
<title>MessageStorage_email_updateMessages_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_errorCallback_TypeMismatch
-//==== LABEL Check argument errorCallback conversions exception - updateMessages (email)
+//==== LABEL Check type conversions for errorCallback argument of MessageStorage.updateMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_errorCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, exceptionName,
updateSuccess, incorrectCallback, conversionTable, i;
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages([message], updateSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_updateMessages_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_errorCallback_invalid_cb
-//==== LABEL Check argument errorCallback validation - updateMessages (email)
+//==== LABEL Check if MessageStorage.updateMessages method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_errorCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError",
updateSuccess, incorrectCallback;
};
addDraftSuccess = t.step_func(function () {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages([message], updateSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_updateMessages_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA ME
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_exist", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError;
t.step(function () {
<head>
<title>MessageStorage_email_updateMessages_messages_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_messages_TypeMismatch
-//==== LABEL Check argument messages conversions exception - updateMessages (EMAIL)
+//==== LABEL Check type conversions for messages argument of MessageStorage.updateMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_messages_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, exceptionName, updateSuccess, updateError,
conversionTable, incorrectMessages, i;
for(i = 0; i < conversionTable.length; i++) {
incorrectMessages = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages(incorrectMessages, updateSuccess, updateError);
}, exceptionName + " should be thrown - given incorrect Message: " + incorrectMessages);
<head>
<title>MessageStorage_email_updateMessages_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_missarg
-//==== LABEL Check with missing non-optional argument - updateMessages (EMAIL)
+//==== LABEL Check with missing message argument - MessageStorage.updateMessages (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_missarg", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, exceptionName = "TypeMismatchError";
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages();
}, exceptionName + " should be thrown - missing argument.");
<head>
<title>MessageStorage_email_updateMessages_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_successCallback_TypeMismatch
-//==== LABEL Check argument successCallback conversions exception - updateMessages (email)
+//==== LABEL Check type conversions for successCallback argument of MessageStorage.updateMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_successCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
exceptionName, updateError, incorrectCallback, conversionTable, i;
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages([message], incorrectCallback, updateError);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_updateMessages_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_successCallback_invalid_cb
-//==== LABEL Check argument successCallback validation - updateMessages (email)
+//==== LABEL Check if MessageStorage.updateMessages method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_successCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message,
addDraftSuccess, addDraftError, exceptionName = "TypeMismatchError",
updateError, incorrectCallback;
};
addDraftSuccess = t.step_func(function () {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.updateMessages([message], incorrectCallback, updateError);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>MessageStorage_email_updateMessages_without_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_without_errorCallback
-//==== LABEL Check if method updateMessages of MessageStorage (email) works properly - without errorCallback
+//==== LABEL Check if MessageStorage.updateMessages method works properly without errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MOA MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_without_errorCallback", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000});
t.step(function () {
var serviceSuccess, serviceError, service,
mutableMessage, constMessage,
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForMutableMesage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
service.messageStorage.addDraftMessage(mutableMessage, addDraftSuccess, addDraftError);
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForConstMessage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
constMessage.attachments = [
<head>
<title>MessageStorage_email_updateMessages_without_successCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_email_updateMessages_without_successCallback
-//==== LABEL Check if method updateMessages of MessageStorage (email) works properly - without successCallback
+//==== LABEL Check if MessageStorage.updateMessages method works properly without successCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:updateMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MR MMINA
setup({timeout: 180000});
-var t = async_test("MessageStorage_email_updateMessages_without_successCallback", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, service, mutableMessage,
+ constMessage, plainBodyToSetForMutableMesage = MESSAGE_BODY_PLAIN + "_mutable", plainBodyToSetForConstMessage = MESSAGE_BODY_PLAIN + "_const",
+ addDraftSuccess, addDraftError, addDraftSuccessCounter = 0, returnedValue;
t.step(function () {
- var serviceSuccess, serviceError, service,
- mutableMessage, constMessage,
- plainBodyToSetForMutableMesage = MESSAGE_BODY_PLAIN + "_mutable",
- plainBodyToSetForConstMessage = MESSAGE_BODY_PLAIN + "_const",
- addDraftSuccess, addDraftError, addDraftSuccessCounter = 0, returnedValue;
addDraftSuccess = t.step_func(function () {
addDraftSuccessCounter++;
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForMutableMesage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
service.messageStorage.addDraftMessage(mutableMessage, addDraftSuccess, addDraftError);
to: [TEST_EMAIL_RECIPIENT_2],
plainBody: plainBodyToSetForConstMessage,
htmlBody: MESSAGE_BODY_HTML,
- isHighPriority : false
+ isHighPriority: false
});
constMessage.attachments = [
<head>
<title>MessageStorage_findFolders</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders
//==== PRIORITY P2
-//==== LABEL Check if function executes properly when all mandatory arguments given
+//==== LABEL Check if MessageStorage.findFolders method works properly
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, filter, foldersSuccess, returnedValue = null;
t.step(function () {
<head>
<title>MessageStorage_findFolders_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_errorCallback_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check if exception is thrown when incorrect error callback given
+//==== LABEL Check type conversions for errorCallback argument of MessageStorage.findFolders method
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_errorCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, foldersSuccess, foldersError,
exceptionName, conversionTable, filter;
exceptionName = conversionTable[i][1];
assert_throws(
- {name : exceptionName},
+ {name: exceptionName},
function () {
service.messageStorage.findFolders(filter, foldersSuccess, foldersError);
},
<head>
<title>MessageStorage_findFolders_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_errorCallback_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument error callback validation
+//==== LABEL Check if MessageStorage.findFolders method throws exception when errorCallback is invalid
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_errorCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, findSuccess, filter;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
- assert_throws({name: TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.findFolders(filter, findSuccess, incorrectCallback);
},
<head>
<title>MessageStorage_findFolders_filter_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_filter_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check if exception is thrown when incorrect filter given
+//==== LABEL Check type conversions for filter argument of MessageStorage.findFolders method
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_filter_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, foldersSuccess, exceptionName, conversionTable, filter;
t.step(function () {
filter = conversionTable[i][0];
exceptionName = conversionTable[i][1];
assert_throws(
- {name : exceptionName},
+ {name: exceptionName},
function () {
service.messageStorage.findFolders(filter, foldersSuccess);
},
<head>
<title>MessageStorage_findFolders_filter_serviceId</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_filter_serviceId
-//==== LABEL check whether 'findFolders' method properly retrieves folders matching the supplied filter from MessageStorage
+//==== LABEL Check if MessageStorage.findFolders works properly for filter by serviceId
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_filter_serviceId", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, serviceIdFilter, returnedValue = null, findFoldersError, findFoldersSuccess;
t.step(function () {
<head>
<title>MessageStorage_findFolders_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_missarg
//==== PRIORITY P2
-//==== LABEL Check if exception is thrown when mandatory arguments not given
+//==== LABEL Check with missing non-optional argument - MessageStorage.findFolders
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_missarg", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, filter;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
- assert_throws({name: TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.findFolders();
},
filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
- assert_throws({name: TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.findFolders(filter);
},
<head>
<title>MessageStorage_findFolders_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: MessageStorage_findFolders_successCallback_TypeMismatch
//==== PRIORITY P2
-//==== LABEL Check if exception is thrown when incorrect success callback given
+//==== LABEL Check type conversions for successCallback argument of MessageStorage.findFolders method
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var this_test = async_test("MessageStorage_findFolders_successCallback_TypeMismatch", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, msgService, foldersSuccess,
+ exceptionName, conversionTable, filter;
-this_test.step(function () {
- var serviceSuccess, serviceError, msgService, foldersSuccess, exceptionName,
- conversionTable, filter;
+t.step(function () {
- serviceError = this_test.step_func(function (error) {
+ serviceError = t.step_func(function (error) {
assert_unreached("Failed to get MessageServices: " + error.message);
});
- serviceSuccess = this_test.step_func(function (services) {
+ serviceSuccess = t.step_func(function (services) {
assert_true(services.length > 0, "No message service received.");
msgService = services[0];
filter = new tizen.AttributeFilter("serviceId", "EXACTLY", msgService.id);
exceptionName = conversionTable[i][1];
assert_throws(
- {name : exceptionName},
+ {name: exceptionName},
function () {
msgService.messageStorage.findFolders(filter, foldersSuccess);
},
);
}
- this_test.done();
+ t.done();
});
tizen.messaging.getMessageServices("messaging.email", serviceSuccess, serviceError);
<head>
<title>MessageStorage_findFolders_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_successCallback_invalid_cb
//==== PRIORITY P2
-//==== LABEL Check argument success callback validation
+//==== LABEL Check if MessageStorage.findFolders method throws exception when successCallback is invalid (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_successCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, filter, incorrectCallback;
t.step(function () {
serviceSuccess = t.step_func(function (service) {
filter = new tizen.AttributeFilter("serviceId", "EXACTLY", service.id);
- assert_throws({name: TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.findFolders(filter, incorrectCallback);
},
<head>
<title>MessageStorage_findFolders_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script>
//==== TEST: MessageStorage_findFolders_with_errorCallback
//==== PRIORITY P2
-//==== LABEL Check if function executes properly when all mandatory and optional arguments given
+//==== LABEL Check if MessageStorage.findFolders method works properly with errorCallback argument
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findFolders M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_findFolders_with_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, msgService, filter, foldersError, foldersSuccess,
returnedValue = null;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_findMessage_emailFilterWithoutErrorCb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: MessageStorage_findMessage_emailFilterWithoutErrorCb
-//==== LABEL check the function of findMessage in MessageStorage by emailFilterWithoutErrorCb
+//==== LABEL Check if MessageStorage.findMessages method works properly without errorCallback argument (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:findMessages M
//==== TEST_CRITERIA MR MMINA
setup({timeout: 180000});
-var t = async_test("MessageStorage_findMessage_emailFilterWithoutErrorCb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceError, serviceSuccess, service, message, returnedValue = null,
addDraftSuccess, addDraftError, filter, findSuccess;
<head>
<title>MessageStorage_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessageStorage");
-}, "MessageStorage_notexist");
-// Check if interface MessageStorage exists, it should not.
+}, document.title);
</script>
</body>
<html>
<head>
<title>MessageStorage_removeChangeListener</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: MessageStorage_removeChangeListener
-//==== LABEL: Check if removeChangeListener method with non-optional argument works
+//==== LABEL Check if MessageStorage.removeChangeListener method works properly
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMINA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeChangeListener", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message1, message2, listenerId,
addDraftSuccess, addDraftError, messageChangeCallback, returnedValue = null;
});
messageChangeCallback = {
- messagesadded : t.step_func(function (addedMessages) {
+ messagesadded: t.step_func(function (addedMessages) {
assert_type(addedMessages, "array", "Not an array");
assert_greater_than(addedMessages.length, 0, "Received empty messages array");
<html>
<head>
<title>MessageStorage_removeConversations</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations
-//==== LABEL: Check if removeConversations method with non-optional argument works
+//==== LABEL Check if MessageStorage.removeConversations method works properly
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations", {timeout: 180000}), returnedValue = null;
+var t = async_test(document.title, {timeout: 180000}), returnedValue = null;
message_conversation_test(t, function (service, message, conversation) {
returnedValue = service.messageStorage.removeConversations([conversation]);
<html>
<head>
<title>MessageStorage_removeConversations_conversations_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_conversations_TypeMismatch
-//==== LABEL: Check argument conversations conversions exception for setListener method.
+//==== LABEL Check type conversions for conversations argument of MessageStorage.removeConversations method
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_conversations_TypeMismatch", {timeout: 180000}), conversionTable;
+var t = async_test(document.title, {timeout: 180000}), conversionTable;
message_conversation_test(t, function (service, message, conversation) {
conversionTable = getTypeConversionExceptions("array", false);
conversations = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.messageStorage.removeConversations(conversations);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
<html>
<head>
<title>MessageStorage_removeConversations_errorCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_errorCallback_TypeMismatch
-//==== LABEL: Check argument errorCallback conversions exception for removeConversations method.
+//==== LABEL Check type conversions for errorCallback argument of MessageStorage.removeConversations method
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_errorCallback_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
conversionTable, successCallback, incorrectErrorCallback, exceptionName;
message_conversation_test(t, function (service, message, conversation) {
incorrectErrorCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.messageStorage.removeConversations([conversation], successCallback, incorrectErrorCallback);
}, exceptionName + " should be thrown - given incorrect error callback.");
}
<html>
<head>
<title>MessageStorage_removeConversations_errorCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_errorCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not for errorCallback callback in removeConversations method.
+//==== LABEL Check if MessageStorage.removeConversations method throws exception when errorCallback is invalid
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
-setup({timeout:180000});
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_errorCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
successCallback, errorCallback;
message_conversation_test(t, function (service, message, conversation) {
})
};
- assert_throws({name : "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.messageStorage.removeConversations([conversation], successCallback, errorCallback);
}, "TypeMismatchError should be thrown - given incorrect error callback.");
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_removeConversations_foremail</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<body>
//==== TEST: MessageStorage_removeConversations_foremail
//==== PRIORITY P2
-//==== LABEL Check if removeConversations works properly for email
+//==== LABEL Check if MessageStorage.removeConversations method works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA
setup({timeout: 180000});
-var t =async_test("MessageStorage_removeConversations_foremail", {timeout: 180000}), returnedValue;
+var t =async_test(document.title, {timeout: 180000}), returnedValue;
message_conversation_test(t, function (service, message, conversation) {
returnedValue = service.messageStorage.removeConversations([conversation]);
<html>
<head>
<title>MessageStorage_removeConversations_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_missarg
-//==== LABEL: Check if removeConversations of MessageStorage with missing non-optional argument works
+//==== LABEL Check with missing non-optional argument - MessageStorage.removeConversations
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMA
-setup({timeout:180000});
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_missarg", {timeout: 180000});
+var t = async_test(document.title, {timeout: 180000});
message_conversation_test(t, function (service, message, conversation) {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
service.messageStorage.removeConversations();
});
<html>
<head>
<title>MessageStorage_removeConversations_successCallback_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_successCallback_TypeMismatch
-//==== LABEL: Check argument successCallback conversions exception for removeConversations method.
+//==== LABEL Check type conversions for successCallback argument of MessageStorage.removeConversations method
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
-setup({timeout:180000});
-var t = async_test("MessageStorage_removeConversations_successCallback_TypeMismatch", {timeout: 180000}),
+setup({timeout: 180000});
+var t = async_test(document.title, {timeout: 180000}),
conversionTable, incorrectCallback, exceptionName;
message_conversation_test(t, function (service, message, conversation) {
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.messageStorage.removeConversations([conversation], incorrectCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
<html>
<head>
<title>MessageStorage_removeConversations_successCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_successCallback_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not for successCallback callback in removeConversations method.
+//==== LABEL Check if MessageStorage.removeConversations method throws exception when successCallback is invalid
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
-setup({timeout:180000});
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_successCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
incorrectSuccessCallback, exceptionName = "TypeMismatchError";
message_conversation_test(t, function (service, message, conversation) {
})
};
- assert_throws({name : exceptionName}, function () {
+ assert_throws({name: exceptionName}, function () {
service.messageStorage.removeConversations([conversation], incorrectSuccessCallback);
}, exceptionName + " should be thrown - given incorrect successCallback.");
<html>
<head>
<title>MessageStorage_removeConversations_with_errorCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_with_errorCallback
-//==== LABEL: Check if removeConversations method with optional errorCallback argument works
+//==== LABEL Check if MessageStorage.removeConversations method works properly with errorCallback argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_with_errorCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
removeSuccess, removeError, returnedValue = null, findFilter, findSuccessAfterRemove, findErrorAfterRemove;
message_conversation_test(t, function (service, message, conversation) {
<html>
<head>
<title>MessageStorage_removeConversations_with_successCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeConversations_with_successCallback
-//==== LABEL: Check if removeConversations method with optional successCallback argument works
+//==== LABEL Check if MessageStorage.removeConversations method works properly with successCallback argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:Communication:Messaging:MessageStorage:removeConversations M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeConversations_with_successCallback", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
removeSuccess, returnedValue = null;
message_conversation_test(t, function (service, message, conversation) {
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>MessageStorage_removeMessage_emailwithouterrcb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: MessageStorage_removeMessage_emailwithouterrcb
-//==== LABEL check the function of removeMessage in MessageStorage by emailwithouterrcb
+//==== LABEL Check if MessageStorage.removeMessages method works properly without errorCallback
//==== PRIORITY P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MOA
-setup({ timeout: 180000 });
+setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessage_emailwithouterrcb", { timeout: 180000 }),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError, filter,
findSuccess, findError, removeSuccess;
<head>
<title>MessageStorage_removeMessages_email</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email
-//==== LABEL Check with non-optional arguments loadMessageBody(valid_message)
+//==== LABEL Check if MessageStorage.removeMessages method works properly without non-optional arguments (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMINA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, returnedValue = null,
addDraftSuccess, addDraftError;
<head>
<title>MessageStorage_removeMessages_email_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_errorCallback_TypeMismatch
-//==== LABEL Check argument errorCallback conversions exception
+//==== LABEL Check type conversions for errorCallback argument of MessageStorage.removeMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_errorCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
successCallback, conversionTable, param, exceptionName, i;
param = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.removeMessages([message], successCallback, param);
}, exceptionName + " should be thrown - given incorrect.");
<head>
<title>MessageStorage_removeMessages_email_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_errorCallback_invalid_cb
-//==== LABEL Check argument errorCallback validation - use {onerror: function (){}}
+//==== LABEL Check if MessageStorage.removeMessages method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_errorCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
successCallback, exceptionName = "TypeMismatchError", incorrectCallback;
};
addDraftSuccess = t.step_func(function () {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.removeMessages([message], successCallback, incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ }, exceptionName + " should be thrown - given incorrect success callback.");
t.done();
});
<head>
<title>MessageStorage_removeMessages_email_messages_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_messages_TypeMismatch
-//==== LABEL Check argument MessageStorage_removeMessages_email messages conversions exception
+//==== LABEL Check type conversions for messages argument of MessageStorage.removeMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_messages_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
conversionTable, param, exceptionName, i;
param = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.removeMessages(param);
}, exceptionName + " should be thrown - given incorrect.");
<head>
<title>MessageStorage_removeMessages_email_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_missarg
-//==== LABEL Check with MessageStorage_removeMessages_email missing non-optional argument
+//==== LABEL Check with missing non-optional argument - MessageStorage.removeMessages (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MMA
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_missarg", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError;
t.step(function () {
addDraftSuccess = t.step_func(function () {
- assert_throws({name : "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
service.messageStorage.removeMessages();
- },"TypeMismatchError" + " should be thrown - given incorrect success callback.");
+ }, "TypeMismatchError" + " should be thrown - given incorrect success callback.");
t.done();
});
<head>
<title>MessageStorage_removeMessages_email_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_successCallback_TypeMismatch
-//==== LABEL Check argument MessageStorage_removeMessages_email successCallback conversions exception
+//==== LABEL Check type conversions for successCallback argument of MessageStorage.removeMessages method (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_successCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
conversionTable, param, exceptionName, i;
param = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.removeMessages([message], param);
}, exceptionName + " should be thrown - given incorrect.");
<head>
<title>MessageStorage_removeMessages_email_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_successCallback_invalid_cb
-//==== LABEL Check argument successCallbac validation - use {onerror: function (){}}
+//==== LABEL Check if MessageStorage.removeMessages method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_successCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, addDraftSuccess, addDraftError,
successCallback, exceptionName = "TypeMismatchError", incorrectCallback;
};
addDraftSuccess = t.step_func(function () {
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
service.messageStorage.removeMessages([message], incorrectCallback);
- },exceptionName + " should be thrown - given incorrect success callback.");
+ }, exceptionName + " should be thrown - given incorrect success callback.");
t.done();
});
<head>
<title>MessageStorage_removeMessages_email_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_with_errorCallback
-//==== LABEL Check with optional arguments removeMessages(valid_messages, valid_successCallback, valid_errorCallback)
+//==== LABEL Check if MessageStorage.removeMessages method works properly with errorCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA MR MAST
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_with_errorCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, returnedValue = null,
addDraftSuccess, addDraftError, removeError, removeSuccess,
filter, findSuccess, findError, addedMessageId;
<head>
<title>MessageStorage_removeMessages_email_with_successCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: MessageStorage_removeMessages_email_with_successCallback
-//==== LABEL Check with optional arguments removeMessages(valid_messages, valid_successCallback)
+//==== LABEL Check if MessageStorage.removeMessages method works properly with successCallback argument (email)
//==== SPEC Tizen Web API:Communication:Messaging:MessageStorage:removeMessages M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== ONLOAD_DELAY 180
//==== TEST_CRITERIA MOA MR
setup({timeout: 180000});
-var t = async_test("MessageStorage_removeMessages_email_with_successCallback", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, message, returnedValue = null,
addDraftSuccess, addDraftError, removeSuccess, filter, findSuccess, findError, addedMessageId;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<head>
<title>Message_addUpdateRemove</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Message_addUpdateRemove
-//==== LABEL Add a draft message and update it, and then remove it
+//==== LABEL Check: Add a draft message and update it, and then remove it
//==== PRIORITY P3
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("Message_addUpdateRemove", {timeout:180000}), service, message, msgs,
+var t = async_test(document.title, {timeout: 180000}), service, message, msgs,
serviceSuccess, serviceError, addDraftSuccess, addDraftError,
findSuccess, findError, updateSuccess, updateError, removeSuccess, removeError;
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
Mariusz Polasinski <m.polasinski@samsung.com>
-->
<head>
<title>Message_attachments_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Message_attachments_exist
-//==== LABEL check if the attribute attachments in Message
+//==== LABEL Check if the attribute attachments in Message
//==== SPEC Tizen Web API:Communication:Messaging:Message:attachments A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA AE
var msg;
msg = new tizen.Message("messaging.email");
assert_true("attachments" in msg, "attachments attribute not found");
-});
+}, document.title);
</script>
</body>
<head>
<title>Message_email_attachments_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_equals(message.attachments[0].filePath, MESSAGE_ATTACHMENT_IMAGE_PATH, "'attachments' should accept a valid value (file path mismatch)");
check_invalid_array_assignments(message, "attachments", false);
-}, "Message_email_attachments_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_bcc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_array_equals(message.bcc, [TEST_EMAIL_RECIPIENT_1], "'bcc' should accept a valid value");
check_invalid_array_assignments(message, "bcc", false);
-}, "Message_email_bcc_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_body_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_array_equals(message.body.inlineAttachments, sampleBody.inlineAttachments,
"'messageId' modified after setting the object to " + invalidArgs[i]);
}
-}, "Message_email_body_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_cc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_array_equals(message.cc, [TEST_EMAIL_RECIPIENT_1], "'cc' should accept a valid value");
check_invalid_array_assignments(message, "cc", false);
-}, "Message_email_cc_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_constructor</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Message_email_constructor
-//==== LABEL check new tizen.Message(MessageServiceTag type, MessageInit messageInitDict?) works for email (is supported)
+//==== LABEL Check if Message's constructor works properly (email)
//==== SPEC Tizen Web API:Communication:Messaging:Message:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRA CONSTRM
assert_equals(message.timestamp, null, "Timestamp should be null for messages not sent nor received");
assert_array_equals(message.to, messageInitDict.to, "wrong 'to' value");
assert_equals(message.type, "messaging.email", "'type' should be 'messaging.email'");
-}, "Message_email_constructor");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_constructor_messageInitDict_function</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: Message_email_constructor_messageInitDict_function
-//==== LABEL check if Message_email_constructor_messageInitDict_function
+//==== LABEL Check if Message's constructor works properly with function (email)
//==== SPEC Tizen Web API:Communication:Messaging:Message:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRM
assert_true(message instanceof tizen.Message, "InstanceOf.");
-}, "Message_email_constructor_messageInitDict_function");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_constructor_messageInitDict_object</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: Message_email_constructor_messageInitDict_object
-//==== LABEL check if Message_email_constructor_messageInitDict_object
+//==== LABEL Check if Message's constructor works properly with empty object (email)
//==== SPEC Tizen Web API:Communication:Messaging:Message:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRM
assert_true(message instanceof tizen.Message, "InstanceOf.");
-}, "Message_email_constructor_messageInitDict_object");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_constructor_minargs</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Message_email_constructor_minargs
-//==== LABEL check if Message_email_constructor_minargs
+//==== LABEL Check if Message's constructor works properly with minimum arguments (email)
//==== SPEC Tizen Web API:Communication:Messaging:Message:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA CONSTRM CONSTRA
assert_equals(message.timestamp, null, "Timestamp should be null for messages not sent nor received");
assert_array_equals(message.to, [], "'to' should be [] by default");
assert_equals(message.type, "messaging.email", "'type' should be 'messaging.email'");
-}, "Message_email_constructor_minargs");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_conversationId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ADV ARO AT
setup({timeout: 180000});
-var t = async_test("Message_email_conversationId_attribute", {timeout: 180000}), message,
+var t = async_test(document.title, {timeout: 180000}), message,
serviceSuccess, serviceError, addDraftSuccess, addDraftError;
t.step(function () {
<head>
<title>Message_email_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
var message = new tizen.Message("messaging.email");
check_extensibility(message);
-}, "Message_email_extend");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_folderId_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ADV ARO AT
setup({timeout: 180000});
-var t = async_test("Message_email_folderId_attribute", {timeout: 180000}), message,
+var t = async_test(document.title, {timeout: 180000}), message,
serviceError, serviceSuccess, messageService, addDraftError, addDraftSuccess;
t.step(function () {
<head>
<title>Message_email_from_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ADV ARO AT
setup({timeout: 180000});
-var t = async_test("Message_email_from_attribute", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
message, service, serviceSuccess, serviceError, sendSuccess, sendError,
syncSuccess, syncError, findFoldersError, findFoldersSuccess,
findMessageError, findMessageSuccess, foundMessage, inboxFolder;
<head>
<title>Message_email_hasAttachment_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_true("hasAttachment" in message, "No 'hasAttachment' attribute in message");
assert_equals(message.hasAttachment, false, "'hasAttachment' should be false by default");
check_readonly(message, "hasAttachment", message.hasAttachment, "boolean", !message.hasAttachment);
-}, "Message_email_hasAttachment_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_id_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ADV ARO AT
setup({timeout: 180000});
-var t = async_test("Message_email_id_attribute", {timeout: 180000}), message,
+var t = async_test(document.title, {timeout: 180000}), message,
serviceError, serviceSuccess, addDraftSuccess, addDraftError;
t.step(function () {
<head>
<title>Message_email_inResponseTo_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
check_readonly(message, "inResponseTo", message.inResponseTo, "string", message.inResponseTo + "dummyValue");
-}, "Message_email_inResponseTo_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_isHighPriority_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
message.isHighPriority = null;
assert_equals(message.isHighPriority, false, "null should be converted to false");
-}, "Message_email_isHighPriority_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_isRead_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
message.isRead = null;
assert_equals(message.isRead, false, "null should be converted to false");
-}, "Message_email_isRead_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_messageStatus_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_true("messageStatus" in message, "No 'messageStatus' attribute in message");
check_readonly(message, "messageStatus", message.messageStatus, "string", message.messageStatus + "dummyValue");
assert_equals(message.messageStatus, "", "Default value should be \"\"");
-}, "Message_email_messageStatus_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_subject_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
message.subject = "sampleValue";
assert_equals(message.subject, "sampleValue", "'subject' should accept a valid value");
-}, "Message_email_subject_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_timestamp_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA AE ADV ARO AT
setup({timeout: 180000});
-var t = async_test("Message_email_timestamp_attribute", {timeout: 180000}), message, serviceError,
+var t = async_test(document.title, {timeout: 180000}), message, serviceError,
serviceSuccess, messageService, addDraftError, addDraftSuccess, oldDate;
t.step(function () {
<head>
<title>Message_email_to_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_array_equals(message.to, [TEST_EMAIL_RECIPIENT_1], "'to' should not accept null as value");
check_invalid_array_assignments(message, "to", false);
-}, "Message_email_to_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_email_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
assert_true("type" in message, "No 'type' attribute in message");
assert_equals(message.type, "messaging.email", "'type' should be 'messaging.email'");
check_readonly(message, "type", message.type, "string", message.type + "dummyValue");
-}, "Message_email_type_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Message_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_constructor("Message");
-}, "Message_exist");
-// Check if Message exists
+}, document.title);
</script>
</body>
Authors:
Li, Li <li.l.li@intel.com>
Zoe, Zou <zoex.zou@intel.com>
- Ma,YueX <yuex.ma@intel.com>
+ Ma, YueX <yuex.ma@intel.com>
-->
<html>
<head>
<title>Message_hasAttachment_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<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 type="text/javascript">
//==== TEST: Message_hasAttachment_exist
-//==== LABEL check if attribute hasAttachment in Message
+//==== LABEL Check if attribute hasAttachment in Message
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:Message:hasAttachment A
//==== TEST_CRITERIA AE
setup({timeout: 180000});
-var t = async_test("Message_hasAttachment_exist", {timeout: 180000}), serviceSuccess, serviceError, msg;
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, msg;
t.step(function () {
serviceError = t.step_func(function (error) {
<head>
<title>MessagesChangeCallback_email_messagesadded_with_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesadded_with_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, watcherId, filter,
matchMessage, mismatchMessage, changeCallback, addDraftError;
<head>
<title>MessagesChangeCallback_email_messagesadded_without_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesadded_without_filter", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, service, watcherId, currentDate = new Date(),
+ subjectToSet = currentDate.getTime().toString(), message, changeCallback, addDraftError;
t.step(function () {
- var serviceSuccess, serviceError, service, watcherId,
- currentDate = new Date(), subjectToSet = currentDate.getTime().toString(),
- message, changeCallback, addDraftError;
add_result_callback(function (res) {
try {
<head>
<title>MessagesChangeCallback_email_messagesremoved_with_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesremoved_with_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, watcherId, filter, matchMessage, mismatchMessage,
changeCallback, addDraftError, addDraftSuccess, addDraftSuccessCounter = 0, removeError;
<head>
<title>MessagesChangeCallback_email_messagesremoved_without_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesremoved_without_filter", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, messageService, messageStorage,
+ watcherId, message, changeCallback, addDraftSuccess, addDraftError, removeError;
t.step(function () {
- var serviceSuccess, serviceError, messageService, messageStorage, watcherId,
- message, changeCallback, addDraftSuccess, addDraftError, removeError;
add_result_callback(function (res) {
try {
<head>
<title>MessagesChangeCallback_email_messagesupdated_with_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TEST_CRITERIA CBOA CBT
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesupdated_with_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, watcherId, filter,
matchMessage, mismatchMessage, changeCallback,
addDraftError, addDraftSuccess, addDraftSuccessCounter = 0, updateError;
<head>
<title>MessagesChangeCallback_email_messagesupdated_without_filter</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
//==== TIMEOUT 180
//==== TEST_CRITERIA CBT CBOA
setup({timeout: 180000});
-var t = async_test("MessagesChangeCallback_email_messagesupdated_without_filter", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, service, watcherId, message,
changeCallback, addDraftSuccess, addDraftError, updateError, i;
<head>
<title>MessagesChangeCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("MessagesChangeCallback");
-}, "MessagesChangeCallback_notexist");
-// Check if interface MessagesChangeCallback exists, it should not.
+}, document.title);
</script>
</body>
<head>
<title>Messaging_email_getMessageServices</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices
-//==== LABEL Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback) for email
+//==== LABEL Check if getMessageServices works properly (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:Messaging:getMessageServices M
//==== TEST_CRITERIA MR MMINA
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, i, returnedValue = null;
t.step(function () {
<head>
<title>Messaging_email_getMessageServices_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices_errorCallback_TypeMismatch
-//==== LABEL Check getMessageServices argument errorCallback conversions exception for email
+//==== LABEL Check type conversions for errorCallback argument of Messaging.getMessageServices method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices_errorCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
exceptionName, serviceSuccess, i, incorrectCallback, conversionTable;
t.step(function () {
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.messaging.getMessageServices("messaging.email", serviceSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect error callback - " + incorrectCallback);
<head>
<title>Messaging_email_getMessageServices_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices_errorCallback_invalid_cb
-//==== LABEL Check if getMessageServices (email) throws exception when errorCallback is invalid
+//==== LABEL Check if Messaging.getMessageServices method throws exception when errorCallback is invalid (email)
//==== PRIORITY: P2
//==== SPEC Tizen Web API:Communication:Messaging:Messaging:getMessageServices M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TIMEOUT 180
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices_errorCallback_invalid_cb", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
exceptionName = "TypeMismatchError", serviceSuccess, incorrectCallback;
t.step(function () {
assert_unreached("getMessageServices() success callback invoked.");
});
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.messaging.getMessageServices("messaging.email", serviceSuccess, incorrectCallback);
}, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
<head>
<title>Messaging_email_getMessageServices_successCallback_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices_successCallback_TypeMismatch
-//==== LABEL Check getMessageServices argument successCallback conversions exception for email
+//==== LABEL Check type conversions for successCallback argument of Messaging.getMessageServices method (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices_successCallback_TypeMismatch", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
exceptionName, serviceError, i, incorrectCallback, conversionTable;
t.step(function () {
incorrectCallback = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.messaging.getMessageServices("messaging.email", incorrectCallback, serviceError);
}, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
<head>
<title>Messaging_email_getMessageServices_successCallback_invalid_cb</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices_successCallback_invalid_cb
-//==== LABEL Check if getMessageServices (email) throws exception when successCallback is invalid
+//==== LABEL Check if Messaging.getMessageServices method throws exception when successCallback is invalid (email)
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MTCB
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices_successCallback_invalid_cb", {timeout:180000}),
+var t = async_test(document.title, {timeout: 180000}),
exceptionName = "TypeMismatchError", serviceError, incorrectCallback;
t.step(function () {
assert_unreached("getMessageServices() error callback: name:" + error.name + ", msg:" + error.message);
});
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.messaging.getMessageServices("messaging.email", incorrectCallback, serviceError);
}, exceptionName + " should be thrown - given incorrect success callback - " + incorrectCallback);
<head>
<title>Messaging_email_getMessageServices_with_errorCallback</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_email_getMessageServices_with_errorCallback
-//==== LABEL Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback, valid_errorCallback) for email
+//==== LABEL Check if getMessageServices works properly with all arguments (email)
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== SPEC Tizen Web API:Communication:Messaging:Messaging:getMessageServices M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MR MOA
setup({timeout: 180000});
-var t = async_test("Messaging_email_getMessageServices_with_errorCallback", {timeout:180000});
+var t = async_test(document.title, {timeout: 180000}), serviceSuccess, serviceError, i, returnedValue = null;
t.step(function () {
- var serviceSuccess, serviceError, i, returnedValue = null;
serviceSuccess = t.step_func(function (services) {
assert_equals(returnedValue, undefined, "Incorrect returned value.");
<head>
<title>Messaging_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Messaging_extend
-//==== LABEL check if Messaging is extendable
+//==== LABEL Check if Messaging is extendable
//==== PRIORITY P3
//==== SPEC Tizen Web API:Communication:Messaging:Messaging:Messaging U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
test(function () {
check_extensibility(tizen.messaging);
-}, "Messaging_extend");
+}, document.title);
</script>
</body>
<head>
<title>Messaging_getMessageServices_exist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
assert_true("getMessageServices" in tizen.messaging, "No getMessageServices method in messaging");
check_method_exists(tizen.messaging, "getMessageServices");
-}, "Messaging_getMessageServices_exist");
+}, document.title);
</script>
</body>
<head>
<title>Messaging_getMessageServices_messageServiceType_TypeMismatch</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_getMessageServices_messageServiceType_TypeMismatch
-//==== LABEL Check getMessageServices argument messageServiceType conversions exception
+//==== LABEL Check type conversions for messageServiceType argument of Messaging.getMessageServices method
//==== PRIORITY: P2
//==== ONLOAD_DELAY 180
//==== TIMEOUT 180
//==== TEST_CRITERIA MC
setup({timeout: 180000});
-var t = async_test("Messaging_getMessageServices_messageServiceType_TypeMismatch", {timeout: 180000}),
+var t = async_test(document.title, {timeout: 180000}),
serviceSuccess, serviceError, conversionTable, i, invalidType, exceptionName;
t.step(function () {
<head>
<title>Messaging_getMessageServices_missarg</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: Messaging_getMessageServices_missarg
-//==== LABEL Check getMessageServices with missing non-optional argument.
+//==== LABEL Check with missing non-optional argument - Messaging.getMessageServices
//==== SPEC Tizen Web API:Communication:Messaging:Messaging:getMessageServices M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/messaging.html
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name : TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.messaging.getMessageServices();
}, TYPE_MISMATCH_ERR + " should be thrown - missing argument");
-}, "Messaging_getMessageServices_missarg");
+}, document.title);
</script>
</body>
<head>
<title>Messaging_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/messaging_common.js"></script>
</head>
test(function () {
check_no_interface_object("Messaging");
-}, "Messaging_notexist");
+}, document.title);
</script>
</body>
--- /dev/null
+/*
+
+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:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
+++ /dev/null
-/*
-
-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:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [null, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
</spec>
</specs>
</testcase>
- <testcase purpose="check new tizen.MessageAttachment(String filePath, String mimeType?) works (is supported)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageAttachment_constructor">
+ <testcase purpose="Check if MessageAttachment's constructor works" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageAttachment_constructor">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageAttachment_constructor.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check new tizen.MessageAttachment(String filePath) works (is supported)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageAttachment_constructor_minargs">
+ <testcase purpose="Check if MessageAttachment's constructor works with minimum arguments" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageAttachment_constructor_minargs">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageAttachment_constructor_minargs.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the attribute contentType in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_contentType_exist">
+ <testcase purpose="Check if the attribute contentType in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_contentType_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_contentType_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the attribute id in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_id_exist">
+ <testcase purpose="Check if the attribute id in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_id_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_id_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the attribute path in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_path_exist">
+ <testcase purpose="Check if the attribute path in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_path_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_path_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the attribute type in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_type_exist">
+ <testcase purpose="Check if the attribute type in MessageFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageFolder_type_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_type_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageService.loadMessageAttachment method with optional arguments (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument attachment conversions exception - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_attachment_TypeMismatch">
+ <testcase purpose="Check type conversions for attachment argument of MessageService.loadMessageAttachment method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_attachment_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_attachment_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument attachment validation - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_attachment_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when attachment is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_attachment_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_attachment_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.loadMessageAttachment method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback validation - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.loadMessageAttachment method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback validation - loadMessageAttachment, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageAttachment_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageService.loadMessageAttachment method with non-optional arguments (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment_without_errorCallback">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method loadMessageBody of MessageService (email) works with only non-optional arguments" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody">
+ <testcase purpose="Check if MessageService.loadMessageBody method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check loadMessageBody of MessageService (email) errorCallback TypeMismatch" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.loadMessageBody method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method loadMessageBody (email) throws exception with invalid errorCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageBody method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - loadMessageBody, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.loadMessageBody (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method loadMessageBody without message attribute throws exception (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_missarg_message">
+ <testcase purpose="Check with missing message argument - MessageService.loadMessageBody (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_missarg_message">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_missarg_message.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method loadMessageBodys successCallback conversions exception (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.loadMessageBody method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method loadMessageBodys successCallback invalid callback (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageBody method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_loadMessageBody_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method loadMessageBody of MessageService (email) works with all proper all arguments" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_with_errorCallback">
+ <testcase purpose="Check if MessageService.loadMessageBody method works properly with errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageBody_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Proper invocation with arguments - check if sendMessage (email) does what it should." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage">
+ <testcase purpose="Check if MessageService.sendMessage method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback (email) conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.sendMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument MessageService.sendMessage (email) errorCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check message (email) argument conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_message_TypeMismatch">
+ <testcase purpose="Check type conversions for message argument of MessageService.sendMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_message_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_message_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageService.sendMessage (email) argument message validation - use simple object" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_message_invalid_obj">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when message is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_message_invalid_obj">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_message_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageService.sendMessage (email) with missing non-optional argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.sendMessage (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback (email) conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.sendMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument MessageService.sendMessage (email) successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_email_sendMessage_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check without optional argument sendMessage(valid_message, valid_successCallback) (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_without_errorCallback">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check without optional argument sendMessage(valid_message) (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_without_successCallback">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without successCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_sendMessage_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_without_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'sendMessage' method properly sends the specified message with BCC set" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_emailWithBcc">
+ <testcase purpose="Check if MessageService.sendMessage method works properly with bcc (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_emailWithBcc">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_emailWithBcc.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="sendMessage, email: valid value to priority property with mandatory attribute" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_emailWithPriority">
+ <testcase purpose="Check if MessageService.sendMessage method works properly with highPriority (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_emailWithPriority">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_emailWithPriority.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageService.sendMessage (emailMessage)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_email_without_callbacks">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without callbacks (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sendMessage_email_without_callbacks">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_email_without_callbacks.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if sync method with non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync">
+ <testcase purpose="Check if MessageService.sync method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if syncFolder method with non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder">
+ <testcase purpose="Check if MessageService.syncFolder method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for syncFolder method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.syncFolder method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in syncFolder method errorCallback callback." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.syncFolder method throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument folder conversions exception for syncFolder method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_folder_TypeMismatch">
+ <testcase purpose="Check type conversions for folder argument of MessageService.syncFolder method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_folder_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_folder_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument in syncFolder method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_syncFolder_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.syncFolder" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_syncFolder_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for syncFolder method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.syncFolder method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in syncFolder method successCallback callback." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.syncFolder method throws exception when successCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if syncFolder method with errorCallback optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_with_errorCallback">
+ <testcase purpose="Check if MessageService.syncFolder method works properly with errorCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if syncFolder method with limit optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_with_limit">
+ <testcase purpose="Check if MessageService.syncFolder method works properly with limit" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_syncFolder_with_limit">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_with_limit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check the function of sync in MessageService by emailwithoutparam" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_emailwithoutparam">
+ <testcase purpose="Check if MessageService.sync method works properly without param" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_emailwithoutparam">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_emailwithoutparam.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for sync method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.sync method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in sync method errorCallback callback." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sync method throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageService.sync ()" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_foremail">
+ <testcase purpose="Check if MessageService.sync method works properly without arguments" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_foremail">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_foremail.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for sync method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.sync method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in sync method successCallback callback." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sync method throws exception when successCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if sync method with errorCallback optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_errorCallback">
+ <testcase purpose="Check if MessageService.sync method works properly with errorCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if sync method with downloadId optional limit argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_limit">
+ <testcase purpose="Check if MessageService.sync method works properly with limit argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_limit">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_limit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if sync method with successCallback optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_successCallback">
+ <testcase purpose="Check if MessageService.sync method works properly with successCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_sync_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener method with non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument filter conversions exception for addConversationsChangeListener method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addConversationsChangeListener method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener of MessageStorage with missing non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_missarg">
+ <testcase purpose="Check with missing mandatory argument - MessageStorage.addConversationsChangeListener (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener method with optional filter argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method works properly with filter (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_with_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addConversationsChangeListener method without callback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_withoutcb">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addConversationsChangeListener (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_addConversationsChangeListener_withoutcb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_withoutcb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument conversationsChangeCallback validation - addConversationsChangeListener, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method throws exception when conversationsChangeCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when errorCallback is incorrect" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.addDraftMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument message conversions exception in addDraftMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_message_TypeMismatch">
+ <testcase purpose="Check type conversions for message argument of MessageStorage.addDraftMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_message_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_message_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument message validation in addDraftMessage method (email) - invalid object" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_message_invalid_obj">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when message is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_message_invalid_obj">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_message_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageStorage.addDraftMessage (email) with missing non-optional argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addDraftMessage (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when successCallback is incorrect" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.addDraftMessage method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when successCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addDraftMessage_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly without errorCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly without successCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_without_successCallback">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly without successCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addDraftMessage_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_without_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener (foldersChangeCallback)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addFoldersChangeListener filter conversions exception (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addFoldersChangeListener method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener folderChangeCallback conversions exceptions (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for foldersChangeCallback argument of MessageStorage.addFoldersChangeListener method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener with invalid callback (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method throws exception when foldersChangeCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addFolersChangeListener without foldersChangeCallback attribute throws exception (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addFoldersChangeListener_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addFoldersChangeListener (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addFoldersChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener (foldersChangeCallback and filter)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method works properly with filter (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addFoldersChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_with_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument filter conversions exception - addMessagesChangeListener, filter, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addMessagesChangeListener method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument messagesChangeCallback conversions exception - addMessagesChangeListener, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for messagesChangeCallback argument of MessageStorage.addMessagesChangeListener method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument messagesChangeCallback validation - invalid, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method throws exception when messagesChangeCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - addMessagesChangeListener, email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addMessagesChangeListener (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments addMessagesChangeListener (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method works properly with filter (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_with_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addMessagesChangeListener of MessageStorage (email) works properly without filter." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_without_filter">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method works properly without filter (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_addMessagesChangeListener_without_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_without_filter.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter from" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_from">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by from (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_from">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_from.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter to" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_to">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by to (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_to">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_to.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter type" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_type">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by type (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_filter_type">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_type.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) with sort" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_with_sort">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with sort (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_with_sort">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_with_sort.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) with sort time desc" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_with_sort_time_desc">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with sort by time descending (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_with_sort_time_desc">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_with_sort_time_desc.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) without errorCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findConversations_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check MessageStorage.findMessages method with non-optional arguments (filter by Message.id) for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback) id for email, load and check message body" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_and_loadMessageBody">
+ <testcase purpose="Check if MessageStorage.findMessages and MessageStorage.loadMessageBody methods work properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_and_loadMessageBody">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_and_loadMessageBody.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) bcc for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_bcc_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by bcc (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_bcc_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_bcc_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) cc for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_cc_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by cc (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_cc_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_cc_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) folderId for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_folderId_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by folderId (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_folderId_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_folderId_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) from for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_from_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by from (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_from_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_from_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) hasAttachment for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_hasAttachment_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by hasAttachment (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_hasAttachment_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_hasAttachment_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) id for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_id_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by id (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_id_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_id_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isHighPriority for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_isHighPriority_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by isHighPriority (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_isHighPriority_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_isHighPriority_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isRead for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_isRead_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by isRead (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_isRead_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_isRead_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) plainBody for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_plainBody_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by plainBody (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_plainBody_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_plainBody_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) serviceId for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_serviceId_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by serviceId (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_serviceId_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_serviceId_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) timestamp for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_timestamp_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by timestamp (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_timestamp_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_timestamp_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) to for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_to_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by to (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_to_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_to_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) type for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_type_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by type (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_findMessages_type_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_type_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception - updateMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.updateMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback validation - updateMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.updateMessages method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument messages conversions exception - updateMessages (EMAIL)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_messages_TypeMismatch">
+ <testcase purpose="Check type conversions for messages argument of MessageStorage.updateMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_messages_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_messages_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - updateMessages (EMAIL)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_missarg">
+ <testcase purpose="Check with missing message argument - MessageStorage.updateMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception - updateMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.updateMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback validation - updateMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.updateMessages method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_email_updateMessages_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly - without errorCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_without_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly - without successCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_without_successCallback">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly without successCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_email_updateMessages_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_without_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if function executes properly when all mandatory arguments given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders">
+ <testcase purpose="Check if MessageStorage.findFolders method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect error callback given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.findFolders method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument error callback validation" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.findFolders method throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect filter given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.findFolders method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_filter_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether 'findFolders' method properly retrieves folders matching the supplied filter from MessageStorage" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_filter_serviceId">
+ <testcase purpose="Check if MessageStorage.findFolders works properly for filter by serviceId" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_filter_serviceId">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_filter_serviceId.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if exception is thrown when mandatory arguments not given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.findFolders" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect success callback given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.findFolders method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument success callback validation" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.findFolders method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if function executes properly when all mandatory and optional arguments given" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findFolders method works properly with errorCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_findFolders_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check the function of findMessage in MessageStorage by emailFilterWithoutErrorCb" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_findMessage_emailFilterWithoutErrorCb">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly without errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_findMessage_emailFilterWithoutErrorCb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findMessage_emailFilterWithoutErrorCb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeChangeListener method with non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeChangeListener">
+ <testcase purpose="Check if MessageStorage.removeChangeListener method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeChangeListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeConversations method with non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument conversations conversions exception for setListener method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_conversations_TypeMismatch">
+ <testcase purpose="Check type conversions for conversations argument of MessageStorage.removeConversations method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_conversations_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_conversations_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for removeConversations method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.removeConversations method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not for errorCallback callback in removeConversations method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeConversations method throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeConversations works properly for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_foremail">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_foremail">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_foremail.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeConversations of MessageStorage with missing non-optional argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.removeConversations" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for removeConversations method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.removeConversations method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not for successCallback callback in removeConversations method." type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeConversations method throws exception when successCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeConversations method with optional errorCallback argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly with errorCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if removeConversations method with optional successCallback argument works" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_with_successCallback">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly with successCallback argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeConversations_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check the function of removeMessage in MessageStorage by emailwithouterrcb" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessage_emailwithouterrcb">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly without errorCallback" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessage_emailwithouterrcb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessage_emailwithouterrcb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional arguments loadMessageBody(valid_message)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly without non-optional arguments (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.removeMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeMessages method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument MessageStorage_removeMessages_email messages conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_messages_TypeMismatch">
+ <testcase purpose="Check type conversions for messages argument of MessageStorage.removeMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_messages_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_messages_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with MessageStorage_removeMessages_email missing non-optional argument" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.removeMessages (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument MessageStorage_removeMessages_email successCallback conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.removeMessages method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument successCallbac validation - use {onerror: function (){}}" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeMessages method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageStorage_removeMessages_email_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments removeMessages(valid_messages, valid_successCallback, valid_errorCallback)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly with errorCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with optional arguments removeMessages(valid_messages, valid_successCallback)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_with_successCallback">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly with successCallback argument (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageStorage_removeMessages_email_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Add a draft message and update it, and then remove it" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P3" id="Message_addUpdateRemove">
+ <testcase purpose="Check: Add a draft message and update it, and then remove it" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P3" id="Message_addUpdateRemove">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Message_addUpdateRemove.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the attribute attachments in Message" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_attachments_exist">
+ <testcase purpose="Check if the attribute attachments in Message" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_attachments_exist">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_attachments_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check new tizen.Message(MessageServiceTag type, MessageInit messageInitDict?) works for email (is supported)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor">
+ <testcase purpose="Check if Message's constructor works properly (email)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Message_email_constructor_messageInitDict_function" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_messageInitDict_function">
+ <testcase purpose="Check if Message's constructor works properly with function (email)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_messageInitDict_function">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_messageInitDict_function.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Message_email_constructor_messageInitDict_object" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_messageInitDict_object">
+ <testcase purpose="Check if Message's constructor works properly with empty object (email)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_messageInitDict_object">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_messageInitDict_object.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Message_email_constructor_minargs" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_minargs">
+ <testcase purpose="Check if Message's constructor works properly with minimum arguments (email)" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_email_constructor_minargs">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_minargs.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if attribute hasAttachment in Message" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_hasAttachment_exist">
+ <testcase purpose="Check if attribute hasAttachment in Message" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Message_hasAttachment_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Message_hasAttachment_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback) for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_email_getMessageServices">
+ <testcase purpose="Check if getMessageServices works properly (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_email_getMessageServices">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getMessageServices argument errorCallback conversions exception for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of Messaging.getMessageServices method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getMessageServices (email) throws exception when errorCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_errorCallback_invalid_cb">
+ <testcase purpose="Check if Messaging.getMessageServices method throws exception when errorCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getMessageServices argument successCallback conversions exception for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of Messaging.getMessageServices method (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getMessageServices (email) throws exception when successCallback is invalid" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_successCallback_invalid_cb">
+ <testcase purpose="Check if Messaging.getMessageServices method throws exception when successCallback is invalid (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_email_getMessageServices_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback, valid_errorCallback) for email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_email_getMessageServices_with_errorCallback">
+ <testcase purpose="Check if getMessageServices works properly with all arguments (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_email_getMessageServices_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Messaging is extendable" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P3" id="Messaging_extend">
+ <testcase purpose="Check if Messaging is extendable" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P3" id="Messaging_extend">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getMessageServices argument messageServiceType conversions exception" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_getMessageServices_messageServiceType_TypeMismatch">
+ <testcase purpose="Check type conversions for messageServiceType argument of Messaging.getMessageServices method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="Messaging_getMessageServices_messageServiceType_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_getMessageServices_messageServiceType_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check getMessageServices with missing non-optional argument." type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_getMessageServices_missarg">
+ <testcase purpose="Check with missing non-optional argument - Messaging.getMessageServices" type="compliance" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="Messaging_getMessageServices_missarg">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_getMessageServices_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional arguments loadMessageAttachment - email" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.loadMessageAttachment (email)" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P1" id="MessageService_email_loadMessageAttachment_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if stopSync method with non-optional argument works for syncFolder method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_stopSync_syncFolder">
+ <testcase purpose="Check if MessageService.stopSync (for syncFolder) method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_stopSync_syncFolder">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_stopSync_syncFolder.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if stopSync method with non-optional argument works for sync method" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_stopSync_sync">
+ <testcase purpose="Check if MessageService.stopSync (for sync) method works properly" type="compliance" onload_delay="180" status="approved" component="TizenAPI/Communication/Messaging" execution_type="auto" priority="P2" id="MessageService_stopSync_sync">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_stopSync_sync.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageAttachmentSuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check new tizen.MessageAttachment(String filePath, String mimeType?) works (is supported)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageAttachment_constructor">
+ <testcase purpose="Check if MessageAttachment's constructor works" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageAttachment_constructor">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageAttachment_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check new tizen.MessageAttachment(String filePath) works (is supported)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageAttachment_constructor_minargs">
+ <testcase purpose="Check if MessageAttachment's constructor works with minimum arguments" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageAttachment_constructor_minargs">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageAttachment_constructor_minargs.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageFolderArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the attribute contentType in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_contentType_exist">
+ <testcase purpose="Check if the attribute contentType in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_contentType_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_contentType_exist.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_email_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the attribute id in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_id_exist">
+ <testcase purpose="Check if the attribute id in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_id_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_id_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the attribute path in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_path_exist">
+ <testcase purpose="Check if the attribute path in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_path_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_path_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the attribute type in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_type_exist">
+ <testcase purpose="Check if the attribute type in MessageFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageFolder_type_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageFolder_type_exist.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageService.loadMessageAttachment method with optional arguments (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument attachment conversions exception - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_attachment_TypeMismatch">
+ <testcase purpose="Check type conversions for attachment argument of MessageService.loadMessageAttachment method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_attachment_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_attachment_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument attachment validation - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_attachment_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when attachment is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_attachment_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_attachment_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.loadMessageAttachment method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback validation - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.loadMessageAttachment method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback validation - loadMessageAttachment, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageService.loadMessageAttachment method with non-optional arguments (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_without_errorCallback">
+ <testcase purpose="Check if MessageService.loadMessageAttachment method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method loadMessageBody of MessageService (email) works with only non-optional arguments" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody">
+ <testcase purpose="Check if MessageService.loadMessageBody method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check loadMessageBody of MessageService (email) errorCallback TypeMismatch" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.loadMessageBody method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method loadMessageBody (email) throws exception with invalid errorCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageBody method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument - loadMessageBody, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.loadMessageBody (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method loadMessageBody without message attribute throws exception (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_missarg_message">
+ <testcase purpose="Check with missing message argument - MessageService.loadMessageBody (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_missarg_message">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_missarg_message.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method loadMessageBodys successCallback conversions exception (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.loadMessageBody method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method loadMessageBodys successCallback invalid callback (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.loadMessageBody method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method loadMessageBody of MessageService (email) works with all proper all arguments" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_with_errorCallback">
+ <testcase purpose="Check if MessageService.loadMessageBody method works properly with errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageBody_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageBody_with_errorCallback.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_messageStorage_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Proper invocation with arguments - check if sendMessage (email) does what it should." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage">
+ <testcase purpose="Check if MessageService.sendMessage method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback (email) conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.sendMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument MessageService.sendMessage (email) errorCallback validation - use {onsuccess: function (){}}" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check message (email) argument conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_message_TypeMismatch">
+ <testcase purpose="Check type conversions for message argument of MessageService.sendMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_message_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_message_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageService.sendMessage (email) argument message validation - use simple object" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_message_invalid_obj">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when message is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_message_invalid_obj">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_message_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageService.sendMessage (email) with missing non-optional argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.sendMessage (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback (email) conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.sendMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument MessageService.sendMessage (email) successCallback validation - use {onsuccess: function (){}}" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sendMessage method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check without optional argument sendMessage(valid_message, valid_successCallback) (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_without_errorCallback">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check without optional argument sendMessage(valid_message) (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_without_successCallback">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without successCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_sendMessage_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_sendMessage_without_successCallback.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageService_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'sendMessage' method properly sends the specified message with BCC set" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_emailWithBcc">
+ <testcase purpose="Check if MessageService.sendMessage method works properly with bcc (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_emailWithBcc">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_emailWithBcc.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="sendMessage, email: valid value to priority property with mandatory attribute" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_emailWithPriority">
+ <testcase purpose="Check if MessageService.sendMessage method works properly with highPriority (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_emailWithPriority">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_emailWithPriority.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageService.sendMessage (emailMessage)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_email_without_callbacks">
+ <testcase purpose="Check if MessageService.sendMessage method works properly without callbacks (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sendMessage_email_without_callbacks">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sendMessage_email_without_callbacks.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if sync method with non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync">
+ <testcase purpose="Check if MessageService.sync method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if syncFolder method with non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder">
+ <testcase purpose="Check if MessageService.syncFolder method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for syncFolder method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.syncFolder method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in syncFolder method errorCallback callback." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.syncFolder method throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument folder conversions exception for syncFolder method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_folder_TypeMismatch">
+ <testcase purpose="Check type conversions for folder argument of MessageService.syncFolder method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_folder_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_folder_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument in syncFolder method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.syncFolder" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for syncFolder method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.syncFolder method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in syncFolder method successCallback callback." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.syncFolder method throws exception when successCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if syncFolder method with errorCallback optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_with_errorCallback">
+ <testcase purpose="Check if MessageService.syncFolder method works properly with errorCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if syncFolder method with limit optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_with_limit">
+ <testcase purpose="Check if MessageService.syncFolder method works properly with limit" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_syncFolder_with_limit">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_with_limit.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_syncFolder_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check the function of sync in MessageService by emailwithoutparam" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_emailwithoutparam">
+ <testcase purpose="Check if MessageService.sync method works properly without param" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_emailwithoutparam">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_emailwithoutparam.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for sync method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageService.sync method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in sync method errorCallback callback." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sync method throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageService.sync ()" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_foremail">
+ <testcase purpose="Check if MessageService.sync method works properly without arguments" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_foremail">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_foremail.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for sync method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageService.sync method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not in sync method successCallback callback." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageService.sync method throws exception when successCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if sync method with errorCallback optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_errorCallback">
+ <testcase purpose="Check if MessageService.sync method works properly with errorCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if sync method with downloadId optional limit argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_limit">
+ <testcase purpose="Check if MessageService.sync method works properly with limit argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_limit">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_limit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if sync method with successCallback optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_successCallback">
+ <testcase purpose="Check if MessageService.sync method works properly with successCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_sync_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_sync_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener method with non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument filter conversions exception for addConversationsChangeListener method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addConversationsChangeListener method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener of MessageStorage with missing non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_missarg">
+ <testcase purpose="Check with missing mandatory argument - MessageStorage.addConversationsChangeListener (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addConversationsChangeListener method with optional filter argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method works properly with filter (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_with_filter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addConversationsChangeListener method without callback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_withoutcb">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addConversationsChangeListener (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_addConversationsChangeListener_withoutcb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_addConversationsChangeListener_withoutcb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument conversationsChangeCallback validation - addConversationsChangeListener, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addConversationsChangeListener method throws exception when conversationsChangeCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_conversationsChangeCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addConversationsChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when errorCallback is incorrect" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.addDraftMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument message conversions exception in addDraftMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_message_TypeMismatch">
+ <testcase purpose="Check type conversions for message argument of MessageStorage.addDraftMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_message_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_message_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument message validation in addDraftMessage method (email) - invalid object" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_message_invalid_obj">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when message is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_message_invalid_obj">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_message_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageStorage.addDraftMessage (email) with missing non-optional argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addDraftMessage (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when successCallback is incorrect" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.addDraftMessage method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDraftMessage (email) throws exception when successCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly without errorCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addDraftMessage of MessageStorage (email) works properly without successCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_without_successCallback">
+ <testcase purpose="Check if MessageStorage.addDraftMessage method works properly without successCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addDraftMessage_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addDraftMessage_without_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener (foldersChangeCallback)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addFoldersChangeListener filter conversions exception (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addFoldersChangeListener method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener folderChangeCallback conversions exceptions (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for foldersChangeCallback argument of MessageStorage.addFoldersChangeListener method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_foldersChangeCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener with invalid callback (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method throws exception when foldersChangeCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addFolersChangeListener without foldersChangeCallback attribute throws exception (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addFoldersChangeListener (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="MessageStorage.addFoldersChangeListener (foldersChangeCallback and filter)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addFoldersChangeListener method works properly with filter (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addFoldersChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addFoldersChangeListener_with_filter.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument filter conversions exception - addMessagesChangeListener, filter, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.addMessagesChangeListener method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument messagesChangeCallback conversions exception - addMessagesChangeListener, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for messagesChangeCallback argument of MessageStorage.addMessagesChangeListener method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument messagesChangeCallback validation - invalid, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method throws exception when messagesChangeCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_messagesChangeCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument - addMessagesChangeListener, email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.addMessagesChangeListener (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments addMessagesChangeListener (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_with_filter">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method works properly with filter (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_with_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_with_filter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addMessagesChangeListener of MessageStorage (email) works properly without filter." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_without_filter">
+ <testcase purpose="Check if MessageStorage.addMessagesChangeListener method works properly without filter (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_addMessagesChangeListener_without_filter">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_addMessagesChangeListener_without_filter.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter from" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_from">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by from (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_from">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_from.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter to" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_to">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by to (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_to">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_to.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) filter type" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_type">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with filter by type (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_filter_type">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_filter_type.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) with sort" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_with_sort">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with sort (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_with_sort">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_with_sort.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) with sort time desc" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_with_sort_time_desc">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly with sort by time descending (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_with_sort_time_desc">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_with_sort_time_desc.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method findConversations of MessageStorage (email) without errorCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.findConversations method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findConversations_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findConversations_without_errorCallback.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findFolders_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check MessageStorage.findMessages method with non-optional arguments (filter by Message.id) for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback) id for email, load and check message body" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_and_loadMessageBody">
+ <testcase purpose="Check if MessageStorage.findMessages and MessageStorage.loadMessageBody methods work properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_and_loadMessageBody">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_and_loadMessageBody.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) bcc for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_bcc_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by bcc (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_bcc_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_bcc_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) cc for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_cc_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by cc (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_cc_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_cc_with_errorCallback.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) folderId for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_folderId_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by folderId (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_folderId_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_folderId_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) from for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_from_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by from (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_from_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_from_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) hasAttachment for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_hasAttachment_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by hasAttachment (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_hasAttachment_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_hasAttachment_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) id for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_id_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by id (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_id_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_id_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isHighPriority for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_isHighPriority_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by isHighPriority (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_isHighPriority_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_isHighPriority_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) isRead for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_isRead_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by isRead (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_isRead_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_isRead_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) plainBody for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_plainBody_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by plainBody (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_plainBody_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_plainBody_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) serviceId for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_serviceId_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by serviceId (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_serviceId_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_serviceId_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) timestamp for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_timestamp_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by timestamp (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_timestamp_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_timestamp_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) to for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_to_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by to (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_to_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_to_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments findMessages(valid_filter, valid_successCallback, valid_errorCallback) type for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_type_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly for filter by type (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_findMessages_type_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_findMessages_type_with_errorCallback.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_removeMessages_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception - updateMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.updateMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback validation - updateMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.updateMessages method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_errorCallback_invalid_cb.html</test_script_entry>
</description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument messages conversions exception - updateMessages (EMAIL)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_messages_TypeMismatch">
+ <testcase purpose="Check type conversions for messages argument of MessageStorage.updateMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_messages_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_messages_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument - updateMessages (EMAIL)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_missarg">
+ <testcase purpose="Check with missing message argument - MessageStorage.updateMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception - updateMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.updateMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback validation - updateMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.updateMessages method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly - without errorCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_without_errorCallback">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_without_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method updateMessages of MessageStorage (email) works properly - without successCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_without_successCallback">
+ <testcase purpose="Check if MessageStorage.updateMessages method works properly without successCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_email_updateMessages_without_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_email_updateMessages_without_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if function executes properly when all mandatory arguments given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders">
+ <testcase purpose="Check if MessageStorage.findFolders method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect error callback given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.findFolders method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument error callback validation" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.findFolders method throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect filter given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_filter_TypeMismatch">
+ <testcase purpose="Check type conversions for filter argument of MessageStorage.findFolders method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_filter_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_filter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether 'findFolders' method properly retrieves folders matching the supplied filter from MessageStorage" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_filter_serviceId">
+ <testcase purpose="Check if MessageStorage.findFolders works properly for filter by serviceId" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_filter_serviceId">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_filter_serviceId.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if exception is thrown when mandatory arguments not given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.findFolders" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if exception is thrown when incorrect success callback given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.findFolders method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument success callback validation" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.findFolders method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if function executes properly when all mandatory and optional arguments given" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.findFolders method works properly with errorCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findFolders_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findFolders_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check the function of findMessage in MessageStorage by emailFilterWithoutErrorCb" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findMessage_emailFilterWithoutErrorCb">
+ <testcase purpose="Check if MessageStorage.findMessages method works properly without errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_findMessage_emailFilterWithoutErrorCb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_findMessage_emailFilterWithoutErrorCb.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeChangeListener method with non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeChangeListener">
+ <testcase purpose="Check if MessageStorage.removeChangeListener method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeChangeListener">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeConversations method with non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument conversations conversions exception for setListener method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_conversations_TypeMismatch">
+ <testcase purpose="Check type conversions for conversations argument of MessageStorage.removeConversations method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_conversations_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_conversations_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception for removeConversations method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.removeConversations method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not for errorCallback callback in removeConversations method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeConversations method throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeConversations works properly for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_foremail">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_foremail">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_foremail.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeConversations of MessageStorage with missing non-optional argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.removeConversations" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallback conversions exception for removeConversations method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.removeConversations method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the interface is defined or not for successCallback callback in removeConversations method." onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeConversations method throws exception when successCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeConversations method with optional errorCallback argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly with errorCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if removeConversations method with optional successCallback argument works" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_with_successCallback">
+ <testcase purpose="Check if MessageStorage.removeConversations method works properly with successCallback argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeConversations_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeConversations_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check the function of removeMessage in MessageStorage by emailwithouterrcb" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessage_emailwithouterrcb">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly without errorCallback" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessage_emailwithouterrcb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessage_emailwithouterrcb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional arguments loadMessageBody(valid_message)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly without non-optional arguments (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of MessageStorage.removeMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument errorCallback validation - use {onerror: function (){}}" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_errorCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeMessages method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument MessageStorage_removeMessages_email messages conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_messages_TypeMismatch">
+ <testcase purpose="Check type conversions for messages argument of MessageStorage.removeMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_messages_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_messages_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with MessageStorage_removeMessages_email missing non-optional argument" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageStorage.removeMessages (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument MessageStorage_removeMessages_email successCallback conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of MessageStorage.removeMessages method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument successCallbac validation - use {onerror: function (){}}" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_successCallback_invalid_cb">
+ <testcase purpose="Check if MessageStorage.removeMessages method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments removeMessages(valid_messages, valid_successCallback, valid_errorCallback)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_with_errorCallback">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly with errorCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with optional arguments removeMessages(valid_messages, valid_successCallback)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_with_successCallback">
+ <testcase purpose="Check if MessageStorage.removeMessages method works properly with successCallback argument (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageStorage_removeMessages_email_with_successCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageStorage_removeMessages_email_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Add a draft message and update it, and then remove it" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_addUpdateRemove">
+ <testcase purpose="Check: Add a draft message and update it, and then remove it" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_addUpdateRemove">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Message_addUpdateRemove.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the attribute attachments in Message" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_attachments_exist">
+ <testcase purpose="Check if the attribute attachments in Message" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_attachments_exist">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_attachments_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_cc_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check new tizen.Message(MessageServiceTag type, MessageInit messageInitDict?) works for email (is supported)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor">
+ <testcase purpose="Check if Message's constructor works properly (email)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Message_email_constructor_messageInitDict_function" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_messageInitDict_function">
+ <testcase purpose="Check if Message's constructor works properly with function (email)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_messageInitDict_function">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_messageInitDict_function.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Message_email_constructor_messageInitDict_object" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_messageInitDict_object">
+ <testcase purpose="Check if Message's constructor works properly with empty object (email)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_messageInitDict_object">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_messageInitDict_object.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Message_email_constructor_minargs" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_minargs">
+ <testcase purpose="Check if Message's constructor works properly with minimum arguments (email)" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_email_constructor_minargs">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_email_constructor_minargs.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Message_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if attribute hasAttachment in Message" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_hasAttachment_exist">
+ <testcase purpose="Check if attribute hasAttachment in Message" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Message_hasAttachment_exist">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Message_hasAttachment_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/MessagesChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback) for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices">
+ <testcase purpose="Check if getMessageServices works properly (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getMessageServices argument errorCallback conversions exception for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_errorCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for errorCallback argument of Messaging.getMessageServices method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_errorCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getMessageServices (email) throws exception when errorCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_errorCallback_invalid_cb">
+ <testcase purpose="Check if Messaging.getMessageServices method throws exception when errorCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_errorCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getMessageServices argument successCallback conversions exception for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_successCallback_TypeMismatch">
+ <testcase purpose="Check type conversions for successCallback argument of Messaging.getMessageServices method (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_successCallback_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getMessageServices (email) throws exception when successCallback is invalid" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_successCallback_invalid_cb">
+ <testcase purpose="Check if Messaging.getMessageServices method throws exception when successCallback is invalid (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_successCallback_invalid_cb">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with non-optional arguments getMessageServices(valid_messageServiceType, valid_successCallback, valid_errorCallback) for email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_with_errorCallback">
+ <testcase purpose="Check if getMessageServices works properly with all arguments (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_email_getMessageServices_with_errorCallback">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_email_getMessageServices_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Messaging is extendable" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_extend">
+ <testcase purpose="Check if Messaging is extendable" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_extend">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_extend.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_getMessageServices_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getMessageServices argument messageServiceType conversions exception" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_getMessageServices_messageServiceType_TypeMismatch">
+ <testcase purpose="Check type conversions for messageServiceType argument of Messaging.getMessageServices method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_getMessageServices_messageServiceType_TypeMismatch">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/Messaging_getMessageServices_messageServiceType_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check getMessageServices with missing non-optional argument." component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_getMessageServices_missarg">
+ <testcase purpose="Check with missing non-optional argument - Messaging.getMessageServices" component="TizenAPI/Communication/Messaging" execution_type="auto" id="Messaging_getMessageServices_missarg">
<description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_getMessageServices_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-messaging-email-tizen-tests/messaging/Messaging_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional arguments loadMessageAttachment - email" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_missarg">
+ <testcase purpose="Check with missing non-optional argument - MessageService.loadMessageAttachment (email)" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_email_loadMessageAttachment_missarg">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_email_loadMessageAttachment_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if stopSync method with non-optional argument works for syncFolder method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_stopSync_syncFolder">
+ <testcase purpose="Check if MessageService.stopSync (for syncFolder) method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_stopSync_syncFolder">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_stopSync_syncFolder.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if stopSync method with non-optional argument works for sync method" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_stopSync_sync">
+ <testcase purpose="Check if MessageService.stopSync (for sync) method works properly" onload_delay="180" component="TizenAPI/Communication/Messaging" execution_type="auto" id="MessageService_stopSync_sync">
<description>
<test_script_entry timeout="180">/opt/tct-messaging-email-tizen-tests/messaging/MessageService_stopSync_sync.html</test_script_entry>
</description>