[Notification] code consistency improvement
authorPiotr Szydelko <p.szydelko@samsung.com>
Tue, 8 Oct 2013 13:47:53 +0000 (15:47 +0200)
committerPiotr Szydelko <p.szydelko@samsung.com>
Tue, 8 Oct 2013 14:57:18 +0000 (16:57 +0200)
Change-Id: Ie99796242b9ef3993ab0ce42b672513db6a51d32

87 files changed:
tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor.html
tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor_minargs.html
tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html
tct-notification-tizen-tests/notification/NotificationDetailInfo_extend.html
tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html
tct-notification-tizen-tests/notification/NotificationDetailInfo_subText_attribute.html
tct-notification-tizen-tests/notification/NotificationManager_extend.html
tct-notification-tizen-tests/notification/NotificationManager_get.html
tct-notification-tizen-tests/notification/NotificationManager_getAll.html
tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html
tct-notification-tizen-tests/notification/NotificationManager_getAll_extra_argument.html
tct-notification-tizen-tests/notification/NotificationManager_get_exist.html
tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html
tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html
tct-notification-tizen-tests/notification/NotificationManager_notexist.html
tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html
tct-notification-tizen-tests/notification/NotificationManager_post_PROGRESS.html
tct-notification-tizen-tests/notification/NotificationManager_post_SIMPLE.html
tct-notification-tizen-tests/notification/NotificationManager_post_THUMBNAIL.html
tct-notification-tizen-tests/notification/NotificationManager_post_exist.html
tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html
tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html
tct-notification-tizen-tests/notification/NotificationManager_remove.html
tct-notification-tizen-tests/notification/NotificationManager_removeAll.html
tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html
tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html
tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html
tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html
tct-notification-tizen-tests/notification/NotificationManager_update.html
tct-notification-tizen-tests/notification/NotificationManager_update_exist.html
tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html
tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html
tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html
tct-notification-tizen-tests/notification/NotificationObject_notexist.html
tct-notification-tizen-tests/notification/Notification_content_attribute.html
tct-notification-tizen-tests/notification/Notification_extend.html
tct-notification-tizen-tests/notification/Notification_id_attribute.html
tct-notification-tizen-tests/notification/Notification_notexist.html
tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html
tct-notification-tizen-tests/notification/Notification_title_attribute.html
tct-notification-tizen-tests/notification/Notification_type_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_exist.html
tct-notification-tizen-tests/notification/StatusNotification_extend.html
tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html
tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html
tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html
tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html
tct-notification-tizen-tests/notification/support/unitcommon.js [new file with mode: 0644]
tct-notification-tizen-tests/resources/unitcommon.js [deleted file]
tct-notification-tizen-tests/tests.full.xml
tct-notification-tizen-tests/tests.xml

index 55160b250f18c642978970086ebdac1a6981a892..2929b909726f577fbc0249b13e421b599d34d9ed 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationDetailInfo_constructor</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,7 +43,7 @@ test(function () {
 
     assert_equals(notificationDetailInfo.mainText, mainTextToSet, "mainText attribute.");
     assert_equals(notificationDetailInfo.subText, subTextToSet, "subText attribute.");
-}, "NotificationDetailInfo_constructor");
+}, document.title);
 
 </script>
 </body>
index 0f94ab145eb3f72daf241cdb4399e761513f3ce6..c2400dd90d3a505e06a5595f5537903ec795f7bc 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationDetailInfo_constructor_minargs</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -42,7 +42,7 @@ test(function () {
 
     assert_equals(notificationDetailInfo.mainText, mainTextToSet, "mainText attribute.");
     assert_equals(notificationDetailInfo.subText, null, "subText attribute.");
-}, "NotificationDetailInfo_constructor_minargs");
+}, document.title);
 
 </script>
 </body>
index 97830122e8ef7ee2a6fb9937d182756d8053a762..22ed7a465b7a673c5f468a2e90fd48065b71d038 100644 (file)
@@ -23,21 +23,21 @@ Authors:
 <head>
 <title>NotificationDetailInfo_exist</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: NotificationDetailInfo_exist
-//==== LABEL check if NotificationDetailInfo exists
+//==== LABEL Check if NotificationDetailInfo exists
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationDetailInfo:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRF
 
 test(function () {
     check_constructor("NotificationDetailInfo");
-}, "NotificationDetailInfo_exist");
+}, document.title);
 
 </script>
 </body>
index 97c6e79bf3ea29b8e36b5ecf08d36f0b67a65ace..bb4938517918ff7092003cd72c0a9ac8057e756c 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationDetailInfo_extend</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -39,7 +39,7 @@ Authors:
 test(function () {
     var notificationDetailInfo = new tizen.NotificationDetailInfo("mainText", "subText");
     check_extensibility(notificationDetailInfo);
-}, "NotificationDetailInfo_extend");
+}, document.title);
 
 </script>
 </body>
index 8e54f4da655207cf78283892e1caeac6c6fadbb0..0897db1bf771fcfa8f3aa99b8f2b65710b971160 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationDetailInfo_mainText_attribute</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -45,7 +45,7 @@ test(function () {
     notificationDetailInfo.mainText = newValue;
     assert_equals(notificationDetailInfo.mainText, newValue, "mainText attribute not assigned with a new value.");
     check_not_nullable(notificationDetailInfo, "mainText");
-}, "NotificationDetailInfo_mainText_attribute");
+}, document.title);
 
 </script>
 </body>
index 600e099800295006f38541d0d863a1a1be679e23..c300f217e7fa5235c093c995eb8d7dc3e6da5d19 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationDetailInfo_subText_attribute</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -47,7 +47,7 @@ test(function () {
 
     notificationDetailInfo = new tizen.NotificationDetailInfo(mainTextToSet);
     assert_equals(notificationDetailInfo.subText, null, "subText attribute default value.");
-}, "NotificationDetailInfo_subText_attribute");
+}, document.title);
 
 </script>
 </body>
index d3e0c851716d2fff94e0979c340ab9d5f255e12c..68f30b948fa720572428e77550969ec0026a78d7 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: NotificationManager_extend
-//==== LABEL check if NotificationManager is extendable
+//==== LABEL Check if NotificationManager is extendable
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P3
@@ -41,7 +41,7 @@ Authors:
 
 test(function () {
     check_extensibility(tizen.notification);
-}, "NotificationManager_extend");
+}, document.title);
 
 </script>
 </body>
index 77681c60ff2aa612dc75e3ea32ea78b45cb216e1..72fef461ef53c865c793c1aa7443b9d81bd4c6e8 100644 (file)
@@ -44,7 +44,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_get
-//==== LABEL check if the parameter NotificationManager which in get method ok
+//==== LABEL Check if the parameter NotificationManager which in get method ok
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -104,7 +104,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 7a394065e2a332247b53d673090473545228e39c..b3352290530c1089666ef36761f900d4a52eaa0a 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_getAll</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -110,7 +110,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 921db6a5a0de605c764b29d5be9b01f8403cb47d..9af6060d7eef35de4e6acb31cc26ab79121f4674 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_getAll_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_getAll_exist
-//==== LABEL check if method getAll which in NotificationManager interface exists.
+//==== LABEL Check if method getAll which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("getAll" in tizen.notification, "No getAll method in tizen.notification.");
     check_method_exists(tizen.notification, "getAll");
-}, "NotificationManager_getAll_exist");
+}, document.title);
 
 </script>
 </body>
index 9849f022845d95f2009fe35614d0a43a9f0b72b6..61dba77b6b4f9491a6e9b2788b258f0928052df7 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationManager_getAll_extra_argument</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>
@@ -37,7 +37,7 @@ Authors:
 
 test(function () {
     checkExtraArgument(tizen.notification, "getAll");
-}, "NotificationManager_getAll_extra_argument");
+}, document.title);
 
 </script>
 </body>
index 3e99b15ae8c099ee20764019739d6280fcc8daae..b327b4c45df6b28bbcd71aaca401e3004db875de 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_get_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_get_exist
-//==== LABEL check if method get which in NotificationManager interface exists.
+//==== LABEL Check if method get which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("get" in tizen.notification, "No get method in tizen.notification.");
     check_method_exists(tizen.notification, "get");
-}, "NotificationManager_get_exist");
+}, document.title);
 
 </script>
 </body>
index 2d697809caf2c3c3f11d82d484d4f6bc63ca8931..5fac256669a61587fa4fbf638eef2037f84a8f14 100644 (file)
@@ -25,43 +25,35 @@ Authors:
 <head>
 <title>NotificationManager_get_invalid_argument</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: NotificationManager_get_invalid_argument
-//==== LABEL check whether calling get() method with incorrect notification id throws an exception
+//==== LABEL Check whether calling get() method with incorrect notification id throws an exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA MMA
+//==== TEST_CRITERIA
 
 test(function () {
-    var notificationObj = tizen.notification, NOT_FOUND_ERR = "NotFoundError",
-        incorrectStr = "dummyValue";
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    var notificationObj = tizen.notification, incorrectStr = "dummyValue";
+
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.get();
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.get(null);
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.get(undefined);
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.get(incorrectStr);
     });
-}, "NotificationManager_get_invalid_argument");
+}, document.title);
 
 </script>
 </body>
index ef8295f1978c85b06908cfe8c4cddc619c267811..d1f6c8bbcaedfaf2d6bb16b43ce64b451b24afea 100644 (file)
@@ -35,14 +35,14 @@ Authors:
 <head>
 <title>NotificationManager_in_tizen</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_in_tizen
-//==== LABEL check if the readonly attribute notification
+//==== LABEL Check if the readonly attribute notification
 //==== PRIORITY P3
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -51,7 +51,7 @@ Authors:
 test(function () {
     assert_true("notification" in tizen, "No notification in tizen.");
     check_readonly(tizen, "notification", tizen.notification, "object", "dummyValue");
-}, "NotificationManager_in_tizen");
+}, document.title);
 
 </script>
 </body>
index 8ba7543ece566b91be545396000c8ed358fec7a1..9e0dccfd15eb747e1b21706ac2a3121ee2811a1e 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: NotificationManager_notexist
-//==== LABEL check if NotificationManager does not exist
+//==== LABEL Check if NotificationManager does not exist
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA NIO
@@ -41,7 +41,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("NotificationManager");
-}, "NotificationManager_notexist");
+}, document.title);
 
 </script>
 </body>
index 9699be485b05bdd988ebd07d0f3fda839785c4b8..0cceb7aec02ab1b106ff5056bb7c71872bc83db8 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_ONGOING</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -54,7 +54,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 8b861cd734d50c16b8f1b46b211322b54074d4fc..500d006f45c7154a89e45ac4cb92100f5c8d3898 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_PROGRESS</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -54,7 +54,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 295ff83dd43bc474b97a41feeaf99390410bc176..1831139212fbbdfccf7f5a3bebcd4f552cf32390 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_SIMPLE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -54,7 +54,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 8262c3be668aab8a3dac1dcdbb6d76c143d88cd8..c67921961235b13cd7b6d251c150fbbbdb2b2c86 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_THUMBNAIL</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -54,7 +54,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index b7fe74c4a6247d8028d497926acdff85cb2023dd..48bb14bb470d804f7c6c3e00c926835d1d2bd040 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_post_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_post_exist
-//==== LABEL check if method post which in NotificationManager interface exists.
+//==== LABEL Check if method post which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:post M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("post" in tizen.notification, "No post method in tizen.notification.");
     check_method_exists(tizen.notification, "post");
-}, "NotificationManager_post_exist");
+}, document.title);
 
 </script>
 </body>
index 4d638372052cffb9d8a45cdce9ce5d61dd741052..d500b798bf6f9ee8e4c16b71abe90c0d7f19c71f 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_misarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -42,11 +42,11 @@ Authors:
 test(function () {
     var exceptionName = "TypeMismatchError";
 
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.notification.post();
         }, exceptionName + " should be thrown - missing argument.");
-}, "NotificationManager_post_misarg");
+}, document.title);
 
 </script>
 </body>
index 7e52d8e8ece3c0fa09a3be5fe85604f1155daa5f..d809b6ba957c7c8bf390b6c165521b4f28d34f7b 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_post_notification_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -48,12 +48,12 @@ test(function () {
         notification = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
         function () {
             tizen.notification.post(notification);
         }, exceptionName + " should be thrown - given incorrect notification.");
     }
-});
+}, document.title);
 
 </script>
 </body>
index 0eebc870693204af6e9d8a33cc5f3c704b909147..5a10d67510520e50a3a0522099fa0f1bc6130e47 100644 (file)
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>NotificationManager_remove</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -43,7 +43,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_remove
-//==== LABEL check if the parameter NotificationManager which in remove method ok
+//==== LABEL Check if the parameter NotificationManager which in remove method ok
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -51,7 +51,7 @@ Authors:
 
 test(function () {
     var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i,
-    statusNotification, postedNotifications = [], idToRemove, returnedValue = null;
+        statusNotification, postedNotifications = [], idToRemove, returnedValue = null;
     try {
         for (i = 0; i < statusTypes.length; i++) {
             statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet + statusTypes[i], notificationDict);
@@ -67,14 +67,14 @@ test(function () {
 
         // verify that postedNotifications were removed
         for (i = 0; i < postedNotifications.length; i++) {
-            assert_throws({name: "NotFoundError"}, function () {
+            assert_throws(NOT_FOUND_EXCEPTION, function () {
                 tizen.notification.get(postedNotifications[i].id);
             });
         }
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index b6577e47c53d957e833ec651b14d004d301a9d64..605ebc3bb8b902668d89f939b2d21390de0f2f20 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_removeAll</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -60,7 +60,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index da62110b8049c8f20c5b1f0d314319534e6086a2..3021219fa3e44d496b5b913e8517d23ca2d11180 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_removeAll_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_removeAll_exist
-//==== LABEL check if method removeAll which in NotificationManager interface exists.
+//==== LABEL Check if method removeAll which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:removeAll M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("removeAll" in tizen.notification, "No removeAll method in tizen.notification.");
     check_method_exists(tizen.notification, "removeAll");
-}, "NotificationManager_removeAll_exist");
+}, document.title);
 
 </script>
 </body>
index 5a7826e328c43e9ddd3927d88327f2647491dd9e..8541cd5d364bb91844dbbed5dd60a0f0baeef318 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>NotificationManager_removeAll_extra_argument</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>
@@ -37,7 +37,7 @@ Authors:
 
 test(function () {
     checkExtraArgument(tizen.notification, "removeAll");
-}, "NotificationManager_removeAll_extra_argument");
+}, document.title);
 
 </script>
 </body>
index 95790d0e7aec563581976f708993e6755e719a4f..e01db5769f5081413f590a5c9e8fe2724f785fda 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_remove_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_remove_exist
-//==== LABEL check if method remove which in NotificationManager interface exists.
+//==== LABEL Check if method remove which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("remove" in tizen.notification, "No remove method in tizen.notification.");
     check_method_exists(tizen.notification, "remove");
-}, "NotificationManager_remove_exist");
+}, document.title);
 
 </script>
 </body>
index eb14c557f8082da7b5337f11ba54112a070afb19..b408e0433ba4936ce6e7f20fdc5024b2596a9cef 100644 (file)
@@ -25,43 +25,35 @@ Authors:
 <head>
 <title>NotificationManager_remove_invalid_argument</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: NotificationManager_remove_invalid_argument
-//==== LABEL check whether calling remove() method with incorrect notification id throws an exception
+//==== LABEL Check whether calling remove() method with incorrect notification id throws an exception
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA MMA
+//==== TEST_CRITERIA
 
 test(function () {
-    var notificationObj = tizen.notification, NOT_FOUND_ERR = "NotFoundError",
-        incorrectStr = "dummyValue";
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    var notificationObj = tizen.notification, incorrectStr = "dummyValue";
+
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.remove();
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.remove(null);
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.remove(undefined);
     });
-    assert_throws({
-        name: NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         notificationObj.remove(incorrectStr);
     });
-}, "NotificationManager_remove_invalid_argument");
+}, document.title);
 
 </script>
 </body>
index df470ba29157f4499b684c18d7aca1ee443f372c..1d4adc9a02df0c1da57d9294da9f59be6fd8ce45 100644 (file)
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>NotificationManager_update</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -43,7 +43,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_update
-//==== LABEL check if the parameter NotificationManager which in update method ok
+//==== LABEL Check if the parameter NotificationManager which in update method ok
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -54,16 +54,16 @@ var notification, updatedNotification,
     newVibration = false, newAppId = tizen.application.getAppInfo().id, progressTypeToSet = "PERCENTAGE",
     newProgressValue = 191, i, newProgressType = "BYTE",
     newAppControl = new tizen.ApplicationControl("http://tzen.org/appcontrol/operation/create_content", null, "audio/wav", null),
-    statusTypeToSet = "PROGRESS", returnedValue = null, newNumber = 175,
-    newDetailInfo = [
-        new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
-        new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
-    ],
+    statusTypeToSet = "PROGRESS", returnedValue = null, newNumber = 175, newDetailInfo,
     newThumbnails = [thumbnailToSet6, thumbnailToSet7, thumbnailToSet8, thumbnailToSet9],
     oldId, oldType, oldPostedTime, oldStatusType;
 
 test(function () {
     notificationDict.progressType = progressTypeToSet;
+    newDetailInfo = [
+        new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
+        new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
+    ];
     notification = new tizen.StatusNotification(statusTypeToSet, titleToSet, notificationDict);
     try {
         tizen.notification.post(notification);
@@ -134,7 +134,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-});
+}, document.title);
 
 </script>
 </body>
index 92ca0b083e553123ffd29c160a2c1534026af45a..48b7b681ca2917ab8f1c6e5578703f67f8f89e44 100644 (file)
@@ -34,14 +34,14 @@ Authors:
 <head>
 <title>NotificationManager_update_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NotificationManager_update_exist
-//==== LABEL check if method update which in NotificationManager interface exists.
+//==== LABEL Check if method update which in NotificationManager interface exists.
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA ME
@@ -49,7 +49,7 @@ Authors:
 test(function () {
     assert_true("update" in tizen.notification, "No update method in tizen.notification.");
     check_method_exists(tizen.notification, "update");
-}, "NotificationManager_update_exist");
+}, document.title);
 
 </script>
 </body>
index 607f8302c09c734fe2a5d019f638e40c0329e8a2..ef1c2a0fb4959a3a542dc5d54c1e79d358a6ecc9 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_update_misarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -43,11 +43,11 @@ Authors:
 test(function () {
     var exceptionName = "TypeMismatchError";
 
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.notification.update();
         }, exceptionName + " should be thrown - missing argument.");
-}, "NotificationManager_update_misarg");
+}, document.title);
 
 </script>
 </body>
index 9b5f6d4423c63ad399ea648e2b8b37e9e6fbc6d4..cb0cb0da290af16267afec522cb0f6f471581db1 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationManager_update_notification_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -48,12 +48,12 @@ test(function () {
         notification = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.notification.update(notification);
             }, exceptionName + " should be thrown - given incorrect notification.");
     }
-});
+}, document.title);
 
 </script>
 </body>
index 9259a52177300e770afe0eb5e7b62fe89e2ab4bd..025d810d83e30b48a5e3afcdaa832e981a06aa3e 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>NotificationManager_update_notposted</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: NotificationManager_update_notposted
-//==== LABEL check whether calling update() method with notification not posted earlier throws an exception
+//==== LABEL Check whether calling update() method with notification not posted earlier throws an exception
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
@@ -49,7 +49,7 @@ test(function () {
         tizen.notification.update(not_posted_notification);
     });
 
-}, "NotificationManager_update_notposted");
+}, document.title);
 
 </script>
 </body>
index e14a55255ad8021b473d739ee9152ca00d1b9c4f..c09cee9cac8181996db9f6dae98e04bb95f64d2d 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>NotificationObject_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: NotificationObject_notexist
-//==== LABEL check if NotificationObject does not exist
+//==== LABEL Check if NotificationObject does not exist
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationObject:NotificationObject U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA NIO
@@ -41,7 +41,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("NotificationObject");
-}, "NotificationObject_notexist");
+}, document.title);
 
 </script>
 </body>
index a013869bcef8575346adfd60caf679d0c5e1d42c..d9a7c9b52f3fd5e52ae879806511c53d5494d725 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_content_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Notification_content_attribute
-//==== LABEL check if Notification_content_attribute
+//==== LABEL Check if Notification_content_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:content A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -52,7 +52,7 @@ test(function () {
 
     statusNotification.content = null;
     assert_equals(statusNotification.content, null, "content attribute cannot be assigned with null.");
-}, "Notification_content_attribute");
+}, document.title);
 
 </script>
 </body>
index 1c5de2be98096818cfc67cd36ffb3e5da3087a78..e4f478fcb3a149af92727ef88a03958dd2370129 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>Notification_extend</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -39,7 +39,7 @@ Authors:
 
 test(function () {
     var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
-    notificationToPost;
+        notificationToPost;
     notificationDict.progressType = progressTypeToSet;
     notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
     try {
@@ -49,7 +49,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-}, "Notification_extend");
+}, document.title);
 
 </script>
 </body>
index 6902fe66478c0093b3b4cfbe1e34aaeec3310b88..f171d9ab4fd80494dfabc82e7db8f856e11995c5 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_id_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST:  Notification_id_attribute
-//==== LABEL check if Notification_id_attribute
+//==== LABEL Check if Notification_id_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:id A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE ADV ARO AT
@@ -52,7 +52,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-}, "Notification_id_attribute");
+}, document.title);
 
 </script>
 </body>
index d69f6fd018ee530e9e8153b91d7a97cc9b115dee..07699b2395a1f06f81ad04b47b34b3efe8439f09 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Notification_notexist
-//==== LABEL check if Notification does not exist
+//==== LABEL Check if Notification does not exist
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:Notification U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P3
@@ -41,7 +41,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("Notification");
-}, "Notification_notexist");
+}, document.title);
 
 </script>
 </body>
index bbe763e71c91958286532f84dafac1fecbe9e0b2..ca939a7925c7d5e2d65ab35e5223278a888f9cc4 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_postedTime_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST:  Notification_postedTime_attribute
-//==== LABEL check if  Notification_postedTime_attribute
+//==== LABEL Check if  Notification_postedTime_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:postedTime A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE ARO AT
@@ -52,7 +52,7 @@ test(function () {
     } finally {
         tizen.notification.removeAll();
     }
-}, "Notification_postedTime_attribute");
+}, document.title);
 
 </script>
 </body>
index a663f38db8b3b4e9ec0c0c4a6aaaaf35c8678424..7fd2f0eceb2f9ce6f6f14b040f90aec86cac43c8 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_title_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST:  Notification_title_attribute
-//==== LABEL check if  Notification_title_attribute
+//==== LABEL Check if  Notification_title_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:title A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG AN
@@ -50,7 +50,7 @@ test(function () {
     statusNotification.title = newValue;
     assert_equals(statusNotification.title, newValue, "title attribute cannot be assigned.");
     check_not_nullable(statusNotification, "title");
-}, "Notification_title_attribute");
+}, document.title);
 
 </script>
 </body>
index b3bad226538466a4c4cd9bca0fa0f905f10e774c..1d1122844435607605da834b7294c25491ab3ef6 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>Notification_type_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST:   Notification_type_attribute
-//==== LABEL check if Notification_type_attribute
+//==== LABEL Check if Notification_type_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:type A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ARO
@@ -47,7 +47,7 @@ test(function () {
 
     assert_own_property(statusNotification, "type", "StatusNotification doesn't own type property.");
     check_readonly(statusNotification, "type", "STATUS", "string", "newValue");
-}, "Notification_type_attribute");
+}, document.title);
 
 </script>
 </body>
index 72efc2c8e7959438219c400eea0117b9805d0cc0..c0365f346070ef070f1428443b6d354916715650 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_appControl_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,25 +34,27 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_appControl_attribute
-//==== LABEL check if StatusNotification_appControl_attribute
+//==== LABEL Check if StatusNotification_appControl_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appControl A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
 
 test(function () {
     var statusNotification, newOperation = "http://tizen.org/appcontrol/operation/view",
-        initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
-                    "file:///opt/usr/media/Images/" + iconPathToSet.replace(/^.*\//, ""),
-                    "image/jpg",
-                    null,
-                    [new tizen.ApplicationControlData("k1", ["v1"])]
-        ),
-        newValue = new tizen.ApplicationControl(newOperation,
-                    "file:///opt/usr/media/Images/" + thumbnailToSet.replace(/^.*\//, ""),
-                    "image/jpeg",
-                    "category",
-                    [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
-        );
+        initialValue, newValue;
+
+    initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+        "file:///opt/usr/media/Images/" + iconPathToSet.replace(/^.*\//, ""),
+        "image/jpg",
+        null,
+        [new tizen.ApplicationControlData("k1", ["v1"])]
+    );
+    newValue = new tizen.ApplicationControl(newOperation,
+        "file:///opt/usr/media/Images/" + thumbnailToSet.replace(/^.*\//, ""),
+        "image/jpeg",
+        "category",
+        [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
+    );
 
     delete notificationDict.appId;
     notificationDict.appControl = initialValue;
@@ -83,7 +85,7 @@ test(function () {
 
     statusNotification.appControl = null;
     assert_equals(statusNotification.appControl, null, "appControl attribute cannot be assigned with null.");
-}, "StatusNotification_appControl_attribute");
+}, document.title);
 
 </script>
 </body>
index 0c6d7d39cab63ef68a0d05ac445183976fb2456b..3e76715f6fe5ad1b31df84589b4c676f75738e71 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_appid_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_appid_attribute
-//==== LABEL check if StatusNotification_appid_attribute
+//==== LABEL Check if StatusNotification_appid_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appId A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -51,7 +51,7 @@ test(function () {
 
     statusNotification.appId = null;
     assert_equals(statusNotification.appId, null, "appId attribute cannot be assigned with null.");
-}, "StatusNotification_appid_attribute");
+}, document.title);
 
 </script>
 </body>
index ea5d904577ce09c7d7a566d84bb2a44d050ccc12..fa61c52d888ed92047d416fd69ec561effce75cf 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_backgroundImagePath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_backgroundImagePath_attribute
-//==== LABEL check if StatusNotification_backgroundImagePath_attribute
+//==== LABEL Check if StatusNotification_backgroundImagePath_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:backgroundImagePath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -55,7 +55,7 @@ test(function () {
 
     statusNotification.backgroundImagePath = null;
     assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute cannot be assigned with null.");
-}, "StatusNotification_backgroundImagePath_attribute");
+}, document.title);
 
 </script>
 </body>
index b3af684902387546338dc7b831b10debba6fe3ed..0145b98822dccd045632c0729fd819a9be411986 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_ONGOING_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_ONGOING_BYTE
-//==== LABEL check if StatusNotification_constructor_ONGOING_BYTE
+//==== LABEL Check if StatusNotification_constructor_ONGOING_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("ONGOING", "BYTE");
-}, "StatusNotification_constructor_ONGOING_BYTE");
+}, document.title);
 
 </script>
 </body>
index e26edfeb2347b3a14f6e64a22b6647a51fbdc8e1..b0e649fd251de1a39080feabbc7e2d643913c1ca 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_ONGOING_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_ONGOING_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_ONGOING_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_ONGOING_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
-}, "StatusNotification_constructor_ONGOING_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index b642cb397fb7fdecc437d602561c2ba9ce791594..73d70055b15dbc7a7fa871e6a367a0d8d48d3bcb 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_PROGRESS_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_PROGRESS_BYTE
-//==== LABEL check if StatusNotification_constructor_PROGRESS_BYTE
+//==== LABEL Check if StatusNotification_constructor_PROGRESS_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("PROGRESS", "BYTE");
-}, "StatusNotification_constructor_PROGRESS_BYTE");
+}, document.title);
 
 </script>
 </body>
index 6ec24d67f7ff89de53583328eda9da3b5b2ffd7e..3ff570adcf227e860964688d457ac57807694da1 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_PROGRESS_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_PROGRESS_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_PROGRESS_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_PROGRESS_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
-}, "StatusNotification_constructor_PROGRESS_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index 327cc711b2e121ebf303b52ff1cb9c0c8ec45c99..a36a3651f68affd35160b0c28dbfd5be2ab528fd 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_SIMPLE_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_SIMPLE_BYTE
-//==== LABEL check if StatusNotification_constructor_SIMPLE_BYTE
+//==== LABEL Check if StatusNotification_constructor_SIMPLE_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("SIMPLE", "BYTE");
-}, "StatusNotification_constructor_SIMPLE_BYTE");
+}, document.title);
 
 </script>
 </body>
index 908a5bac17a96a501dd95073eb92060479085836..f3d0b2397f73a8c4b95ba3343368afa4d9c3bf9e 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_SIMPLE_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_SIMPLE_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_SIMPLE_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_SIMPLE_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
-}, "StatusNotification_constructor_SIMPLE_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index 8d973f56998505447d497710fa3796650dfe9f92..6843fb0c25750c3b8c87073cd847f97c8a746387 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_THUMBNAIL_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_THUMBNAIL_BYTE
-//==== LABEL check if StatusNotification_constructor_THUMBNAIL_BYTE
+//==== LABEL Check if StatusNotification_constructor_THUMBNAIL_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("THUMBNAIL", "BYTE");
-}, "StatusNotification_constructor_THUMBNAIL_BYTE");
+}, document.title);
 
 </script>
 </body>
index 4dc72f322abb42d0197ac7886b11b27228e16984..870b881469c58c35e81f423d96ef7030df4aa68b 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_THUMBNAIL_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,14 +34,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_THUMBNAIL_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
-}, "StatusNotification_constructor_THUMBNAIL_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index 9832defdd233675402cec59e91211577530fab9d..4f95d55a684fa786fec44589a9fefdbb2806d8ff 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_invalid_backgroundImagePath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_invalid_backgroundImagePath
-//==== LABEL check if constructor accepts incorrect backgroundImagePath
+//==== LABEL Check if constructor accepts incorrect backgroundImagePath
 //==== PRIORITY: P2
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -45,13 +45,13 @@ test(function () {
         statusNotification, invalidBackgroundImagePath = "dummyValue";
 
     notificationDict = {
-        backgroundImagePath : invalidBackgroundImagePath
+        backgroundImagePath: invalidBackgroundImagePath
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_array_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
             "StatusNotification.backgroundImagePath has wrong value.");
-}, "StatusNotification_constructor_invalid_backgroundImagePath");
+}, document.title);
 
 </script>
 </body>
index 7b0e20b3fa5037fab77ade6defcb280349399414..970ed85c95bdfede17cccc51227db0605783b8c9 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_invalid_iconPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_invalid_iconPath
-//==== LABEL check if constructor accepts incorrect iconPath
+//==== LABEL Check if constructor accepts incorrect iconPath
 //==== PRIORITY: P2
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -45,13 +45,13 @@ test(function () {
         statusNotification, invalidIconPath = "dummyValue";
 
     notificationDict = {
-        iconPath : invalidIconPath
+        iconPath: invalidIconPath
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_array_equals(statusNotification.iconPath, invalidIconPath,
             "StatusNotification.iconPath has wrong value.");
-}, "StatusNotification_constructor_invalid_iconPath");
+}, document.title);
 
 </script>
 </body>
index 55ba53857e4af51ed67b5322cf75d898c64bd8b6..bd3d0fedb20430c0b8ae21a63c7627ff0cdc8e20 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_invalid_soundPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_invalid_soundPath
-//==== LABEL check if constructor accepts incorrect soundPath
+//==== LABEL Check if constructor accepts incorrect soundPath
 //==== PRIORITY: P2
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -42,16 +42,16 @@ Authors:
 
 test(function () {
     var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
-    statusNotification, invalidSoundPath = "dummyValue";
+        statusNotification, invalidSoundPath = "dummyValue";
 
     notificationDict = {
-        soundPath : invalidSoundPath
+        soundPath: invalidSoundPath
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_array_equals(statusNotification.soundPath, invalidSoundPath,
             "StatusNotification.soundPath has wrong value.");
-}, "StatusNotification_constructor_invalid_soundPath");
+}, document.title);
 
 </script>
 </body>
index 59fe749a8d510297876b1a2812003715fb27c633..9b8c71d0dd2bfed134602ed84aec76349b7a3af2 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_invalid_subIconPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_invalid_subIconPath
-//==== LABEL check if constructor accepts incorrect subIconPath
+//==== LABEL Check if constructor accepts incorrect subIconPath
 //==== PRIORITY: P2
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -45,13 +45,13 @@ test(function () {
         statusNotification, invalidSubIconPath = "dummyValue";
 
     notificationDict = {
-        subIconPath : invalidSubIconPath
+        subIconPath: invalidSubIconPath
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_array_equals(statusNotification.subIconPath, invalidSubIconPath,
             "StatusNotification.subIconPath has wrong value.");
-}, "StatusNotification_constructor_invalid_subIconPath");
+}, document.title);
 
 </script>
 </body>
index 2831d5c902a0ca0b9454ca937ae134fb9137c0f1..00ffbaa087ed6d29d17e0a93c44438d76d306c4f 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_invalid_thumbnails</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_invalid_thumbnails
-//==== LABEL check if constructor accepts incorrect thumbnails
+//==== LABEL Check if constructor accepts incorrect thumbnails
 //==== PRIORITY: P2
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
@@ -45,13 +45,13 @@ test(function () {
         invalidThumbnails = [thumbnailToSet, thumbnailToSet2, "dummyValue" ], statusNotification;
 
     notificationDict = {
-        thumbnails : invalidThumbnails
+        thumbnails: invalidThumbnails
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_array_equals(statusNotification.thumbnails, invalidThumbnails,
             "StatusNotification.thumbnails has wrong value.");
-}, "StatusNotification_constructor_invalid_thumbnails");
+}, document.title);
 
 </script>
 </body>
index 34f983a516cf0cd997f71b97be90cde5dd6f1ac2..c4eb7f63b06d48d227dce2e0a42474bbd4fc5680 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_minargs</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_minargs
-//==== LABEL check if StatusNotification_constructor_minargs
+//==== LABEL Check if StatusNotification_constructor_minargs
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM
@@ -67,7 +67,7 @@ test(function () {
     check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
     assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
     assert_own_property(statusNotification, "ledColor", "statusNotification");
-}, "StatusNotification_constructor_minargs");
+}, document.title);
 
 </script>
 </body>
index dc90e7a6bef19df1e9b5ff6fa65d0867977ee059..27e60c60560f9a196b3004f980af60a598dedba7 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_notificationInitDict_partial</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_notificationInitDict_partial
-//==== LABEL check if StatusNotification_constructor_notificationInitDict_partial
+//==== LABEL Check if StatusNotification_constructor_notificationInitDict_partial
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM
@@ -45,9 +45,9 @@ test(function () {
         soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3", statusNotificationType = "SIMPLE";
 
     notificationDict = {
-        content : contentToSet,
-        iconPath : iconPathToSet,
-        soundPath : soundPathToSet
+        content: contentToSet,
+        iconPath: iconPathToSet,
+        soundPath: soundPathToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -74,7 +74,7 @@ test(function () {
     assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
     check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
     assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, "StatusNotification_constructor_notificationInitDict_partial");
+}, document.title);
 
 </script>
 </body>
index d4439521e34e8bfdc4e4588b28b681277ebcd960..f36d0a75ed5c4c473ab8b932d1f3c5117e561ef0 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_notificationInitDict_partial_extra</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_notificationInitDict_partial_extra
-//==== LABEL check if StatusNotification_constructor_notificationInitDict_partial_extra
+//==== LABEL Check if StatusNotification_constructor_notificationInitDict_partial_extra
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM
@@ -45,12 +45,12 @@ test(function () {
         progressValueToSet = 80;
 
     notificationDict = {
-        vibration : vibrationToSet,
-        appId : appIdToSet,
-        progressValue : progressValueToSet,
+        vibration: vibrationToSet,
+        appId: appIdToSet,
+        progressValue: progressValueToSet,
         newDummyString: "dummyString",
         newDummyFunction: function () {},
-        newDummyObject: {attr : 1}
+        newDummyObject: {attr: 1}
     };
 
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
@@ -78,7 +78,7 @@ test(function () {
     assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
     check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
     assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, "StatusNotification_constructor_notificationInitDict_partial_extra");
+}, document.title);
 
 </script>
 </body>
index 701bcfc52dfc32820a6360a07fc859acf5cb4763..3f09bf24de5441f9716c429ec320aac037cbb6a6 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_number_max</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_number_max
-//==== LABEL check if constructor accepts max number.
+//==== LABEL Check if constructor accepts max number.
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM
@@ -52,7 +52,7 @@ test(function () {
     assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
 
     assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, "StatusNotification_constructor_number_max");
+}, document.title);
 
 </script>
 </body>
index bf34465f9f2a3fec9b66bd3ec31fc3f68adc8335..044835a1f81069a326a7389026f6b1350c2a78d5 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_number_min</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_number_min
-//==== LABEL check if constructor accepts min number.
+//==== LABEL Check if constructor accepts min number.
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM
@@ -52,7 +52,7 @@ test(function () {
     assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
 
     assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, "StatusNotification_constructor_number_min");
+}, document.title);
 
 </script>
 </body>
index 44355bbe6537801d9540f7992e9c26138d554053..46ac9274280c94be24f525217969e1d0c943c362 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_progessValue_-1_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,18 +34,18 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_progessValue_-1_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_-1_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_-1_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
-    titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
+        titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
 
     notificationDict = {
-        progressType : progressTypeToSet,
-        progressValue : progressValueToSet
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -53,7 +53,7 @@ test(function () {
 
     assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
     assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_-1_BYTE");
+}, document.title);
 
 </script>
 </body>
index c947b2d5e2c2a321060f74a2d93c4886cb37aa2a..b8a1ab8bde2b32c525eb03f655277e2414db324f 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_progessValue_0_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,18 +34,18 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_progessValue_0_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_0_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_0_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
-    titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
 
     notificationDict = {
-        progressType : progressTypeToSet,
-        progressValue : progressValueToSet
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -53,7 +53,7 @@ test(function () {
 
     assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
     assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_0_BYTE");
+}, document.title);
 
 </script>
 </body>
index f3483df4ae673229180b323816c03aff33553c47..5203cbbfad981ba4766ccef6f5d05d21aadb341e 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_progessValue_0_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,18 +34,18 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_progessValue_0_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_progessValue_0_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_progessValue_0_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
-    titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
+        titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
 
     notificationDict = {
-        progressType : progressTypeToSet,
-        progressValue : progressValueToSet
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -53,7 +53,7 @@ test(function () {
 
     assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
     assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_0_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index 8eb7fb55a76bf841b90d46032ef1310b5fe38698..5b6dbbee89738cab42c9f60e617fb69b5560c50c 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_progessValue_100_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,18 +34,18 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_progessValue_100_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_progessValue_100_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_progessValue_100_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
-    titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
+        titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
 
     notificationDict = {
-        progressType : progressTypeToSet,
-        progressValue : progressValueToSet
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -53,7 +53,7 @@ test(function () {
 
     assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
     assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_100_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index 3a3cff467e2d88e0470ff46448db42aaf3911b13..1a271bdfad70cb45817e43cbc979666ea61904f9 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_constructor_progessValue_max_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,18 +34,18 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_constructor_progessValue_max_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_max_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_max_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
 test(function () {
     var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
-    titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
+        titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
 
     notificationDict = {
-        progressType : progressTypeToSet,
-        progressValue : progressValueToSet
+        progressType: progressTypeToSet,
+        progressValue: progressValueToSet
     };
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
@@ -53,7 +53,7 @@ test(function () {
 
     assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
     assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_max_BYTE");
+}, document.title);
 
 </script>
 </body>
index 755750bb95f6eb346113a864d7053958ea234bb1..a18a38a7827a7b1f1ee0da21d60a830ced061a6e 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_detailInfo_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,17 +34,19 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_detailInfo_attribute
-//==== LABEL check if StatusNotification_detailInfo_attribute
+//==== LABEL Check if StatusNotification_detailInfo_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:detailInfo A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE ASG AT ADV
 
 test(function () {
     var statusNotification, statusNotificationType = "SIMPLE",
+        newValue, i, statusNotificationDefault;
+
     newValue = [
         new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
         new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
-    ], i, statusNotificationDefault;
+    ];
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
 
     assert_own_property(statusNotification, "detailInfo", "StatusNotification doesn't own detailInfo property.");
@@ -75,7 +77,7 @@ test(function () {
     statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
     assert_type(statusNotificationDefault.detailInfo, "array", "statusNotificationDefault.detailInfo should by array");
     assert_equals(statusNotificationDefault.detailInfo.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
-}, "StatusNotification_detailInfo_attribute");
+}, document.title);
 
 </script>
 </body>
index e43a65ad62a24c1c1e1ef69fcce09b77abe00cd2..75eed1757b3be8c6627200703064d4f5a53cc889 100644 (file)
@@ -23,14 +23,14 @@ Authors:
 <head>
 <title>StatusNotification_exist</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: StatusNotification_exist
-//==== LABEL check if StatusNotification exists
+//==== LABEL Check if StatusNotification exists
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_constructor("StatusNotification");
-}, "StatusNotification_exist");
+}, document.title);
 
 </script>
 </body>
index e84d64c23239df17049daa3525e17efb1af53a9c..4baba98006d099570dc558d90685225e7b82e510 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_extend
-//==== LABEL check if StatusNotification is extendable
+//==== LABEL Check if StatusNotification is extendable
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:StatusNotification U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P3
@@ -41,7 +41,7 @@ Authors:
 
 test(function () {
     check_extensibility(new tizen.StatusNotification("SIMPLE", "Title"));
-}, "StatusNotification_extend");
+}, document.title);
 
 </script>
 </body>
index 7b032c06608190e65d3b3124e74cd42d586b6bac..cded967cd81f26941d6c95b276ec90e61f2aad6c 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_iconPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_iconPath_attribute
-//==== LABEL check if StatusNotification_iconPath_attribute
+//==== LABEL Check if StatusNotification_iconPath_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:iconPath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
@@ -56,7 +56,7 @@ test(function () {
 
     statusNotification.iconPath = null;
     assert_equals(statusNotification.iconPath, null, "iconPath attribute cannot be assigned with null.");
-}, "StatusNotification_iconPath_attribute");
+}, document.title);
 
 </script>
 </body>
index d875f5bb9a544bc9b50747f8a17280564c01bd25..fc2c9bccbad6bab211aaed79b5bc18d2b074600c 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_ledColor_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_ledColor_attribute
-//==== LABEL check StatusNotification::ledColor attribute
+//==== LABEL Check StatusNotification::ledColor attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledColor A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -55,7 +55,7 @@ test(function () {
     statusNotification.ledColor = newValue;
     assert_equals(statusNotification.ledColor.toLowerCase(), newValue.toLowerCase(), "statusNotification.ledColor after set");
 
-}, "StatusNotification_ledColor_attribute");
+}, document.title);
 
 </script>
 </body>
index ecdde1692d8f82754581d0b3c17e2e7c9d71d93f..85f558a69d5cdec9dd710270150a28f19e67d2f9 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_ledOffPeriod_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_ledOffPeriod_attribute
-//==== LABEL check StatusNotification::ledOffPeriod attribute
+//==== LABEL Check StatusNotification::ledOffPeriod attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOffPeriod A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG ADV AN
@@ -46,7 +46,7 @@ test(function () {
 
     assert_own_property(statusNotification, "ledOffPeriod",
         "StatusNotification doesn't own ledOffPeriod property.");
-    assert_type(statusNotification.ledOffPeriod, "number",
+    assert_type(statusNotification.ledOffPeriod, "unsigned long",
         "statusNotification.ledOffPeriod should be number");
     assert_equals(statusNotification.ledOffPeriod, 0,
         "statusNotification.ledOffPeriod default value");
@@ -61,7 +61,7 @@ test(function () {
     assert_equals(statusNotification.ledOffPeriod, notificationDict.ledOffPeriod,
         "statusNotification.ledOffPeriod value from constructor");
     check_not_nullable(statusNotification, "ledOffPeriod");
-}, "StatusNotification_ledOffPeriod_attribute");
+}, document.title);
 
 </script>
 </body>
index 5f90d9781b0896b77614b8bcddeab7a2d2811fd4..1f30995005b869afd5f439274eb9c3d2c55d4efd 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_ledOnPeriod_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_ledOnPeriod_attribute
-//==== LABEL check StatusNotification::ledOnPeriod attribute
+//==== LABEL Check StatusNotification::ledOnPeriod attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOnPeriod A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG ADV AN
@@ -46,7 +46,7 @@ test(function () {
 
     assert_own_property(statusNotification, "ledOnPeriod",
         "StatusNotification doesn't own statusType property.");
-    assert_type(statusNotification.ledOnPeriod, "number",
+    assert_type(statusNotification.ledOnPeriod, "unsigned long",
         "statusNotification.ledOnPeriod should be number");
     assert_equals(statusNotification.ledOnPeriod, 0,
         "statusNotification.ledOnPeriod default value");
@@ -61,7 +61,7 @@ test(function () {
     assert_equals(statusNotification.ledOnPeriod, notificationDict.ledOnPeriod,
         "statusNotification.ledOnPeriod value from constructor");
     check_not_nullable(statusNotification, "ledOnPeriod");
-}, "StatusNotification_ledOnPeriod_attribute");
+}, document.title);
 
 </script>
 </body>
index 3e7df5619a1aa231ce5b0d2007464c93940ad83e..a6e8d6b99223767b1b34d69d666fcbe167775cfb 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_number_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_number_attribute
-//==== LABEL check if StatusNotification_number_attribute
+//==== LABEL Check if StatusNotification_number_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:number A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -62,7 +62,7 @@ test(function () {
 
     statusNotification.number = null;
     assert_equals(statusNotification.number, null, "number attribute cannot be assigned with null.");
-}, "StatusNotification_number_attribute");
+}, document.title);
 
 </script>
 </body>
index 495392947c0f1f4eb7af341f130ed12732ebcdd5..7c56893b7244aebe1de424dfcaadc737e1a45d41 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_progressType_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_progressType_attribute
-//==== LABEL check if StatusNotification_progressType_attribute
+//==== LABEL Check if StatusNotification_progressType_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressType A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG AN ADV
@@ -64,7 +64,7 @@ test(function () {
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
     assert_equals(statusNotification.progressType, "PERCENTAGE", "progressValue attribute default not set.");
     check_not_nullable(statusNotification, "progressType");
-});
+}, document.title);
 
 </script>
 </body>
index 65cb4c8dd95fefc8dfe2c51a897f1605867d8d00..6bd63634357bd62318333d45e933ea7342d7646a 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_progressValue_attribute_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_progressValue_attribute_BYTE
-//==== LABEL check if StatusNotification_progressValue_attribute_BYTE
+//==== LABEL Check if StatusNotification_progressValue_attribute_BYTE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -59,7 +59,7 @@ test(function () {
 
     statusNotification.progressValue = -1;
     assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute -> minus one changed value.");
-}, "StatusNotification_progressValue_attribute_BYTE");
+}, document.title);
 
 </script>
 </body>
index 728ddb1eaf7c6c2d153e06972dcac48108ddd959..b8e0babdb75b688726581ea48307a615f4c140eb 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_progressValue_attribute_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_progressValue_attribute_PERCENTAGE
-//==== LABEL check if StatusNotification_progressValue_attribute_PERCENTAGE
+//==== LABEL Check if StatusNotification_progressValue_attribute_PERCENTAGE
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -57,7 +57,7 @@ test(function () {
 
     statusNotification.progressValue = -1;
     assert_equals(statusNotification.progressValue, 100, "progressValue attribute -> -1 value.");
-}, "StatusNotification_progressValue_attribute_PERCENTAGE");
+}, document.title);
 
 </script>
 </body>
index b1918c41795aa0fa821083378d6b192537f6aba9..90eecc7fec309bd6bd65d3369f82dc3da1c8a9bf 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_soundPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_soundPath_attribute
-//==== LABEL check if StatusNotification_soundPath_attribute
+//==== LABEL Check if StatusNotification_soundPath_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:soundPath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -54,7 +54,7 @@ test(function () {
 
     statusNotification.soundPath = null;
     assert_equals(statusNotification.soundPath, null, "soundPath attribute cannot be assigned with null.");
-}, "StatusNotification_soundPath_attribute");
+}, document.title);
 
 </script>
 </body>
index 89b172c18410b15ca291ff2701e0182d5c21700d..33e6ed446ec79e449923de10b8875f1039b2a95a 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_statusType_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_statusType_attribute
-//==== LABEL check if StatusNotification_statusType_attribute
+//==== LABEL Check if StatusNotification_statusType_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:statusType A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ARO
@@ -47,7 +47,7 @@ test(function () {
 
     assert_own_property(statusNotification, "statusType", "StatusNotification doesn't own statusType property.");
     check_readonly(statusNotification, "statusType", statusNotificationType, "string", newValue);
-}, "StatusNotification_statusType_attribute");
+}, document.title);
 
 </script>
 </body>
index bcd1b388f21aaafe1314ddfb0f23141fbf49c9b8..bf61292dfb38518824a57b0ac3acd6c6ec3e43dc 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_subIconPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_subIconPath_attribute
-//==== LABEL check if StatusNotification_subIconPath_attribute
+//==== LABEL Check if StatusNotification_subIconPath_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:subIconPath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG
@@ -55,7 +55,7 @@ test(function () {
 
     statusNotification.subIconPath = null;
     assert_equals(statusNotification.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
-}, "StatusNotification_subIconPath_attribute");
+}, document.title);
 
 </script>
 </body>
index fd171fdfd3610186351a743b0118f954cea6369d..d8f997f0d269a28706794ca29e6437a9250814e4 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_thumbnails_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,23 +34,16 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_thumbnails_attribute
-//==== LABEL check if StatusNotification_thumbnails_attribute
+//==== LABEL Check if StatusNotification_thumbnails_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:thumbnails A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE ASG AT ADV
 
 test(function () {
-    var statusNotification, statusNotificationType = "THUMBNAIL",
-        newValue = [
-            thumbnailToSet5,
-            thumbnailToSet6,
-            thumbnailToSet7,
-            thumbnailToSet8
-        ], statusNotificationDefault,
-        newValueWithIncorrectPath = [
-            "images/webapi-tizen-notification-test_thumbnail9.jpg",
-            "invalidPath"
-        ];
+    var statusNotification, statusNotificationType = "THUMBNAIL", statusNotificationDefault,
+        newValue = [thumbnailToSet5, thumbnailToSet6, thumbnailToSet7, thumbnailToSet8],
+        newValueWithIncorrectPath = ["images/webapi-tizen-notification-test_thumbnail9.jpg", "invalidPath"];
+
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
     assert_type(statusNotification.thumbnails, "array", "statusNotification.thumbnails should by array");
     assert_own_property(statusNotification, "thumbnails", "StatusNotification doesn't own thumbnails property.");
@@ -71,7 +64,7 @@ test(function () {
     statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
     assert_type(statusNotificationDefault.thumbnails, "array", "statusNotificationDefault.detailInfo should by array");
     assert_equals(statusNotificationDefault.thumbnails.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
-}, "StatusNotification_thumbnails_attribute");
+}, document.title);
 
 </script>
 </body>
index 3105a55aed6b6095f11e5a6b5178c6fd452cdb75..089549aa353b826d80b22bcee760d3868cb9b053 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>StatusNotification_vibration_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/notification_common.js"></script>
 </head>
 
@@ -34,7 +34,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: StatusNotification_vibration_attribute
-//==== LABEL check if StatusNotification_vibration_attribute
+//==== LABEL Check if StatusNotification_vibration_attribute
 //==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:vibration A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA AE AT ASG AN ADV
@@ -52,7 +52,7 @@ test(function () {
     statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
     assert_equals(statusNotification.vibration, false, "vibration attribute default check.");
     check_not_nullable(statusNotification, "vibration");
-}, "StatusNotification_vibration_attribute");
+}, document.title);
 
 </script>
 </body>
diff --git a/tct-notification-tizen-tests/notification/support/unitcommon.js b/tct-notification-tizen-tests/notification/support/unitcommon.js
new file mode 100644 (file)
index 0000000..9f972c1
--- /dev/null
@@ -0,0 +1,559 @@
+/*
+
+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;
+}
diff --git a/tct-notification-tizen-tests/resources/unitcommon.js b/tct-notification-tizen-tests/resources/unitcommon.js
deleted file mode 100644 (file)
index 9f972c1..0000000
+++ /dev/null
@@ -1,559 +0,0 @@
-/*
-
-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;
-}
index 7ab21b228f4bcd28098a82e0a037434afb21b6ed..0d60996b1f772db6cbbd8af8470f9ddc8173109c 100644 (file)
@@ -3,7 +3,7 @@
 <test_definition>
   <suite name="tct-notification-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Notification">
-      <testcase purpose="check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_exist">
+      <testcase purpose="Check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
         </description>
@@ -15,7 +15,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_update_exist">
+      <testcase purpose="Check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_update_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
         </description>
@@ -27,7 +27,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_remove_exist">
+      <testcase purpose="Check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_remove_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
         </description>
@@ -39,7 +39,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_exist">
+      <testcase purpose="Check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
         </description>
@@ -51,7 +51,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_get_exist">
+      <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_get_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
         </description>
@@ -63,7 +63,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
+      <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
@@ -75,7 +75,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
+      <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
         </description>
@@ -87,7 +87,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove">
+      <testcase purpose="Check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove.html</test_script_entry>
         </description>
@@ -99,7 +99,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
+      <testcase purpose="Check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if the readonly attribute notification" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_in_tizen">
+      <testcase purpose="Check if the readonly attribute notification" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_in_tizen">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
+      <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_minargs" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+      <testcase purpose="Check if StatusNotification_constructor_minargs" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+      <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial_extra" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+      <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial_extra" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_appid_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
+      <testcase purpose="Check if StatusNotification_appid_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_appControl_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
+      <testcase purpose="Check if StatusNotification_appControl_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_vibration_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
+      <testcase purpose="Check if StatusNotification_vibration_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_iconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+      <testcase purpose="Check if StatusNotification_iconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_soundPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
+      <testcase purpose="Check if StatusNotification_soundPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_statusType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
+      <testcase purpose="Check if StatusNotification_statusType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Notification_content_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
+      <testcase purpose="Check if Notification_content_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if  Notification_postedTime_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
+      <testcase purpose="Check if  Notification_postedTime_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if  Notification_title_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
+      <testcase purpose="Check if  Notification_title_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Notification_id_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
+      <testcase purpose="Check if Notification_id_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Notification_type_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
+      <testcase purpose="Check if Notification_type_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if NotificationManager does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_notexist">
+      <testcase purpose="Check if NotificationManager does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if NotificationObject does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
+      <testcase purpose="Check if NotificationObject does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Notification does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
+      <testcase purpose="Check if Notification does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if NotificationManager is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_extend">
+      <testcase purpose="Check if NotificationManager is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_extend">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+      <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if NotificationDetailInfo exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_exist">
+      <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+      <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_ONGOING_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_ONGOING_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_ONGOING_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_ONGOING_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_PROGRESS_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_PROGRESS_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_PROGRESS_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_PROGRESS_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_SIMPLE_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_SIMPLE_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_SIMPLE_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_SIMPLE_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_-1_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_-1_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_0_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_0_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_0_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_0_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_max_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_max_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
+      <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
+      <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
+      <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
+      <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_subIconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
+      <testcase purpose="Check if StatusNotification_subIconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
+      <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_detailInfo_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+      <testcase purpose="Check if StatusNotification_detailInfo_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_number_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+      <testcase purpose="Check if StatusNotification_number_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_backgroundImagePath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
+      <testcase purpose="Check if StatusNotification_backgroundImagePath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_thumbnails_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
+      <testcase purpose="Check if StatusNotification_thumbnails_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+      <testcase purpose="Check if StatusNotification_progressType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressValue_attribute_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+      <testcase purpose="Check if StatusNotification_progressValue_attribute_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressValue_attribute_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_progressValue_attribute_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_100_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_100_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts max number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+      <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if constructor accepts min number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+      <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
+      <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
+      <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check StatusNotification::ledColor attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+      <testcase purpose="Check StatusNotification::ledColor attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check StatusNotification::ledOffPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+      <testcase purpose="Check StatusNotification::ledOffPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check StatusNotification::ledOnPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+      <testcase purpose="Check StatusNotification::ledOnPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
         </description>
index 2323d14460d646a844256a0ee959bc8688b4d6c3..ca68ff4978939aac7dd09c895357aac4db2eb124 100644 (file)
 <test_definition>
   <suite name="tct-notification-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Notification">
-      <testcase purpose="check if method post which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist">
+      <testcase purpose="Check if method post which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method update which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist">
+      <testcase purpose="Check if method update which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method remove which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist">
+      <testcase purpose="Check if method remove which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method removeAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist">
+      <testcase purpose="Check if method removeAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method get which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist">
+      <testcase purpose="Check if method get which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist">
+      <testcase purpose="Check if method getAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in get method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get">
+      <testcase purpose="Check if the parameter NotificationManager which in get method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in remove method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove">
+      <testcase purpose="Check if the parameter NotificationManager which in remove method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if the parameter NotificationManager which in update method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update">
+      <testcase purpose="Check if the parameter NotificationManager which in update method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if the readonly attribute notification" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen">
+      <testcase purpose="Check if the readonly attribute notification" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check whether calling update() method with notification not posted earlier throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted">
+      <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_minargs" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs">
+      <testcase purpose="Check if StatusNotification_constructor_minargs" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial">
+      <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial_extra" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+      <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial_extra" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_appid_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute">
+      <testcase purpose="Check if StatusNotification_appid_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_appControl_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute">
+      <testcase purpose="Check if StatusNotification_appControl_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_vibration_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute">
+      <testcase purpose="Check if StatusNotification_vibration_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_iconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute">
+      <testcase purpose="Check if StatusNotification_iconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_soundPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute">
+      <testcase purpose="Check if StatusNotification_soundPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_statusType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute">
+      <testcase purpose="Check if StatusNotification_statusType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Notification_content_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_content_attribute">
+      <testcase purpose="Check if Notification_content_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_content_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if  Notification_postedTime_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute">
+      <testcase purpose="Check if  Notification_postedTime_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if  Notification_title_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_title_attribute">
+      <testcase purpose="Check if  Notification_title_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_title_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Notification_id_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_id_attribute">
+      <testcase purpose="Check if Notification_id_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_id_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Notification_type_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_type_attribute">
+      <testcase purpose="Check if Notification_type_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_type_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if NotificationManager does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist">
+      <testcase purpose="Check if NotificationManager does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if NotificationObject does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist">
+      <testcase purpose="Check if NotificationObject does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Notification does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_notexist">
+      <testcase purpose="Check if Notification does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_notexist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if NotificationManager is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_extend">
+      <testcase purpose="Check if NotificationManager is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_extend">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_extend">
+      <testcase purpose="Check if StatusNotification is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_extend">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if NotificationDetailInfo exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist">
+      <testcase purpose="Check if NotificationDetailInfo exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_exist">
+      <testcase purpose="Check if StatusNotification exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_exist">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_ONGOING_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_ONGOING_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_ONGOING_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_ONGOING_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_PROGRESS_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_PROGRESS_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_PROGRESS_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_PROGRESS_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_SIMPLE_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_SIMPLE_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_SIMPLE_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_SIMPLE_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_-1_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_-1_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_0_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_0_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_0_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_0_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_max_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_max_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect backgroundImagePath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath">
+      <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect iconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath">
+      <testcase purpose="Check if constructor accepts incorrect iconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect soundPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath">
+      <testcase purpose="Check if constructor accepts incorrect soundPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect subIconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath">
+      <testcase purpose="Check if constructor accepts incorrect subIconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_subIconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute">
+      <testcase purpose="Check if StatusNotification_subIconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts incorrect thumbnails" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails">
+      <testcase purpose="Check if constructor accepts incorrect thumbnails" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_detailInfo_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute">
+      <testcase purpose="Check if StatusNotification_detailInfo_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_number_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute">
+      <testcase purpose="Check if StatusNotification_number_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_backgroundImagePath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute">
+      <testcase purpose="Check if StatusNotification_backgroundImagePath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_thumbnails_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute">
+      <testcase purpose="Check if StatusNotification_thumbnails_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute">
+      <testcase purpose="Check if StatusNotification_progressType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressValue_attribute_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE">
+      <testcase purpose="Check if StatusNotification_progressValue_attribute_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_progressValue_attribute_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_progressValue_attribute_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if StatusNotification_constructor_progessValue_100_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+      <testcase purpose="Check if StatusNotification_constructor_progessValue_100_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts max number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max">
+      <testcase purpose="Check if constructor accepts max number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if constructor accepts min number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min">
+      <testcase purpose="Check if constructor accepts min number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
+      <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
+      <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check StatusNotification::ledColor attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
+      <testcase purpose="Check StatusNotification::ledColor attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check StatusNotification::ledOffPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute">
+      <testcase purpose="Check StatusNotification::ledOffPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check StatusNotification::ledOnPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute">
+      <testcase purpose="Check StatusNotification::ledOnPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
         </description>