[Application] code consistency improvement
authorPiotr Szydelko <p.szydelko@samsung.com>
Tue, 8 Oct 2013 13:29:21 +0000 (15:29 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 8 Oct 2013 14:42:29 +0000 (14:42 +0000)
Change-Id: Ia01e602988008e1ae543954130d5d6eecf661861

169 files changed:
tct-application-tizen-tests/application/ApplicationCertificate_extend.html
tct-application-tizen-tests/application/ApplicationCertificate_notexist.html
tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html
tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html
tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_notexist.html
tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html
tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html
tct-application-tizen-tests/application/ApplicationContext_extend.html
tct-application-tizen-tests/application/ApplicationContext_id_attribute.html
tct-application-tizen-tests/application/ApplicationContext_notexist.html
tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html
tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html
tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html
tct-application-tizen-tests/application/ApplicationControlData_constructor.html
tct-application-tizen-tests/application/ApplicationControlData_exist.html
tct-application-tizen-tests/application/ApplicationControlData_extend.html
tct-application-tizen-tests/application/ApplicationControlData_key_attribute.html
tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html
tct-application-tizen-tests/application/ApplicationControl_category_attribute.html
tct-application-tizen-tests/application/ApplicationControl_constructor.html
tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html
tct-application-tizen-tests/application/ApplicationControl_data_attribute.html
tct-application-tizen-tests/application/ApplicationControl_exist.html
tct-application-tizen-tests/application/ApplicationControl_extend.html
tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html
tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html
tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html
tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_notexist.html
tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html
tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html
tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html
tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html
tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html
tct-application-tizen-tests/application/ApplicationInformation_categories_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_extend.html
tct-application-tizen-tests/application/ApplicationInformation_iconPath_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_id_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_installDate_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_name_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_notexist.html
tct-application-tizen-tests/application/ApplicationInformation_packageId_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_show_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_size_attribute.html
tct-application-tizen-tests/application/ApplicationInformation_version_attribute.html
tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html
tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html
tct-application-tizen-tests/application/ApplicationManager_extend.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html
tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html
tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html
tct-application-tizen-tests/application/ApplicationManager_getAppContext.html
tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html
tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html
tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html
tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html
tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html
tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html
tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html
tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html
tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html
tct-application-tizen-tests/application/ApplicationManager_in_tizen.html
tct-application-tizen-tests/application/ApplicationManager_kill.html
tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_kill_exist.html
tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html
tct-application-tizen-tests/application/ApplicationManager_launch.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html
tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html
tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_launch_exist.html
tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html
tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html
tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html
tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html
tct-application-tizen-tests/application/ApplicationManager_notexist.html
tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html
tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html
tct-application-tizen-tests/application/ApplicationMetaData_extend.html
tct-application-tizen-tests/application/ApplicationMetaData_key_attribute.html
tct-application-tizen-tests/application/ApplicationMetaData_notexist.html
tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html
tct-application-tizen-tests/application/Application_ContextId_attribute.html
tct-application-tizen-tests/application/Application_appInfo_attribute.html
tct-application-tizen-tests/application/Application_exit.html
tct-application-tizen-tests/application/Application_exit_exist.html
tct-application-tizen-tests/application/Application_extend.html
tct-application-tizen-tests/application/Application_getRequestedAppControl.html
tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html
tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html
tct-application-tizen-tests/application/Application_hide.html
tct-application-tizen-tests/application/Application_hide_exist.html
tct-application-tizen-tests/application/Application_hide_extra_argument.html
tct-application-tizen-tests/application/Application_notexist.html
tct-application-tizen-tests/application/FindAppControlSuccessCallback_notexist.html
tct-application-tizen-tests/application/FindAppControlSuccessCallback_onsuccess.html
tct-application-tizen-tests/application/RequestedApplicationControl_appControl_attribute.html
tct-application-tizen-tests/application/RequestedApplicationControl_callerAppId_attribute.html
tct-application-tizen-tests/application/RequestedApplicationControl_extend.html
tct-application-tizen-tests/application/RequestedApplicationControl_notexist.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure_exist.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure_extra_argument.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyResult.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_data_TypeMismatch.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_exist.html
tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_with_data.html
tct-application-tizen-tests/application/support/unitcommon.js [new file with mode: 0644]
tct-application-tizen-tests/resources/unitcommon.js [deleted file]
tct-application-tizen-tests/tests.full.xml
tct-application-tizen-tests/tests.xml

index 5ffbea9fdc4fcf75861f48da0b68092b6b10ae91..68a2303ccc0f74348c0a51c5c9322cb9caf5d465 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationCertificate_extend</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script>
 
 //==== TEST: ApplicationCertificate_extend
-//==== LABEL check if ApplicationCertificate possible extend
+//==== LABEL Check if ApplicationCertificate possible extend
 //==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:ApplicationCertificate U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var appCertificateArray = tizen.application.getAppCerts();
     check_extensibility(appCertificateArray[0]);
-}, "ApplicationCertificate_extend");
+}, document.title);
 
 </script>
 </body>
index 25c850caad002ac9a2d40549f646a3dab1653e72..17513e16854a62f69da0eddaaeb74f82c7bd8574 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>ApplicationCertificate_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationCertificate_notexist
-//==== LABEL check if ApplicationCertificate notexist
+//==== LABEL Check if ApplicationCertificate notexist
 //==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:ApplicationCertificate U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationCertificate");
-}, "ApplicationCertificate_notexist");
+}, document.title);
 
 </script>
 </body>
index 44d03dc65c30eb290dff1b2df4093ecfab94eebe..17afe7bc25da5c7d0a4df42700ac35486c051ed9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationCertificate_type_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationCertificate_type_attribute
-//==== LABEL check ApplicationCertificate.type attribute
+//==== LABEL Check attribute ApplicationCertificate::type existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:type A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -49,7 +49,7 @@ test(function () {
         assert_true("type" in appCertificateArray[i], "type doesn't exist in provided object.");
         check_readonly(appCertificateArray[i], "type", appCertificateArray[i].type, "string", "dummyValue");
     }
-}, "ApplicationCertificate_type_attribute");
+}, document.title);
 
 </script>
 </body>
index e008b197c329ca1b223a99a22ba030074f1c6468..650b9d2b642ec9234447f9cd7957396db196e8e7 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationCertificate_value_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationCertificate_value_attribute
-//==== LABEL check ApplicationCertificate.value attribute
+//==== LABEL Check attribute ApplicationCertificate::value existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:value A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -49,7 +49,7 @@ test(function () {
         assert_true("value" in appCertificateArray[i], "value doesn't exist in provided object.");
         check_readonly(appCertificateArray[i], "value", appCertificateArray[i].value, "string", "dummyValue");
     }
-}, "ApplicationCertificate_value_attribute");
+}, document.title);
 
 </script>
 </body>
index 8bf141b1c49190617de637781d3e8488493d0b4f..957643629983278b72112f83683ad2b495f236c7 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 
 <head>
 <title>ApplicationContextArraySuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -39,7 +39,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationContextArraySuccessCallback");
-}, "ApplicationContextArraySuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 112c0b368290984a366d31f0c52f1f3d6916f501..dc3f3c6542bb194bfbd51eb697010feac81ba29d 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <meta charset="utf-8">
 <title>ApplicationContextArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationContextArraySuccessCallback_onsuccess
-//==== LABEL: Check if ApplicationContextArraySuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if ApplicationContextArraySuccessCallback onsuccess is called and if its arguments have proper type
 //==== ONLOAD_DELAY 30
 //==== SPEC: Tizen Web API:Application:Application:ApplicationContextArraySuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -42,7 +42,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationContextArraySuccessCallback_onsuccess", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     getSuccess, getError, context;
 
 t.step(function () {
index 057c73b2e547743f91a7d06df602787a0c4d6bfe..330dd6e8ee0151187a4aec1fe8f8bd49dcf66f00 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationContext_appId_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationContext_appId_attribute
-//==== LABEL check ApplicationContext.appId attribute
+//==== LABEL Check attribute ApplicationContext::appId existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationContext:appId A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ test(function () {
     var appContext = tizen.application.getAppContext(null);
     assert_true("appId" in appContext, "id doesn't exist in provided object.");
     check_readonly(appContext, "appId", appContext.appId, "string", 1);
-}, "ApplicationContext_appId_attribute");
+}, document.title);
 
 </script>
 </body>
index 50d5f5e530cfc73aff27680595f7e26d444535e4..9052b8c8f79c91a5bf3a9dabb5fb3fc66451dfd7 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationContext_extend</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script>
 
 //==== TEST: ApplicationContext_extend
-//==== LABEL check if ApplicationContext possible extend
+//==== LABEL Check if ApplicationContext possible extend
 //==== SPEC Tizen Web API:Application:Application:ApplicationContext:ApplicationContext U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var appContext = tizen.application.getAppContext(null);
     check_extensibility(appContext);
-}, "ApplicationContext_extend");
+}, document.title);
 
 </script>
 </body>
index c5ca0bffb031eb4badfd3b8bd57f4c930c3c9689..bec4f302b302c2c321ee1f824089cdabbb43b325 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationContext_id_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationContext_id_attribute
-//==== LABEL check ApplicationContext.id attribute
+//==== LABEL Check attribute ApplicationContext::id existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationContext:id A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ test(function () {
     var appContext = tizen.application.getAppContext(null);
     assert_true("id" in appContext, "id doesn't exist in provided object.");
     check_readonly(appContext, "id", appContext.id, "string", 1);
-}, "ApplicationContext_id_attribute");
+}, document.title);
 
 </script>
 </body>
index 60d3e59699504a27f9a73b59f4e6f1a3227b3b68..f73864a028903658d212456383f2f530b1f41816 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>ApplicationContext_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationContext_notexist
-//==== LABEL check if ApplicationContext notexist
+//==== LABEL Check if ApplicationContext notexist
 //==== SPEC Tizen Web API:Application:Application:ApplicationContext:ApplicationContext U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationContext");
-}, "ApplicationContext_notexist");
+}, document.title);
 
 </script>
 </body>
index 1fa95837b666efc9cc80f01ccff286d854e9bdad..78ee85a5e60ca121ad3ad6c97dc8e873e35424bd 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>ApplicationControlDataArrayReplyCallback_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlDataArrayReplyCallback_notexist
-//==== LABEL check if ApplicationControlDataArrayReplyCallback notexist
+//==== LABEL Check if ApplicationControlDataArrayReplyCallback notexist
 //==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:ApplicationControlDataArrayReplyCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationControlDataArrayReplyCallback");
-}, "ApplicationControlDataArrayReplyCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 87510721a51411737feba867bb1900b67e313ecf..062177a0537f45f79211726c803770f8e54ef5ef 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControlDataArrayReplyCallback_onfailure</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlDataArrayReplyCallback_onfailure
-//==== LABEL check onfailure listener in ApplicationControlDataArrayReplyCallback
+//==== LABEL Check onfailure listener in ApplicationControlDataArrayReplyCallback
 //==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:onfailure M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,22 +46,22 @@ Authors:
 //==== TEST_CRITERIA CBOA
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationControlDataArrayReplyCallback_onfailure", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchError, appControl, replyCB;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    launchError = this_test.step_func(function (error) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    launchError = t.step_func(function (error) {
         assert_unreached("launchAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
     appControl = new tizen.ApplicationControl(TCT_APPCONTROL_REPLY_FAILURE_OPERATION);
 
     replyCB = {
-        onsuccess: this_test.step_func(function () {
+        onsuccess: t.step_func(function () {
             assert_unreached("onsuccess callback called");
         }),
-        onfailure: this_test.step_func(function () {
-            this_test.done();
+        onfailure: t.step_func(function () {
+            t.done();
         })
     };
 
index f44cec3c07658b1489aeaf2bd06b6385f908ea21..d999bfa7b3963644009af18c979ac4d11766efc5 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControlDataArrayReplyCallback_onsuccess</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlDataArrayReplyCallback_onsuccess
-//==== LABEL check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback
+//==== LABEL Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback
 //==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationControlDataArrayReplyCallback_onsuccess", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchError, dataSent, appControl, replyCB;
 
 function create_appcontrol_data(size) {
@@ -76,14 +76,14 @@ function assert_appcontrol_data(t, dataReceived, dataExpected) {
             valueArray = data.value;
 
             assert_true(data instanceof tizen.ApplicationControlData, "wrong type of array element");
-            assert_equals(valueArray.length, parseInt(data.key), "wrong length of value array");
+            assert_equals(valueArray.length, parseInt(data.key, 10), "wrong length of value array");
 
             sum = 0;
             sumExpected = 0;
 
             for (value=0; value < valueArray.length; value++) {
                 sumExpected = sumExpected + value + 1;
-                sum += parseInt(valueArray[value]);
+                sum += parseInt(valueArray[value], 10);
             }
 
             assert_equals(sum, sumExpected, "unexpected value array");
@@ -92,8 +92,8 @@ function assert_appcontrol_data(t, dataReceived, dataExpected) {
 }
 
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    launchError = this_test.step_func(function (error) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    launchError = t.step_func(function (error) {
         assert_unreached("launchAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
@@ -104,11 +104,11 @@ setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
                     null, null, null, dataSent);
 
     replyCB = {
-        onsuccess: this_test.step_func(function (dataReceived) {
-            assert_appcontrol_data(this_test, dataReceived, dataSent);
-            this_test.done();
+        onsuccess: t.step_func(function (dataReceived) {
+            assert_appcontrol_data(t, dataReceived, dataSent);
+            t.done();
         }),
-        onfailure: this_test.step_func(function () {
+        onfailure: t.step_func(function () {
             assert_unreached("onfailure callback called");
         })
     };
index 50952339a3ea47b91c67e920a28e71a8148c033b..7dd16496b125c1c3540e7cf0bc1130f42e1efe8d 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlData_constructor
-//==== LABEL: Check if ApplicationControlData constructor works
+//==== LABEL Check if ApplicationControlData constructor works
 //==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -44,7 +44,7 @@ test(function () {
     assert_equals(appControlData.key, key, "key is different");
     assert_equals(appControlData.value.length, value.length, "value is different");
     assert_equals(appControlData.value[0], value[0], "value is different");
-}, "ApplicationControlData_constructor");
+}, document.title);
 
 </script>
 </html>
index be51ceb6086b9a6ab445a885988d612cf9e30822..3004f4c51b99c4b45429950915daeee208030dc3 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationControlData_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlData_exist
-//==== LABEL: Check if ApplicationControlData exist and is a constructor
+//==== LABEL Check if ApplicationControlData exist and is a constructor
 //==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_constructor("ApplicationControlData");
-}, "ApplicationControlData_exist");
+}, document.title);
 
 </script>
 </body>
index badd779b2a2c75ade6f2b0f0a0fed8a9edcd8409..6dd9f63722d5a05f0e4765cb39df92ca887e9726 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationControlData_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlData_extend
-//==== LABEL: Check if ApplicationControlData can have new properties added
+//==== LABEL Check if ApplicationControlData can have new properties added
 //==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:ApplicationControlData U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -40,7 +40,7 @@ test(function () {
     var key = "image", value = ["photo.jpg"], appControlData;
     appControlData = new tizen.ApplicationControlData(key, value);
     check_extensibility(appControlData);
-}, "ApplicationControlData_extend");
+}, document.title);
 
 </script>
 </body>
index 80f30f542c3659228a8c3728b9e8991d839daa36..d6c8701d1f35425ec8f02abe53b8729ab2acfa7b 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationControlData_key_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlData_key_attribute
-//==== LABEL: Check if ApplicationControlData have key attribute with proper type, writable, not null
+//==== LABEL Check if ApplicationControlData have key attribute with proper type, writable, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:key A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ test(function () {
     appControlData.key = newKey;
     assert_equals(appControlData.key, newKey, "can not assign a valid value");
 
-}, "ApplicationControlData_key_attribute");
+}, document.title);
 
 </script>
 </body>
index 7e4be28abbd45e584c2761df76e08079cbb980e8..8144ab411fca8d857408eacf18fb3e6e12909956 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationControlData_value_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControlData_value_attribute
-//==== LABEL: Check if ApplicationControlData have value attribute with proper type, writable, not null
+//==== LABEL Check if ApplicationControlData have value attribute with proper type, writable, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:value A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ test(function () {
     appControlData.value = ["one", "two"];
     assert_not_equals(appControlData.value.length, tmp.length, "value is readonly");
 
-}, "ApplicationControlData_value_attribute");
+}, document.title);
 
 </script>
 </body>
index 2155bbf06e6e10a651b5c79529b292aed90ef1d4..50824c7621ade4a8e2dcfff17af4b36ead45935b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_category_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_category_attribute
-//==== LABEL check ApplicationControl.category attribute
+//==== LABEL Check attribute ApplicationControl::category existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:category A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -54,7 +54,7 @@ test(function () {
     assert_equals(appControl2.category, category, "category passed as constructor parameter is different than category in the object");
     appControl2.category = newCategory;
     assert_equals(appControl2.category, newCategory, "category can not be assigned a valid value");
-}, "ApplicationControl_category_attribute");
+}, document.title);
 
 </script>
 </body>
index 37ad8883f616471050a14e0a534dbe562bf7612d..29fd9a6de65087f26071cf34f8241db8c1e78f3c 100644 (file)
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_constructor
-//==== LABEL test whether constructor with all arguments are supported
+//==== LABEL Test whether constructor with all arguments are supported
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -61,7 +61,7 @@ test(function () {
     for (i = 0; i < data[0].value.length; i++) {
         assert_equals(appControl.data[0].value[i], data[0].value[i], "data passed as constructor parameter is different than data in the object");
     }
-}, "ApplicationControl_constructor");
+}, document.title);
 
 </script>
 </body>
index 6edd4d52a275c59e3771419ff589e79a564b4f63..18cd633e73992b434f26bffd8bebd35aef13e59f 100644 (file)
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_constructor_minargs
-//==== LABEL test whether constructor with non-optional argument are supported
+//==== LABEL Test whether constructor with non-optional argument are supported
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -52,7 +52,7 @@ test(function () {
     assert_equals(appControl.operation, operation,
         "the operation argument passed as constructor parameter is different than the operation attribute in the object");
 
-}, "ApplicationControl_constructor_minargs");
+}, document.title);
 
 </script>
 </body>
index 3be12c8a0f478f969aac2bf3c8f29371925d0083..c6f38846fb514fc07f0fc19447d85027664157a6 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_data_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_data_attribute
-//==== LABEL check ApplicationControl.data attribute
+//==== LABEL Check attribute ApplicationControl::data existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:data A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -64,7 +64,7 @@ test(function () {
     for (i = 0; i < appControl2.data[0].length; i++) {
         assert_equals(appControl2.data[0].value[i], newData[0].value[i], "data can not be assigned a valid value");
     }
-}, "ApplicationControl_data_attribute");
+}, document.title);
 
 </script>
 </body>
index 5f65e22e895495a5a48611e0adc90a2c4bd51bd0..19e126821b80cb1fca59c312b39fe92ecd619652 100644 (file)
@@ -29,14 +29,14 @@ Authors:
 <head>
 <title>ApplicationControl_exist</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>
 <div id="log"></div>
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_exist
-//==== LABEL check if ApplicationControl exist
+//==== LABEL Check if ApplicationControl exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_constructor("ApplicationControl");
-}, "ApplicationControl_exist");
+}, document.title);
 
 </script>
 </body>
index d0b4789720ca623e9a532bd002077fc52ad9b425..f214c5da32d3c115ffac0c889966fecd4dffc0c1 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_extend</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script>
 
 //==== TEST: ApplicationControl_extend
-//==== LABEL check if ApplicationControl possible extend
+//==== LABEL Check if ApplicationControl possible extend
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:ApplicationControl U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/share");
     check_extensibility(appControl);
-}, "ApplicationControl_extend");
+}, document.title);
 
 </script>
 </body>
index 46e7d460134d160e4f5b250fc009c0afceaebe46..eb3c1ab7c9095d1704eed7354df8e14cf30232a4 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_mime_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_mime_attribute
-//==== LABEL check ApplicationControl.mime attribute
+//==== LABEL Check attribute ApplicationControl::mime existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:mime A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -53,7 +53,7 @@ test(function () {
     assert_equals(appControl2.mime, mime, "mime passed as constructor parameter is different than mime in the object");
     appControl2.mime = newMime;
     assert_equals(appControl2.mime, newMime, "mime can not be assigned a valid value");
-}, "ApplicationControl_mime_attribute");
+}, document.title);
 
 </script>
 </body>
index 71242a4ccfc09c323ce81dc3cf7ab3268c72de82..f7a37c54dd3bb53ad62f58f2a57e472b4f41cee4 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_operation_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_operation_attribute
-//==== LABEL check ApplicationControl.operation attribute
+//==== LABEL Check attribute ApplicationControl::operation existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:operation A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -52,7 +52,7 @@ test(function () {
     assert_not_equals(appControl.operation, null, "can assign a null value");
     appControl.operation = operationNewValue;
     assert_equals(appControl.operation, operationNewValue, "can not assign a valid value");
-}, "ApplicationControl_operation_attribute");
+}, document.title);
 
 </script>
 </body>
index 9fa1c61ad9f06af36678cf35e2985b70ab708249..86552e4a464334587b261d82e69c4cd7c1cb561d 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationControl_uri_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationControl_uri_attribute
-//==== LABEL check ApplicationControl.uri attribute
+//==== LABEL Check attribute ApplicationControl::uri existence and type
 //==== SPEC Tizen Web API:Application:Application:ApplicationControl:uri A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -52,7 +52,7 @@ test(function () {
     assert_equals(appControl2.uri, uri, "uri passed as constructor parameter is different than uri in the object");
     appControl2.uri = newUri;
     assert_equals(appControl2.uri, newUri, "uri can not be assigned a valid value");
-}, "ApplicationControl_uri_attribute");
+}, document.title);
 
 </script>
 </body>
index 48559435714a335f3d3b9f5dc7783ff81964072b..4a0ca96ba03bf4b8e881ce02a2ebaa8ae6225384 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformationArraySuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationInformationArraySuccessCallback");
-}, "ApplicationInformationArraySuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 2ecbd458338d74d106b5eb6f10bb96944656e976..ade97d50ab51ca964ba4cf1602cd84c01caaea3a 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformationArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/app_common.js"></script>
 
 </head>
@@ -33,7 +33,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformationArraySuccessCallback_onsuccess
-//==== LABEL: Check if ApplicationInformationArraySuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if ApplicationInformationArraySuccessCallback onsuccess is called and if its arguments have proper type
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformationArraySuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -41,7 +41,7 @@ Authors:
 //==== TEST_CRITERIA CBT CBOA
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformationArraySuccessCallback_onsuccess", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError;
 
 t.step(function () {
index a3473d136b36cd09d8cea32e8e7838d75e2cb542..1c2ba75849d3b49afec0a39f3f4bb4ce7562f365 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>ApplicationInformationEventCallback_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformationEventCallback_notexist
-//==== LABEL check if ApplicationInformationEventCallback notexist
+//==== LABEL Check if ApplicationInformationEventCallback notexist
 //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:ApplicationInformationEventCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationInformationEventCallback");
-}, "ApplicationInformationEventCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index eeec3189549d2d456a1bf746f3d4451164eae9fc..ae6860e450a4a019d8034afc8b63191de7d2185a 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationInformationEventCallback_oninstalled</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformationEventCallback_oninstalled
-//==== LABEL check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback
 //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:oninstalled M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
@@ -50,13 +50,12 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationInformationEventCallback_oninstalled", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
 
-this_test.step(function () {
-    var appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function (appInfo) {
+        oninstalled: t.step_func(function (appInfo) {
             assert_type(appInfo, "object", "wrong type of received value");
             assert_true("id" in appInfo, "no id in returned value");
             assert_true("name" in appInfo, "no name in returned value");
@@ -68,18 +67,18 @@ this_test.step(function () {
             assert_true("size" in appInfo, "no size in returned value");
             assert_true("packageId" in appInfo, "no packageId in returned value");
             assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned");
-            this_test.done();
+            t.done();
         }),
-        onupdated: this_test.step_func(function () {
+        onupdated: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onuninstalled: this_test.step_func(function () {
+        onuninstalled: t.step_func(function () {
             assert_unreached("This function (onuninstalled) should not be used");
         })
     };
 
     watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "number", "wrong listener ID");
+    assert_type(watchId, "long", "wrong listener ID");
 
 });
 
index d1fb28a5f6a8e8b284322a0050f1359af9e9d7b0..c59debc3fe7f596c5418b0de4d4c29e23198a07a 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationInformationEventCallback_onuninstalled</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformationEventCallback_onuninstalled
-//==== LABEL check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback
 //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onuninstalled M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
@@ -50,27 +50,26 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationInformationEventCallback_onuninstalled", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
 
-this_test.step(function () {
-    var appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
+        oninstalled: t.step_func(function () {
             assert_unreached("This function (oninstalled) should not be used");
         }),
-        onupdated: this_test.step_func(function () {
+        onupdated: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onuninstalled: this_test.step_func(function (appId) {
+        onuninstalled: t.step_func(function (appId) {
             assert_type(appId, "string", "wrong type of received value");
             assert_equals(appId, APP_INFO_TEST_APP_ID, "wrong ApplicationId was returned");
-            this_test.done();
+            t.done();
         })
     };
 
     watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "number", "wrong listener ID");
+    assert_type(watchId, "long", "wrong listener ID");
 
 });
 
index 1db45d5dcb2f416c63575a5b5fa802c266912299..c105763a16fe293e3b72f79d6dea895776bd9cde 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationInformationEventCallback_onupdated</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformationEventCallback_onupdated
-//==== LABEL check argument passed into method which is onupdated listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback
 //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onupdated M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
@@ -50,16 +50,15 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationInformationEventCallback_onupdated", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
 
-this_test.step(function () {
-    var appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
+        oninstalled: t.step_func(function () {
             assert_unreached("This function (oninstalled) should not be used");
         }),
-        onupdated: this_test.step_func(function (appInfo) {
+        onupdated: t.step_func(function (appInfo) {
             assert_type(appInfo, "object", "wrong type of received value");
             assert_true("id" in appInfo, "no id in returned value");
             assert_true("name" in appInfo, "no name in returned value");
@@ -71,15 +70,15 @@ this_test.step(function () {
             assert_true("size" in appInfo, "no size in returned value");
             assert_true("packageId" in appInfo, "no packageId in returned value");
             assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned");
-            this_test.done();
+            t.done();
         }),
-        onuninstalled: this_test.step_func(function () {
+        onuninstalled: t.step_func(function () {
             assert_unreached("This function (onuninstalled) should not be used");
         })
     };
 
     watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "number", "wrong listener ID");
+    assert_type(watchId, "long", "wrong listener ID");
 
 });
 
index 8286e4ebbfe23470a016e42c4be39ee79ff527af..b5900e018cd9c419114f33f8645adad6c5dbbde8 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_categories_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_categories_attribute
-//==== LABEL: Check if ApplicationInformation have categories attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have categories attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:categories A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_categories_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info, tmp, i;
 
 t.step(function () {
index fe1972e1081cbc237ed4aac4f3091528a1d124b7..0732615238eb2ce1a13da3ec11e8dd5d2173047d 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_extend
-//==== LABEL: Check if ApplicationInformation can have new properties added
+//==== LABEL Check if ApplicationInformation can have new properties added
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:ApplicationInformation U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA OBX
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index 80c16f69b8722cbf3a16878dfcac14166da0714f..7e1ad17971a81f6ba6017bbc8b5ad1d8d700364b 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_iconPath_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_iconPath_attribute
-//==== LABEL: Check if ApplicationInformation have iconPath attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have iconPath attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:iconPath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_iconPath_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index 3db258eb000ad7195645a391cc52bb8cac6d5dee..fa73ff336cc1eaf1da4ba027bf2f2affa317f142 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_id_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/app_common.js"></script>
 
 </head>
@@ -32,7 +32,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_id_attribute
-//==== LABEL: Check if ApplicationInformation have id attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have id attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:id A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_id_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index b3866a221c7a5479a945441986d2984911888246..a8d27e6bea163de8973d620cf6efa99a006bc5dd 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_installDate_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_installDate_attribute
-//==== LABEL: Check if ApplicationInformation have installDate attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have installDate attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:installDate A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_installDate_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info, tmp;
 
 t.step(function () {
index 9f5e525d160ca42e6384f8096485a3296083acd9..f51609a68a1c31d81df60cf2e42a86b997238635 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_name_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_name_attribute
-//==== LABEL: Check if ApplicationInformation have name attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have name attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:name A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_name_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index de619bb7fc67183d5e63d313ea5c3ba3be3a5101..3e6ac7a0810791e278ec0c67d879f0cb34b47333 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationInformation");
-}, "ApplicationInformation_notexist");
+}, document.title);
 
 </script>
 </body>
index cd693869a611ba63d4ac2c1493d2925576c33a97..3cc60871dccdc720647dc4fa002a39827b68362d 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_packageId_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_packageId_attribute
-//==== LABEL: Check if ApplicationInformation have packageId attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have packageId attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:packageId A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_packageId_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index e74f3238b9f41394c04f30cde96f5354db91aa67..6b6a8fbaf0b37d19ff8d7c422dd002471242f464 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_show_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_show_attribute
-//==== LABEL: Check if ApplicationInformation have show attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have show attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:show A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_show_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index 0744f4fc5c1d0d6abda722bbe7e6e8a5143ce37d..e54f3899c85ac14b0bc6e8580a74c00e01718ab3 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_size_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_size_attribute
-//==== LABEL: Check if ApplicationInformation have size attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have size attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:size A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_size_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index f5f188b7a5426898ee6a8f7724c7b46b17226ba5..447ef077c7db1b5c66726a71f3ad98423b17bddc 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationInformation_version_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,7 +30,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationInformation_version_attribute
-//==== LABEL: Check if ApplicationInformation have version attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have version attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:version A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA AE AT ARO
 setup({timeout: 90000});
 
-var t = async_test("ApplicationInformation_version_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
     getSuccess, getError, info;
 
 t.step(function () {
index f6f1daed14959834024e72106e9785378173e72a..83a33e2aa5d33ffe5287cf886ebc38d0bb5331fa 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManagerObject_notexist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManagerObject_notexist
-//==== LABEL check if ApplicationManagerObject not exist
+//==== LABEL Check if ApplicationManagerObject not exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManagerObject:ApplicationManagerObject U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationManagerObject");
-}, "ApplicationManagerObject_notexist");
+}, document.title);
 
 </script>
 </body>
index 47f2570f8632891b0ee0c7d6c03c40edf39ca775..3bccdd0eeb0f3093ebac96f1a5fb5c779b81e461 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch
-//==== LABEL check non-optional argument 'ApplicationInformationEventCallback' type conversion
+//==== LABEL Check non-optional argument 'ApplicationInformationEventCallback' type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -52,7 +52,7 @@ test(function () {
         }, "exception should be thrown");
     }
 
-});
+}, document.title);
 
 </script>
 </body>
index 79ec519ad46d98eb2b9a9be8735b6abaf5558405..ea5a1f59fe2d4721ca6338aca4c974408e9d30b9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,14 +37,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
+//==== LABEL Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MTL
 
 test(function () {
-    var i, conversionTable = getListenerConversionExceptions(["oninstalled","onupdated","onuninstalled"]);
+    var i, conversionTable = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
 
     for (i = 0; i < conversionTable.length; i++) {
         assert_throws({name: conversionTable[i][1]}, function () {
@@ -52,7 +52,7 @@ test(function () {
         }, "an exception should be thrown");
     }
 
-});
+}, document.title);
 
 </script>
 </body>
index 09a090eca98d5e8bb947dc00409b3293674b8c40..b6cfe36c56211de63130c908f0486d7e4ad70c53 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_exist
-//==== LABEL check if method addAppInfoEventListener exist
+//==== LABEL Check if method addAppInfoEventListener exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "addAppInfoEventListener");
-}, "ApplicationManager_addAppInfoEventListener_exist");
+}, document.title);
 
 </script>
 </body>
index fd4a1ab297cf0f93178c298f0a18b7a8901019a0..3a4d3768d3b00b218707bf140d5804ada7140eb0 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_missarg</title>
 <meta charset="utf-8">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,17 +37,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_missarg
-//==== LABEL check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
+//==== LABEL Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.addAppInfoEventListener();
     }, "method was called without ApplicationInformationEventCallback but exception was not thrown");
-}, "ApplicationManager_addAppInfoEventListener_missarg");
+}, document.title);
 
 </script>
 </body>
index f7300ec85a71d83ad14d20bc436031d7f2e532bd..151c1b2986bbf1d6c8f0b54cfe53f88f2ac7c86d 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_oninstalled</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_oninstalled
-//==== LABEL check using addAppInfoEventListener method (installation process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (installation process) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
@@ -50,18 +50,17 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_oninstalled", {timeout: 300000});
-this_test.step(function () {
-    var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
-            this_test.done();
+        oninstalled: t.step_func(function () {
+            t.done();
         }),
-        onupdated: this_test.step_func(function () {
+        onupdated: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onuninstalled: this_test.step_func(function () {
+        onuninstalled: t.step_func(function () {
             assert_unreached("This function (onuninstalled) should not be used");
         })
     };
index cb75cf45d1d7e53498bfb1385047407587650658..405e95eaa78d9a0e96d04a014c4a8ecc647e0a9a 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_onuninstalled</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_onuninstalled
-//==== LABEL check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
@@ -50,19 +50,18 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_onuninstalled", {timeout: 300000});
-this_test.step(function () {
-    var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
+        oninstalled: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onupdated: this_test.step_func(function () {
+        onupdated: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onuninstalled: this_test.step_func(function () {
-            this_test.done();
+        onuninstalled: t.step_func(function () {
+            t.done();
         })
     };
 
index a05ac6c128782119d810620d77ec04b726a72a18..8349ce186ecad9be47e4eccc7925dcf22bb059ab 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_addAppInfoEventListener_onupdated</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_addAppInfoEventListener_onupdated
-//==== LABEL check using addAppInfoEventListener method (updating process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (updating process) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
@@ -50,18 +50,17 @@ Authors:
 
 setup({timeout: 300000});
 
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_onupdated", {timeout: 300000});
-this_test.step(function () {
-    var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
+        oninstalled: t.step_func(function () {
             assert_unreached("This function (oninstalled) should not be used");
         }),
-        onupdated: this_test.step_func(function () {
-            this_test.done();
+        onupdated: t.step_func(function () {
+            t.done();
         }),
-        onuninstalled: this_test.step_func(function () {
+        onuninstalled: t.step_func(function () {
             assert_unreached("This function (onuninstalled) should not be used");
         })
     };
index 1fd03112f3189405f03009eabe9b42102d437914..4b5e1fa77b3483ec8c1a34c15c14ad03b74ead60 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_extend</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script>
 
 //==== TEST: ApplicationManager_extend
-//==== LABEL check if ApplicationManager possible extend
+//==== LABEL Check if ApplicationManager possible extend
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_extensibility(tizen.application);
-}, "ApplicationManager_extend");
+}, document.title);
 
 </script>
 </body>
index a0d4a0a66f57ecf13c91b304a5e716022009bbac..0dacce5e5c265721ef68c7d1f39b79892fbc9922 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl
-//==== LABEL check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control
+//==== LABEL Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,16 +47,16 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl", {timeout: 30000}), i, findSuccess, appControl, retVal = null;
+var t = async_test(document.title, {timeout: 30000}), i, findSuccess, appControl, retVal = null;
 
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION,
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI,
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME
     );
 
-    findSuccess = this_test.step_func(function (appInfos, appControl) {
+    findSuccess = t.step_func(function (appInfos, appControl) {
         assert_equals(retVal, undefined, "incorrect returned value");
         assert_type(appInfos, "array", "incorrect type of the received value");
         assert_equals(appInfos.length, 2, "incorrect length of the received array");
@@ -76,7 +76,7 @@ this_test.step(function () {
             }
         }
         assert_true(appControl instanceof tizen.ApplicationControl, "wrong ApplicationControl");
-        this_test.done();
+        t.done();
     });
 
     retVal = tizen.application.findAppControl(appControl, findSuccess);
index 17009840795284d74a4ed4be9416538efdeb447f..bdac483cb072c1f1db9a366ba2cff4be1eef2385 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_appControl_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_appControl_TypeMismatch
-//==== LABEL check non-optional argument ApplicationControl (findAppControl method) type conversion
+//==== LABEL Check non-optional argument ApplicationControl (findAppControl method) type conversion
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -46,11 +46,11 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_appControl_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     i, findSuccess, conversionTable = getTypeConversionExceptions("object");
 
-this_test.step(function () {
-    findSuccess = this_test.step_func(function () {
+t.step(function () {
+    findSuccess = t.step_func(function () {
         assert_unreached("this function should not be run");
     });
 
@@ -60,7 +60,7 @@ this_test.step(function () {
         }, "exception should be thrown");
     }
 
-    this_test.done();
+    t.done();
 
 }, "ApplicationManager_findAppControl_appControl_TypeMismatch");
 
index 5861d5a0a9fb3e399342cc86987a20cdb4eb84ea..6702da56450325b618850a2209bca0d68854b04d 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_appControl_invalid_obj</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_appControl_invalid_obj
-//==== LABEL check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -48,25 +47,25 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_appControl_invalid_obj", {timeout: 30000}), findSuccess, appControl;
-this_test.step(function () {
+var t = async_test(document.title, {timeout: 30000}), findSuccess, appControl;
+t.step(function () {
     appControl = {
         operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
         uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
-        mime : TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
-        category : "/opt",
-        data : [new tizen.ApplicationControlData("key", ["value1", "value2"])]
+        mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
+        category: "/opt",
+        data: [new tizen.ApplicationControlData("key", ["value1", "value2"])]
     };
 
-    findSuccess = this_test.step_func(function () {
+    findSuccess = t.step_func(function () {
         assert_unreached("this function should not be run");
     });
 
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.findAppControl(appControl, findSuccess);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 }, "ApplicationManager_findAppControl_appControl_invalid_obj");
 
 </script>
index 553e11c46984278145343729048b9a8e078c02c7..c4bc57eaf441b3554d7e3d733b9606f91bc387ab 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (findAppControl method) type conversion
+//==== LABEL Check optional argument errorCallback (findAppControl method) type conversion
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,15 +47,15 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_errorCallback_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     i, findSuccess, conversionTable = getTypeConversionExceptions("functionObject", true), appControl;
 
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
-    findSuccess = this_test.step_func(function () {
+    findSuccess = t.step_func(function () {
         assert_unreached("this function should not be run");
     });
 
@@ -65,7 +65,7 @@ this_test.step(function () {
         }, "exception should be thrown");
     }
 
-    this_test.done();
+    t.done();
 
 });
 
index 29e13bfd9288a6d9bb83267edd59e9dd76d19e87..c9d0c6fdbac19470c9c2267fa3677dddf4b96acb 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -48,19 +47,19 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_errorCallback_invalid_cb", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     findSuccess, findErrorFunc, findError, appControl;
 
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
-    findSuccess = this_test.step_func(function () {
+    findSuccess = t.step_func(function () {
         assert_unreached("this function should not be run");
     });
 
-    findErrorFunc = this_test.step_func(function (error) {
+    findErrorFunc = t.step_func(function (error) {
         assert_unreached("findAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
@@ -68,11 +67,11 @@ this_test.step(function () {
         onerror: findErrorFunc
     };
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.findAppControl(appControl, findSuccess, findError);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 });
 
 </script>
index bcbdf23222a8d71eeb718cb210db2880f9d78e0d..f6202d1d5e8dbf6edec3061b11418dedcf2c4514 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_exist
-//==== LABEL check if method findAppControl exist
+//==== LABEL Check if method findAppControl exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "findAppControl");
-}, "ApplicationManager_findAppControl_exist");
+}, document.title);
 
 </script>
 </body>
index 5d961aea448749b69c7de8002edc91fbe13d5f19..52e13dae27c520035dcb6acbd21fdd2e286b1e69 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_missarg</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,17 +38,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_missarg
-//==== LABEL check findAppControl with missing non-optional argument
+//==== LABEL Check findAppControl with missing non-optional argument
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.findAppControl();
     }, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_findAppControl_missarg");
+}, document.title);
 
 </script>
 </body>
index 2a0888bd87661bafb113960d4fa6fcb23660c162..1e1c0624d4ac7fa5394a61a09dc6dbd0cf389ca6 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (findAppControl method) type conversion
+//==== LABEL Check non-optional argument successCallback (findAppControl method) type conversion
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,9 +47,9 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_successCallback_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     i, conversionTable = getTypeConversionExceptions("functionObject"), appControl;
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
@@ -60,7 +60,7 @@ this_test.step(function () {
         }, "exception should be thrown");
     }
 
-    this_test.done();
+    t.done();
 
 }, "ApplicationManager_findAppControl_successCallback_TypeMismatch");
 
index c4930436274f719db9e141e9c29845e9cc7ddb99..1f43ebd426f442c3dbb5805ab2fef28059841441 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -48,25 +47,25 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_successCallback_invalid_cb", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     findSuccess, findSuccessFunc, appControl;
 
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
-    findSuccessFunc = this_test.step_func(function () {
+    findSuccessFunc = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
     findSuccess = { onsuccess: findSuccessFunc };
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.findAppControl(appControl, findSuccess);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 
 }, "ApplicationManager_findAppControl_successCallback_invalid_cb");
 
index f88162a701f32df659e99dc874d55636aebefaa0..bfad531ed843928890859dfe3121ca56131ddae4 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_successCallback_missarg</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_successCallback_missarg
-//==== LABEL check findAppControl with missing non-optional successCallback argument
+//==== LABEL Check findAppControl with missing non-optional successCallback argument
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,10 +46,10 @@ Authors:
 
 test(function () {
     var appControl = new tizen.ApplicationControl(TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION);
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.findAppControl(appControl);
     }, "Method was called without successCallback but exception was not thrown");
-}, "ApplicationManager_findAppControl_successCallback_missarg");
+}, document.title);
 
 </script>
 </body>
index ef8e00aa88fca4b3b19ded2219064d8d8864bac9..2ae9c98038e17ef5c7eeb1243f707ea58541043d 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_findAppControl_with_errorCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_findAppControl_with_errorCallback
-//==== LABEL check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,17 +47,17 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_findAppControl_with_errorCallback", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     i, findSuccess, findError, appControl;
 
-this_test.step(function () {
+t.step(function () {
     appControl = new tizen.ApplicationControl(
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION,
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI,
         TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME
     );
 
-    findSuccess = this_test.step_func(function (appInfos, appControl) {
+    findSuccess = t.step_func(function (appInfos, appControl) {
         assert_type(appInfos, "array", "incorrect type of the received value");
         assert_equals(appInfos.length, 2, "incorrect length of the received array");
         for (i = 0; i < appInfos.length; i++) {
@@ -76,10 +76,10 @@ this_test.step(function () {
             }
         }
         assert_true(appControl instanceof tizen.ApplicationControl, "wrong ApplicationControl");
-        this_test.done();
+        t.done();
     });
 
-    findError = this_test.step_func(function (error) {
+    findError = t.step_func(function (error) {
         assert_unreached("findAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
index 0878d6a73c4b79a2f5c2fddb2a3dadae15737c5a..d38fe10f126ee0b0afb1d0a4cf87dccd26bfa494 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppCerts</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppCerts
-//==== LABEL check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application
+//==== LABEL Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -52,7 +52,7 @@ test(function () {
         assert_true("type" in appCerts[i], "no type in returned value");
         assert_true("value" in appCerts[i], "no value in returned value");
     }
-}, "ApplicationManager_getAppCerts");
+}, document.title);
 
 </script>
 </body>
index fbd6d2e791fc848cbadfe546bbe9559da150cc21..c1b29b63f9cfdc7acd9b931a69eef27b62a9ca47 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppCerts_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppCerts_exist
-//==== LABEL check if method getAppCerts exist
+//==== LABEL Check if method getAppCerts exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppCerts");
-}, "ApplicationManager_getAppCerts_exist");
+}, document.title);
 
 </script>
 </body>
index 81e663ecff76efa265507bec08f2817fc6f33027..a938c7417a3d07e3ee7b3be3110d33fbc4551be3 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppCerts_with_id</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppCerts_with_id
-//==== LABEL check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates
+//==== LABEL Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -53,7 +53,7 @@ test(function () {
         assert_true("type" in appCerts[i], "no type in returned value");
         assert_true("value" in appCerts[i], "no value in returned value");
     }
-}, "ApplicationManager_getAppCerts_with_id");
+}, document.title);
 
 </script>
 </body>
index 115bbc5caec4d3f20d6f565dc94ae7cf049eb2e4..05fdcdcf01c37d3bc0b5fbb1fb3d8fd97345bf53 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppContext</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppContext
-//==== LABEL check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application
+//==== LABEL Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -50,7 +50,7 @@ test(function () {
     assert_true("id" in appContext, "no id in returned value");
     assert_true("appId" in appContext, "no appId in returned value");
     assert_equals(appContext.appId, THIS_APP_ID, "wrong ApplicationContext was returned");
-}, "ApplicationManager_getAppContext");
+}, document.title);
 
 </script>
 </body>
index 71e59c39e06f5cde8318c5a33265da5361003595..c0ae02d5b9b2201cfcead89afccf711e1b98b6c5 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppContext_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppContext_exist
-//==== LABEL check if method getAppContext exist
+//==== LABEL Check if method getAppContext exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppContext");
-}, "ApplicationManager_getAppContext_exist");
+}, document.title);
 
 </script>
 </body>
index 3b47c93a693315b8d2fa4a69b5c3238df29d3c97..57b93e32cc480147de66c047eca7379bb3b55d9f 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppContext_with_contextId</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppContext_with_contextId
-//==== LABEL check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId
+//==== LABEL Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -56,7 +56,7 @@ test(function () {
 
     assert_equals(appContext1.id, appContext2.id, "wrong ApplicationContext was found");
     assert_equals(appContext1.appId, appContext2.appId, "wrong ApplicationContext was found");
-}, "ApplicationManager_getAppContext_with_contextId");
+}, document.title);
 
 </script>
 </body>
index 794a8f63173f33a594370cc1c9063c35056240d5..82f010ab1eccbc51ca17fe6aa9d4c12070ce74c9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppInfo</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppInfo
-//==== LABEL check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application
+//==== LABEL Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -57,7 +57,7 @@ test(function () {
     assert_true("size" in appInfo, "no size in returned value");
     assert_true("packageId" in appInfo, "no packageId in returned value");
     assert_equals(appInfo.id, THIS_APP_ID, "wrong ApplicationInformation was returned");
-}, "ApplicationManager_getAppInfo");
+}, document.title);
 
 </script>
 </body>
index 7baafbd38f4abe1afa9e66efb7f3adc47151e915..95f45ef4211aa90860c0d0b2c47fc4f17ce4c7d1 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppInfo_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppInfo_exist
-//==== LABEL check if method getAppInfo exist
+//==== LABEL Check if method getAppInfo exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppInfo");
-}, "ApplicationManager_getAppInfo_exist");
+}, document.title);
 
 </script>
 </body>
index b79bb33540c95226b5910581498602b49fc1d98b..6081b24ad13f4fb086ce077d49d79b91d82e4a1c 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppInfo_with_id</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppInfo_with_id
-//==== LABEL check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId
+//==== LABEL Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -65,7 +65,7 @@ test(function () {
         }
     }
 
-}, "ApplicationManager_getAppInfo_with_id");
+}, document.title);
 
 </script>
 </body>
index 3c306d889cb337796a70906c2378b5f5b51d1dd9..693ee4ee4f15def82d07bdbd8bfdec112bfcd9d0 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppMetaData</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -54,7 +54,7 @@ test(function () {
     assert_equals(appMetaData.length, 1, "Incorrect number of metadata.");
     assert_equals(appMetaData[0].key, METADATA_KEY, "Incorrect metadata key");
     assert_equals(appMetaData[0].value, METADATA_VALUE, "Incorrect metadata value");
-}, "ApplicationManager_getAppMetaData");
+}, document.title);
 
 </script>
 </body>
index b9d8aeaa5df8c9f994b7e151ec24b14984bfbf93..4017cb9ff4e0c3fdbf4f6cd7984353d49c69fa38 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppMetaData_exist</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>
@@ -35,7 +35,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppMetaData_exist
-//==== LABEL check if method ApplicationManager::getAppMetaData exists
+//==== LABEL Check if method ApplicationManager::getAppMetaData exists
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppMetaData M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -43,7 +43,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppMetaData");
-}, "ApplicationManager_getAppMetaData_exist");
+}, document.title);
 
 </script>
 </body>
index fd335b50e99fe81734ff4957393dab9d0a8e5853..9cc04d003ca65256330ab75d1442795868e27acd 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppMetaData_with_id</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -56,7 +56,7 @@ test(function () {
         assert_equals(appMetaData[i].value, TCT_APPCONTROL_APPID_METADATA[key], "Incorrect value");
         delete TCT_APPCONTROL_APPID_METADATA[key];
     }
-}, "ApplicationManager_getAppMetaData_with_id");
+}, document.title);
 
 </script>
 </body>
index 80e639c044b731ea1449a1ccdf255e1f864c6d58..c3b447f4c896690bce262825c3d1aefccb611f97 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppSharedURI</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppSharedURI
-//==== LABEL check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application
+//==== LABEL Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var sharedDir = tizen.application.getAppSharedURI();
     assert_type(sharedDir, "string", "type of the found value is not properly");
-}, "ApplicationManager_getAppSharedURI");
+}, document.title);
 
 </script>
 </body>
index 05051c058f31438df36ffa6c07cec5e922b9fa06..1ad37774dd4e39869c74a5559c92e5fd8ed8ea63 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppSharedURI_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppSharedURI_exist
-//==== LABEL check if method getAppSharedURI exist
+//==== LABEL Check if method getAppSharedURI exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppSharedURI");
-}, "ApplicationManager_getAppSharedURI_exist");
+}, document.title);
 
 </script>
 </body>
index 268e30916e0294c496dbffe176b1a012b70f1651..df7bab007ed221dea5f23a9adadd32ef1f526d0b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppSharedURI_with_id</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppSharedURI_with_id
-//==== LABEL check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId
+//==== LABEL Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ Authors:
 test(function () {
     var sharedDir = tizen.application.getAppSharedURI(TCT_APPCONTROL_APPID);
     assert_type(sharedDir, "string", "type of the found value is not properly");
-}, "ApplicationManager_getAppSharedURI_with_id");
+}, document.title);
 
 </script>
 </body>
index e3a7fa1a35f8ae6b3b72ef3745a8e2868058222c..05a8f357b41ec34d4108ec0f018e03222a057c0e 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext
-//==== LABEL check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device
+//==== LABEL Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,14 +47,13 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsContext", {timeout: 30000});
+var t = async_test(document.title, {timeout: 30000}), getSuccess, i, foundCurrentApplication = false, retVal = null;
 
-this_test.step(function () {
-    var getSuccess, i, foundCurrentApplication = false, retVal = null;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function (appContextArray) {
+    getSuccess = t.step_func(function (appContextArray) {
         assert_equals(retVal, undefined, "incorrect returned value");
-        assert_type(appContextArray ,"array", "type of the found value is not properly");
+        assert_type(appContextArray , "array", "type of the found value is not properly");
         for (i = 0; i < appContextArray.length; i++) {
             assert_type(appContextArray[i], "object", "type of the found value is not properly");
             assert_true("id" in appContextArray[i], "no id in returned value");
@@ -67,7 +66,7 @@ this_test.step(function () {
             assert_unreached("current application context wasn't found");
         }
 
-        this_test.done();
+        t.done();
     });
 
     retVal = tizen.application.getAppsContext(getSuccess);
index c52806bebe5160440917f6fc07213b3a2759906c..d2a3ee49216dc568673b145cc5dc4ab3aaa40002 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (getAppsContext method) type conversion
+//==== LABEL Check optional argument errorCallback (getAppsContext method) type conversion
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -46,11 +46,11 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsContext_errorCallback_TypeMismatch", {timeout: 30000});
-this_test.step(function () {
-    var i, getCallback, conversionTable = getTypeConversionExceptions("functionObject", true);
+var t = async_test(document.title, {timeout: 30000}), i, getCallback, conversionTable = getTypeConversionExceptions("functionObject",
+    true);
+t.step(function () {
 
-    getCallback = this_test.step_func(function () {
+    getCallback = t.step_func(function () {
         assert_unreached("this function should not be run");
     });
 
@@ -60,7 +60,7 @@ this_test.step(function () {
         }, "exception should be thrown");
     }
 
-    this_test.done();
+    t.done();
 
 });
 
index 060adf66d8ef7a8af3d6511645bc7c6986e3f68d..8a214aca69cdf0a04d074409a3b9dc2d39f2f964 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,15 +46,14 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsContext_errorCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
-    var getSuccess, getError, getErrorFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, getErrorFunc;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function () {
+    getSuccess = t.step_func(function () {
         assert_unreached("application should not be run");
     });
 
-    getErrorFunc = this_test.step_func(function (error) {
+    getErrorFunc = t.step_func(function (error) {
         assert_unreached("getAppsContext() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
@@ -63,11 +61,11 @@ this_test.step(function () {
         onerror: getErrorFunc
     };
 
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsContext(getSuccess, getError);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 
 });
 
index 161d8c7cc83eeac3e2018cd6949234e43e369dde..58d7281b8dca298859298141764c39409ac0baca 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_exist
-//==== LABEL check if method getAppsContext exist and can be overriden
+//==== LABEL Check if method getAppsContext exist and can be overriden
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppsContext");
-}, "ApplicationManager_getAppsContext_exist");
+}, document.title);
 
 </script>
 </body>
index e1b194e27488991d622b9dd9783ea5829bb1cd18..375df8416d059dee8f0021945d528d0b5f57fe5f 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_missarg</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,17 +37,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_missarg
-//==== LABEL getAppsContext - check with missing non-optional argument
+//==== LABEL GetAppsContext - check with missing non-optional argument
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsContext();
     }, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_getAppsContext_missarg");
+}, document.title);
 
 </script>
 </body>
index 078a3e048a7fe21426e574243df1e86a0a73d16b..7792d7bb9743262c7f17718e6a7c5093683640c5 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (getAppsContext method) type conversion
+//==== LABEL Check non-optional argument successCallback (getAppsContext method) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -50,7 +50,7 @@ test(function () {
             tizen.application.getAppsContext(conversionTable[i][0]);
         }, "exception should be thrown");
     }
-}, "ApplicationManager_getAppsContext_successCallback_TypeMismatch");
+}, document.title);
 
 </script>
 </body>
index 75965d9acd810fde6c8fe046b3e85fde98a85b04..126e29b6f187e673c1906cf90ce2909c00514a43 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -48,11 +47,10 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsContext_successCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
-    var getSuccess, getSuccessFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getSuccessFunc;
+t.step(function () {
 
-    getSuccessFunc = this_test.step_func(function () {
+    getSuccessFunc = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
@@ -60,11 +58,11 @@ this_test.step(function () {
         onsuccess: getSuccessFunc
     };
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsContext(getSuccess);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 
 });
 
index 0ab75c8da0529a7e4cdf2c3de9bac5170acd94db..549c967c2b5fc6df293b171b9fdac8c77ab171ac 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsContext_with_errorCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsContext_with_errorCallback
-//==== LABEL check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,13 +47,12 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsContext_with_errorCallback", {timeout: 30000});
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, i, foundCurrentApplication = false;
 
-this_test.step(function () {
-    var getSuccess, getError, i, foundCurrentApplication = false;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function (appContextArray) {
-        assert_type(appContextArray ,"array", "type of the found value is not properly");
+    getSuccess = t.step_func(function (appContextArray) {
+        assert_type(appContextArray , "array", "type of the found value is not properly");
         for (i = 0; i < appContextArray.length; i++) {
             assert_type(appContextArray[i], "object", "type of the found value is not properly");
             assert_true("id" in appContextArray[i], "no id in returned value");
@@ -65,10 +64,10 @@ this_test.step(function () {
         if (!foundCurrentApplication) {
             assert_unreached("current application context wasn't found");
         }
-        this_test.done();
+        t.done();
     });
 
-    getError = this_test.step_func(function (error) {
+    getError = t.step_func(function (error) {
         assert_unreached("getAppsContext() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
index 55508e1ed827989a13dbd27929adc20f2a53e871..254ab026f7fd092e4cc1dd8da507708b8d7eda16 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo
-//==== LABEL check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,15 +46,14 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 setup({timeout: 90000});
 
-var this_test=async_test("ApplicationManager_getAppsInfo", {timeout: 90000});
-this_test.step(function () {
-    var getSuccess, retVal = null;
+var t=async_test(document.title, {timeout: 90000}), getSuccess, retVal = null;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function (appInfo) {
+    getSuccess = t.step_func(function (appInfo) {
         assert_equals(retVal, undefined, "incorrect returned value");
         assert_type(appInfo, "array", "type of the found value is not properly");
         assert_true(appInfo.length > 0, "information was not found");
-        this_test.done();
+        t.done();
     });
 
     retVal = tizen.application.getAppsInfo(getSuccess);
index 5ad85db00541d0fa7a86674776c8a8584fddad1e..eab927f1f0ce68a61e0317e47fc6b63c2ab29ac4 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (getAppsInfo method) type conversion
+//==== LABEL Check optional argument errorCallback (getAppsInfo method) type conversion
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -46,11 +46,11 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsInfo_errorCallback_TypeMismatch", {timeout: 30000});
-this_test.step(function () {
-    var i, getSuccess, conversionTable = getTypeConversionExceptions("functionObject", true);
+var t = async_test(document.title, {timeout: 30000}), i, getSuccess, conversionTable = getTypeConversionExceptions("functionObject",
+    true);
+t.step(function () {
 
-    getSuccess = this_test.step_func(function () {
+    getSuccess = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
@@ -60,7 +60,7 @@ this_test.step(function () {
         }, "exception should be thrown");
     }
 
-    this_test.done();
+    t.done();
 
 });
 
index 6458c6b758a488d2b9e0349649eb8a5638fdb425..d5935d785ff58a61fb1a79b25453248d9220814c 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,15 +46,14 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsInfo_errorCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
-    var getSuccess, getError, getErrorFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, getErrorFunc;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function () {
+    getSuccess = t.step_func(function () {
         assert_unreached("application should not be run");
     });
 
-    getErrorFunc = this_test.step_func(function (error) {
+    getErrorFunc = t.step_func(function (error) {
         assert_unreached("getAppsInfo() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
@@ -63,11 +61,11 @@ this_test.step(function () {
         onerror: getErrorFunc
     };
 
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsInfo(getSuccess, getError);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 
 });
 
index b5e6c7ca1f485f62cf5679e3a2ebc697b036506e..ef6eb8c0c17e405b5246fd80c0d7896f7e0d24a9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_exist
-//==== LABEL check if method getAppsInfo exist
+//==== LABEL Check if method getAppsInfo exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getAppsInfo");
-}, "ApplicationManager_getAppsInfo_exist");
+}, document.title);
 
 </script>
 </body>
index 32248e32a8c45c6b5aad3ceeca3f68f14e543192..842a5846f12219b86af34bf53f1c8cad6560f5f1 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_missarg</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -45,10 +44,10 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsInfo();
     }, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_getAppsInfo_missarg");
+}, document.title);
 
 </script>
 </body>
index 9a63a432b221a02a751e106e9d2db7ab0413010e..8022257ee0703706ee9903f6ed2bc66f85ce92b7 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (getAppsInfo method) type conversion
+//==== LABEL Check non-optional argument successCallback (getAppsInfo method) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -50,7 +50,7 @@ test(function () {
             tizen.application.getAppsInfo(conversionTable[i][0]);
         }, "exception should be thrown");
     }
-}, "ApplicationManager_getAppsInfo_successCallback_TypeMismatch");
+}, document.title);
 
 </script>
 </body>
index 0c4493a4000f1194c2a9f6c6a6bc441cdb62c9c0..491d34e110a87a6aacc49eadd26714636238c6d1 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -48,11 +47,10 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_getAppsInfo_successCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
-    var getSuccess, getSuccessFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getSuccessFunc;
+t.step(function () {
 
-    getSuccessFunc = this_test.step_func(function () {
+    getSuccessFunc = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
@@ -60,11 +58,11 @@ this_test.step(function () {
         onsuccess: getSuccessFunc
     };
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.getAppsInfo(getSuccess);
     }, "exception should be thrown");
 
-    this_test.done();
+    t.done();
 
 });
 
index 0cc7ff198ab814f95a1be8c8e1fb2ec20392ebf0..960b4a5ce46fa85d87f1076f3a620861c351c742 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getAppsInfo_with_errorCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getAppsInfo_with_errorCallback
-//==== LABEL check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,18 +46,17 @@ Authors:
 //==== TEST_CRITERIA MOA
 setup({timeout: 90000});
 
-var this_test = async_test("ApplicationManager_getAppsInfo_with_errorCallback", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000}), getSuccess, getError;
 
-this_test.step(function () {
-    var getSuccess, getError;
+t.step(function () {
 
-    getSuccess = this_test.step_func(function (appInfo) {
+    getSuccess = t.step_func(function (appInfo) {
         assert_type(appInfo, "array", "type of the found value is not properly");
         assert_true(appInfo.length > 0, "information was not found");
-        this_test.done();
+        t.done();
     });
 
-    getError = this_test.step_func(function (error) {
+    getError = t.step_func(function (error) {
         assert_unreached("getAppsInfo() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
index 890fe8b479335aba574a6763821f948883c1e6fd..983c5a5efc65be28cc230097d90ad6e15aba9a11 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getCurrentApplication</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getCurrentApplication
-//==== LABEL check using getCurrentApplication method in ApplicationManager interface to get current Application object
+//==== LABEL Check using getCurrentApplication method in ApplicationManager interface to get current Application object
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -51,7 +51,7 @@ test(function () {
     assert_true("exit" in app, "no exit in returned value");
     assert_true("hide" in app, "no hide in returned value");
     assert_true("getRequestedAppControl" in app, "no getRequestedAppControl in returned value");
-}, "ApplicationManager_getCurrentApplication");
+}, document.title);
 
 </script>
 </body>
index 007ca4adae4261451a72d543d60f5e339207ee3d..370d7247c591b29d01d4b1c3bab69f1f5750a585 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getCurrentApplication_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getCurrentApplication_exist
-//==== LABEL check if method getCurrentApplication exist
+//==== LABEL Check if method getCurrentApplication exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "getCurrentApplication");
-}, "ApplicationManager_getCurrentApplication_exist");
+}, document.title);
 
 </script>
 </body>
index 810ada9e2d1f6d42dc988e02ce2ad0738bacc4e4..1ea458e64bf8ebc595642d302ae8e29e03294589 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_getCurrentApplication_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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_getCurrentApplication_extra_argument
-//==== LABEL check using getCurrentApplication with extra argument to get current Application object
+//==== LABEL Check using getCurrentApplication with extra argument to get current Application object
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     checkExtraArgument(tizen.application, "getCurrentApplication");
-}, "ApplicationManager_getCurrentApplication_extra_argument");
+}, document.title);
 
 </script>
 </body>
index f8476b97569c49405620a1c79b9791d38c15c701..97994059381d5225f42bb812a277ef36694fbca9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_in_tizen</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,16 +37,16 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_in_tizen
-//==== LABEL check if ApplicationManager exist in tizen
+//==== LABEL Check if ApplicationManager exist in tizen
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
 //==== TEST_CRITERIA OBME
 
 test(function () {
-    assert_true("application" in tizen,"no ApplicationManager in tizen");
+    assert_true("application" in tizen, "no ApplicationManager in tizen");
     check_readonly(tizen, "application", tizen.application, "object", "dummyValue");
-}, "ApplicationManager_in_tizen");
+}, document.title);
 
 </script>
 </body>
index 6bcd42d2f9d3f2e30417027687dbc2a0c1ae5700..cab20f48263cfea312587a047f15dcd7168cd6b2 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill
-//==== LABEL check using kill method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using kill method (with non-optional arguments) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,21 +46,21 @@ Authors:
 //==== TEST_CRITERIA MMINA MAST MR
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchError, retVal = null;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
             retVal = tizen.application.kill(context.id);
-            assert_kill(this_test, TCT_APPCONTROL_APPID, function () {
+            assert_kill(t, TCT_APPCONTROL_APPID, function () {
                 assert_equals(retVal, undefined, "incorrect returned value");
-                this_test.done();
+                t.done();
             });
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index fe5089aed190518ca26594adb2b73f4b5579ecfd..ef5c33cfce7ab54b376379037c9c09974232499e 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (kill) type conversion
+//==== LABEL Check optional argument 'onError' (kill) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -46,29 +46,29 @@ Authors:
 //==== TEST_CRITERIA MC
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_errorCallback_TypeMismatch", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, killSuccess, launchSuccess, launchError, conversionTable = getTypeConversionExceptions("functionObject", true);
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    killSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    killSuccess = t.step_func(function () {
         assert_unreached("This function should not be used");
     });
 
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
             for (i = 0; i < conversionTable.length; i++) {
                 assert_throws({name: conversionTable[i][1]}, function () {
                     tizen.application.kill(context.id, killSuccess, conversionTable[i][0]);
                 }, "exception should be thrown");
             }
 
-            assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
-                this_test.done();
+            assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+                t.done();
             });
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index f9141135c1ba499a924be4b911121ffc14995b75..bd267e3d8b68d0323a3e95da74d111e53ea1d48b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onError) was passed into kill method
+//==== LABEL Check if an exception was thrown when a fake callback (onError) was passed into kill method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -46,34 +46,34 @@ Authors:
 //==== TEST_CRITERIA MTCB
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_errorCallback_invalid_cb", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     killSuccess, killError, killErrorFunc, launchSuccess, launchError;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
 
-    killSuccess = this_test.step_func(function () {
+    killSuccess = t.step_func(function () {
         assert_unreached("This function (killSuccess) should not be used");
     });
 
-    killErrorFunc = this_test.step_func(function (error) {
+    killErrorFunc = t.step_func(function (error) {
         assert_unreached("kill() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
     killError = { onsuccess: killErrorFunc };
 
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
-            assert_throws(TYPE_MISMATCH_ERR, function () {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
+            assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
                 tizen.application.kill(context.id, killSuccess, killError);
             }, "exception should be thrown");
 
-            assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
-                this_test.done();
+            assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+                t.done();
             });
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index 69b3d31881ab9191d05201975db3038fd586a644..57c2ce8632792e458abb02996248afb700350c1c 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_exist</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_exist
-//==== LABEL check if method kill exist
+//==== LABEL Check if method kill exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "kill");
-}, "ApplicationManager_kill_exist");
+}, document.title);
 
 </script>
 </body>
index 2cf7a5cf152695ba7a14cff9ff4aaea04fcd9760..b77c556310f0679eefc457207252fd1d7e12d4f0 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (kill) type conversion
+//==== LABEL Check optional argument 'onSuccess' (kill) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,27 +47,27 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_successCallback_TypeMismatch", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, launchSuccess, launchError,
     conversionTable = getTypeConversionExceptions("functionObject", true);
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
 
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
             for (i = 0; i < conversionTable.length; i++) {
                 assert_throws({name: conversionTable[i][1]}, function () {
                     tizen.application.kill(context.id, conversionTable[i][0]);
                 }, "exception should be thrown");
             }
 
-            assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
-                this_test.done();
+            assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+                t.done();
             });
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index a146d70279eb0a36829632a1ff5de15998c7b499..29c76ede14dae1d83fbd1926974290a0b4d1d1c8 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into kill method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,29 +47,29 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_successCallback_invalid_cb", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     killSuccessFunc, killSuccess, launchSuccess, launchError;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    killSuccessFunc = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    killSuccessFunc = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
     killSuccess = { onsuccess: killSuccessFunc };
 
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
-            assert_throws(TYPE_MISMATCH_ERR, function () {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
+            assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
                 tizen.application.kill(context.id, killSuccess);
             }, "exception should be thrown");
 
-            assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
-                this_test.done();
+            assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+                t.done();
             });
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index a5ae89a402cd1aeded2226445f5ca5fe0469c32b..e3ac351a7b078e48fa02d424752d6a0f30dc67cc 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_with_errorCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_with_errorCallback
-//==== LABEL check using kill method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using kill method (with optional argument errorCallback) in ApplicationManager interface
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -47,17 +47,17 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_with_errorCallback", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     killSuccess, killError, currentApplication;
 
-this_test.step(function () {
-    killSuccess = this_test.step_func(function () {
+t.step(function () {
+    killSuccess = t.step_func(function () {
         assert_unreached("This function should not be used");
     });
 
-    killError = this_test.step_func(function (error) {
+    killError = t.step_func(function (error) {
         assert_equals(error.name, "InvalidValuesError", "InvalidValuesError must be thrown");
-        this_test.done();
+        t.done();
     });
 
     currentApplication = tizen.application.getCurrentApplication();
index 00d850b42a98d2376a7baf7e7eb91446a835b273..acc66ade452155fe7d215446bd6ff1bd812bc8ab 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_kill_with_successCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_kill_with_successCallback
-//==== LABEL check using kill method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using kill method (with optional argument successCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,23 +47,23 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_kill_with_successCallback", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     killSuccess, launchSuccess, launchError;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    killSuccess = this_test.step_func(function () {
-        assert_kill(this_test, TCT_APPCONTROL_APPID, function () {
-            this_test.done();
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    killSuccess = t.step_func(function () {
+        assert_kill(t, TCT_APPCONTROL_APPID, function () {
+            t.done();
         });
     });
 
-    launchSuccess = this_test.step_func(function () {
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+    launchSuccess = t.step_func(function () {
+        assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
             tizen.application.kill(context.id, killSuccess);
         });
     });
 
-    launchError = this_test.step_func(function (error) {
+    launchError = t.step_func(function (error) {
         assert_unreached("launch fails: " + error.name + " with message: " + error.message);
     });
 
index bc17be8319c942d827007cebf02ffb551f1bf30d..6346ffee9c95f31400cc12bf5c6cbb1cdeab6715 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch
-//==== LABEL check using launch method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using launch method (with non-optional arguments) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -46,7 +46,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MAST MR
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch", { timeout : 30000 }), retVal = null;
+var t = async_test(document.title, {timeout: 30000}), retVal = null;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
     retVal = tizen.application.launch(TCT_APPCONTROL_APPID);
index 9161d07896a68e9ca64c7e5bff8d0b9b4cc5bcc4..0cea3160fd534d94f14605d9c07eb6a8f3a245e3 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_appControl_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_appControl_TypeMismatch
-//==== LABEL check non-optional argument ApplicationControl type conversion
+//==== LABEL Check non-optional argument ApplicationControl type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_appControl_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, conversionTable = getTypeConversionExceptions("object");
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 5eb3b56a87ae5f5aa429469871a0664b93fb757b..db74c0c713f77e4cea6d6f0008a67801b22793ef 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_appControl_invalid_obj</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_appControl_invalid_obj
-//==== LABEL check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,18 +47,19 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_appControl_invalid_obj", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), appControl;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
-    var appControl = {
-            operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
-            uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
-            mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
-            category: "",
-            data: []
-        };
-
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+
+    appControl = {
+        operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
+        uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
+        mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
+        category: "",
+        data: []
+    };
+
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launchAppControl(appControl);
     }, "exception should be thrown");
 
index dcc3d555bb4ee25eee820a552df7050d412a549c..a4edf3b42bda21506fc0579a18ceb784164d2009 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (launchAppControl) type conversion
+//==== LABEL Check optional argument 'onError' (launchAppControl) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_errorCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, launchSuccess, appcontrol, conversionTable = getTypeConversionExceptions("functionObject", true);
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 94f5a5f76b68ae627ec743a174c80eac58459b94..59b97de734d67c33078e21ed821cdf96277005a5 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_errorCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchError, launchErrorFunc, appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
@@ -65,7 +65,7 @@ setup_launch(t, TCT_APPCONTROL_APPID, function () {
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launchAppControl(appcontrol, null, launchSuccess, launchError);
     }, "exception should be thrown");
 
index 4f99b90abd468b2d6967ac9caa1c3083d6b71234..9811bd00b9be74f98dd9254a1c15385303080b68 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_exist</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_exist
-//==== LABEL check if method launchAppControl exist
+//==== LABEL Check if method launchAppControl exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "launchAppControl");
-}, "ApplicationManager_launchAppControl_exist");
+}, document.title);
 
 </script>
 </body>
index e47af7ab533ba7b8c6e12f6008802c01b05c58e2..cf9fa0fa556573971f3bb2bebb181e4d8a779071 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_missarg</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,17 +37,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_missarg
-//==== LABEL launchAppControl - check with missing non-optional argument
+//==== LABEL LaunchAppControl - check with missing non-optional argument
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({name: "TypeMismatchError"}, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launchAppControl();
     }, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_launchAppControl_missarg");
+}, document.title);
 
 </script>
 </body>
index 1fd2a12550e9f656785ee7676da9f74e401e1f39..16da08b296fb994120795e87a8745f491ba38e1f 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_replyCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_replyCallback_TypeMismatch
-//==== LABEL check optional argument 'onReply' type conversion
+//==== LABEL Check optional argument 'onReply' type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_replyCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, launchSuccess, launchError, appcontrol, conversionTable = getTypeConversionExceptions("object", true);
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 699b0f9a4f3a6e8f1e9eb2efe6d2b4e3f8a525e6..db028020a1274e7d5ddcb114b4c95724db496ca8 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_replyCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_replyCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,10 +47,9 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_replyCallback_invalid_cb", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), i, launchSuccess, launchError, appcontrol, conversionTable;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
-    var i, launchSuccess, launchError, appcontrol, conversionTable = getListenerConversionExceptions(["onsuccess","onfailure"]);
 
     launchSuccess = t.step_func(function () {
         assert_unreached("application should not be run");
@@ -64,6 +63,8 @@ setup_launch(t, TCT_APPCONTROL_APPID, function () {
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
+    conversionTable = getListenerConversionExceptions(["onsuccess", "onfailure"]);
+
     for (i = 0; i < conversionTable.length; i++) {
         assert_throws({name: conversionTable[i][1]}, function () {
             tizen.application.launchAppControl(appcontrol, null, launchSuccess, launchError, conversionTable[i][0]);
index 57a24c2529dae5670b41009161fec750993fbe03..3028f00a66de577de7b413ccd278d246c68ca45b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (launchAppControl) type conversion
+//==== LABEL Check optional argument 'onSuccess' (launchAppControl) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_successCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, appcontrol, conversionTable = getTypeConversionExceptions("functionObject", true);
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index e7fb8c75ea0872a1360293ff59b7cca892b0a110..d2420275ecb5ae7c9636f49c396ffe77a7e0a6fa 100644 (file)
@@ -29,8 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -39,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -48,10 +47,9 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_successCallback_invalid_cb", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), launchSuccess, launchSuccessFunc, appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
-    var launchSuccess, launchSuccessFunc, appcontrol;
 
     launchSuccessFunc = t.step_func(function () {
         assert_unreached("this function should not be used");
@@ -63,7 +61,7 @@ setup_launch(t, TCT_APPCONTROL_APPID, function () {
         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
     );
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launchAppControl(appcontrol, null, launchSuccess);
     }, "exception should be thrown");
 
index 0936f4d1362c1d0234058f2ce0ff9c77ccdd1e3c..bad6eeb12388ed51c4c57cfb8eee71ae8673805e 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_appControl_operation
-//==== LABEL check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 636934eb30382382e4823e62e65c045926fea7b3..a3afef256634da3854799a5bae59d80dbb640630 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_mime
-//==== LABEL check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_mime", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 791b247cb1e376d757c8e21a2c64341961fcb269..dfb3972deccf34106d8bf7cea5c68506dbc342e9 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_uri
-//==== LABEL check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_uri", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index dd539db6e5fa97ab237979fb13687b2c45446bb7..b9b3c8a8c7d170a50d484dbd3d446848de13a200 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_uri_mime
-//==== LABEL check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_uri_mime", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 41c4b2d16107262188f2eed4ba1ff6c2f76fc87d..f3f4115e5cf00bf89ba6ad5784638631897987a4 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_errorCallback
-//==== LABEL check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_errorCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchError, appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 61c276080c867841f00c833dab4a46284dd88df7..a74aa62fba3b8096143b3dfc08d45f38ee78e361 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_id
-//==== LABEL check using launchAppControl method with explicit application ID in ApplicationManager interface
+//==== LABEL Check using launchAppControl method with explicit application ID in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,7 +48,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_id", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_MOCK_APPID, function () {
index 8d9d64b6e883bc51d3fcc3a648608938daf03e8d..9998428ea84a548ef39c7a2bb38252b7097c2546 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launchAppControl_with_replyCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_replyCallback
-//==== LABEL check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launchAppControl_with_replyCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     replyCallback, launchError, appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 0155c291f888fb7044e7f95372ad4aa3ba0830ea..96b99a6555473e4f2981185ec4ed78c924128eef 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launchAppControl_with_successCallback
-//==== LABEL check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -48,14 +48,14 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_launchAppControl_with_successCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, appcontrol, retVal = null;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    launchSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    launchSuccess = t.step_func(function () {
         assert_equals(retVal, undefined, "incorrect returned value");
-        assert_launch(this_test, TCT_APPCONTROL_APPID, function () {
-            this_test.done();
+        assert_launch(t, TCT_APPCONTROL_APPID, function () {
+            t.done();
         });
     });
 
index ed150a74b0740903fbca9825fd347232809b4242..a9b10186899a3f15d363f01efaea3b26cc7a2011 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_errorCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (launch) type conversion
+//==== LABEL Check optional argument 'onError' (launch) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch_errorCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, launchSuccess, conversionTable = getTypeConversionExceptions("functionObject", true);
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index d76398a477fb4c381598e9248d12015528e6ebfd..fefc6bdf85356c1c0b2ace216a34a0f62832dcbd 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_errorCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (on error) was passed
+//==== LABEL Check if an exception was thrown when a fake callback (on error) was passed
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch_errorCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchError, launchErrorFunc;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
@@ -61,7 +61,7 @@ setup_launch(t, TCT_APPCONTROL_APPID, function () {
 
     launchError = {onerror: launchErrorFunc};
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launch(TCT_APPCONTROL_APPID, launchSuccess, launchError);
     }, "exception should be thrown");
 
index abae89ae99412ccfcec7de4d9960397b4437b4f6..1a554359d2ff2053759ddb5cf23fca09c27aa36c 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_exist</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_exist
-//==== LABEL check if method launch exist
+//==== LABEL Check if method launch exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "launch");
-}, "ApplicationManager_launch_exist");
+}, document.title);
 
 </script>
 </body>
index 24653da8e7da0edb29965c71e8d55a08160dc9e5..a1bd035907783e34fd3467f0af1dc79f76777c57 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_successCallback_TypeMismatch</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (launch) type conversion
+//==== LABEL Check optional argument 'onSuccess' (launch) type conversion
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch_successCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     i, conversionTable = getTypeConversionExceptions("functionObject", true);
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 4eadcfc0e6512b731309483210659623df06cd72..122c640b71fe18309b64fb5d16d6c93ea34d9c93 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_successCallback_invalid_cb</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (on success) was passed
+//==== LABEL Check if an exception was thrown when a fake callback (on success) was passed
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P2
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch_successCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchSuccessFunc;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
@@ -57,7 +57,7 @@ setup_launch(t, TCT_APPCONTROL_APPID, function () {
 
     launchSuccess = { onsuccess: launchSuccessFunc };
 
-    assert_throws(TYPE_MISMATCH_ERR, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.application.launch(TCT_APPCONTROL_APPID, launchSuccess);
     }, "exception should be thrown");
 
index 6f1a2be3449267b7b11b35b5e70c9ee67e187e44..22ab7c3216a0b7bddf4110b8e9ed4d8a832315ea 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_with_errorCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_with_errorCallback
-//==== LABEL check using launch method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using launch method (with optional argument errorCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,16 +47,16 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_launch_with_errorCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess, launchError;
 
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
-    launchSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+    launchSuccess = t.step_func(function () {
         assert_unreached("this function should not be used");
     });
 
-    launchError = this_test.step_func(function () {
-        this_test.done();
+    launchError = t.step_func(function () {
+        t.done();
     });
 
     tizen.application.launch(INVALID_APP_ID, launchSuccess, launchError);
index c16fe27ff0b68e5b11aae1e6b1270677bfa23897..1aab714f17a2b8e627ceea4c44e3fb981753db25 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_launch_with_successCallback</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_launch_with_successCallback
-//==== LABEL check using launch method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using launch method (with optional argument successCallback) in ApplicationManager interface
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("ApplicationManager_launch_with_successCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     launchSuccess;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index a7194e93791c587f71c27956b7f4cdb547dc6d3d..f1836ec1f9f0da14f83fc2dff37a2e1023df763d 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>ApplicationManager_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_notexist
-//==== LABEL check if ApplicationManager notexist
+//==== LABEL Check if ApplicationManager notexist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationManager");
-}, "ApplicationManager_notexist");
+}, document.title);
 
 </script>
 </body>
index 46d33edbd7f0cac8d83d3b31568d705f4851f797..b476309159f81e7bfc31b1f0da37af9d7a6cdf30 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_removeAppInfoEventListener</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_removeAppInfoEventListener
-//==== LABEL check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
+//==== LABEL Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
 //==== ONLOAD_DELAY 30
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -46,27 +46,26 @@ Authors:
 
 setup({timeout: 30000});
 
-var this_test = async_test("ApplicationManager_removeAppInfoEventListener", {timeout: 30000});
-this_test.step(function () {
-    var appEventCallback, watchId, retVal;
+var t = async_test(document.title, {timeout: 30000}), appEventCallback, watchId, retVal;
+t.step(function () {
 
     appEventCallback = {
-        oninstalled: this_test.step_func(function () {
+        oninstalled: t.step_func(function () {
             assert_unreached("This function (oninstalled) should not be used");
         }),
-        onupdated: this_test.step_func(function () {
+        onupdated: t.step_func(function () {
             assert_unreached("This function (onupdated) should not be used");
         }),
-        onuninstalled: this_test.step_func(function () {
+        onuninstalled: t.step_func(function () {
             assert_unreached("This function (onuninstalled) should not be used");
         })
     };
 
     watchId = tizen.application.addAppInfoEventListener(appEventCallback);
-    assert_type(watchId, "number", "wrong listener ID");
+    assert_type(watchId, "long", "wrong listener ID");
     retVal = tizen.application.removeAppInfoEventListener(watchId);
     assert_type(retVal, "undefined", "this method should return nothing");
-    this_test.done();
+    t.done();
 
 });
 
index b7ac588eef51e8120290b17eaa4212894b5214e2..92c2bde9c5265f89c88815ba68ae5a865098d0a5 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>ApplicationManager_removeAppInfoEventListener_exist</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:
 <script type="text/javascript">
 
 //==== TEST: ApplicationManager_removeAppInfoEventListener_exist
-//==== LABEL check if method removeAppInfoEventListener exist
+//==== LABEL Check if method removeAppInfoEventListener exist
 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_method_exists(tizen.application, "removeAppInfoEventListener");
-}, "ApplicationManager_removeAppInfoEventListener_exist");
+}, document.title);
 
 </script>
 </body>
index a0dfb62f1b7a04f7e13450aced3e2bb590d1d04e..d6bc0e8737da1f35fc7ae73e6a8f3b13f997bfc2 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationMetaData_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationMetaData_extend
-//==== LABEL: Check if ApplicationMetaData can have new properties added
+//==== LABEL Check if ApplicationMetaData can have new properties added
 //==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:ApplicationMetaData U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ test(function () {
     assert_equals(metadata.length, 1, "Incorrect number of metadata.");
     check_extensibility(metadata[0]);
 
-}, "ApplicationMetaData_extend");
+}, document.title);
 
 </script>
 </body>
index ebb9f9f35c5e8d75ff8611aaa4205ea8b1f4389a..6b484657f82b221ffb9a92747bbd6455160fa933 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationMetaData_key_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationMetaData_key_attribute
-//==== LABEL: Check if ApplicationMetaData have key attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationMetaData have key attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:key A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== TEST_CRITERIA AE AT ARO
@@ -45,7 +45,7 @@ test(function () {
 
     assert_true("key" in metadata[0], "AplicationInformation should have iconPath attribute");
     check_readonly(metadata[0], "key", METADATA_KEY, "string", "dummy");
-}, "ApplicationMetaData_key_attribute");
+}, document.title);
 
 </script>
 </body>
index 3e5e0329bfc4a18e4062c2b1f30c74ae94fe3ed9..bab2a219663c8143070a5a47182540f4fc6f4bc6 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationMetaData_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("ApplicationMetaData");
-}, "ApplicationMetaData_notexist");
+}, document.title);
 
 </script>
 </body>
index 49fbd56439bb45111db6e57d1499c9c09ae6d81b..097e0375fcf34649bc6ff4b7c8c532fd7190e9c6 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>ApplicationMetaData_value_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: ApplicationMetaData_value_attribute
-//==== LABEL: Check if ApplicationMetaData have value attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationMetaData have value attribute with proper type, readonly, not null
 //==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:value A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== TEST_CRITERIA AE AT ARO
@@ -46,7 +46,7 @@ test(function () {
     assert_true("value" in metadata[0], "ApplicationMetaData should have value attribute");
     check_readonly(metadata[0], "value", METADATA_VALUE, "string", "dummy");
 
-}, "ApplicationMetaData_value_attribute");
+}, document.title);
 
 </script>
 </body>
index 7fd496ab0661bf965b88fdf44a34d974875190e0..802f260f58add8a640d353051b4fe94fe6cb4f84 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_ContextId_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_ContextId_attribute
-//==== LABEL check Application.ContextId attribute
+//==== LABEL Check attribute Application::ContextId existence and type
 //==== SPEC Tizen Web API:Application:Application:Application:contextId A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -47,7 +47,7 @@ test(function () {
     var app = tizen.application.getCurrentApplication();
     assert_true("contextId" in app, "contextId doesn't exist in provided object");
     check_readonly(app, "contextId", app.contextId, "string", "dummyValue");
-}, "Application_ContextId_attribute");
+}, document.title);
 
 </script>
 </body>
index 381c1862fce56b37c88efc105c694ec9f2725eff..4f9ac27d35923f19c84543fac755b32f22bef167 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_appInfo_attribute</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_appInfo_attribute
-//==== LABEL check Application.appInfo attribute
+//==== LABEL Check attribute Application::appInfo existence and type
 //==== SPEC Tizen Web API:Application:Application:Application:appInfo A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -59,7 +59,7 @@ test(function () {
     assert_equals(app.appInfo.id, THIS_APP_ID, "wrong ApplicationInformation");
     app.appInfo = tizen.application.getAppInfo(TCT_APPCONTROL_APPID);
     assert_equals(app.appInfo.id, THIS_APP_ID, "ApplicationInformation can be modified");
-}, "Application_appInfo_attribute");
+}, document.title);
 
 </script>
 </body>
index fde7c88facba4b07c6cce2de16b4f5f25612df56..50cab10ada5e98c475deebc6873437fcc0323406 100644 (file)
@@ -46,7 +46,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_exit
-//==== LABEL check using exit method (with non-optional arguments) in Application interface
+//==== LABEL Check using exit method (with non-optional arguments) in Application interface
 //==== SPEC Tizen Web API:Application:Application:Application:exit M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -55,7 +55,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("Application_exit", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     timeout = 1000, replyCallback, launchError, appcontrol;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index d64440ecc81c51ee9f6abf3da375e59a46905ced..dd21ff2352720b032c53b99a370835aa48c483b9 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_exit_exist</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:
 <script type="text/javascript">
 
 //==== TEST: Application_exit_exist
-//==== LABEL check if method Application.exit exist
+//==== LABEL Check if method Application.exit exist
 //==== SPEC Tizen Web API:Application:Application:Application:exit M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var app = tizen.application.getCurrentApplication();
     check_method_exists(app, "exit");
-}, "Application_exit_exist");
+}, document.title);
 
 </script>
 </body>
index 293bef46e0b013a1b60c7d1ddc819071ebbe0bae..aa2850aa2f6d1be30c1c7700af7c827401a8dc34 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_extend</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script>
 
 //==== TEST: Application_extend
-//==== LABEL check if Application possible extend
+//==== LABEL Check if Application possible extend
 //==== SPEC Tizen Web API:Application:Application:Application:Application U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var app = tizen.application.getCurrentApplication();
     check_extensibility(app);
-}, "Application_extend");
+}, document.title);
 
 </script>
 </body>
index fc64eb7b05e726f148025354fa2d6d5a2ad85595..507068bd796fe22e128cb5825ca696da2b4095ee 100644 (file)
@@ -49,7 +49,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_getRequestedAppControl
-//==== LABEL check using getRequestedAppControl method (with non-optional arguments) in Application interface
+//==== LABEL Check using getRequestedAppControl method (with non-optional arguments) in Application interface
 //==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index cf65998c28e55095562f50caf63889b176b7da2e..5a5326208f8f098d53871738d361347c64d74f28 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_getRequestedAppControl_exist</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:
 <script type="text/javascript">
 
 //==== TEST: Application_getRequestedAppControl_exist
-//==== LABEL check if method Application.getRequestedAppControl exist
+//==== LABEL Check if method Application.getRequestedAppControl exist
 //==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var app = tizen.application.getCurrentApplication();
     check_method_exists(app, "getRequestedAppControl");
-}, "Application_getRequestedAppControl_exist");
+}, document.title);
 
 </script>
 </body>
index 3bc1fad89c55a6e93d26d78b463b1736f881c0f6..cb85c92632363e93980b462f0d7be9c847e2af49 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 <head>
 <title>Application_getRequestedAppControl_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>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -40,7 +40,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_getRequestedAppControl_extra_argument
-//==== LABEL check using getRequestedAppControl method (with extra argument) in Application interface
+//==== LABEL Check using getRequestedAppControl method (with extra argument) in Application interface
 //==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 95b5b0328d0c4326ca45a4d746f59e03ba877d17..c6acdfa36477b3b81838ef34ba11f94991006ed4 100644 (file)
@@ -46,7 +46,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_hide
-//==== LABEL check using hide method (with non-optional arguments) in Application interface
+//==== LABEL Check using hide method (with non-optional arguments) in Application interface
 //==== SPEC Tizen Web API:Application:Application:Application:hide M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 5832da0b5e50fe2dc056a32d9b0e7a182993610c..7f9e956bc79dba919123f2a814ec18d9be39cb4b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_hide_exist</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:
 <script type="text/javascript">
 
 //==== TEST: Application_hide_exist
-//==== LABEL check if method Application.hide exist
+//==== LABEL Check if method Application.hide exist
 //==== SPEC Tizen Web API:Application:Application:Application:hide M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P0
@@ -46,7 +46,7 @@ Authors:
 test(function () {
     var app = tizen.application.getCurrentApplication();
     check_method_exists(app, "hide");
-}, "Application_hide_exist");
+}, document.title);
 
 </script>
 </body>
index 083a72573d7a6785eb67099073d6cbb107d2105e..ddda136e35721de5a54cdc56814103434ba18e42 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>Application_hide_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>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -38,7 +38,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_hide_extra_argument
-//==== LABEL check using hide method (with extra arguments) in Application interface
+//==== LABEL Check using hide method (with extra arguments) in Application interface
 //==== SPEC Tizen Web API:Application:Application:Application:hide M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 8b6f2c3af72db270619858790d20f7cdcbf6691a..2c55e2927f9491cf70c2e1151795bb82f9d6d3f4 100644 (file)
@@ -28,7 +28,7 @@ Authors:
 <head>
 <title>Application_notexist</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>
@@ -36,7 +36,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: Application_notexist
-//==== LABEL check if Application notexist
+//==== LABEL Check if Application notexist
 //==== SPEC Tizen Web API:Application:Application:Application:Application U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
@@ -44,7 +44,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("Application");
-}, "Application_notexist");
+}, document.title);
 
 </script>
 </body>
index bec8073186757213840e7b46be6a130c5dc404f4..1f69063a2a819ac67e07f16ce8210d26b4a4d0d9 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FindAppControlSuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("FindAppControlSuccessCallback");
-}, "FindAppControlSuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 3f6b5758602d188a70f5c3272ac125f156a70f51..010c2e6557502bdb6438e935c978561fae46dcdb 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FindAppControlSuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FindAppControlSuccessCallback_onsuccess
-//==== LABEL: Check if FindAppControlSuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if FindAppControlSuccessCallback onsuccess is called and if its arguments have proper type
 //==== ONLOAD_DELAY 30
 //==== SPEC: Tizen Web API:Application:Application:FindAppControlSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
@@ -40,7 +40,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("FindAppControlSuccessCallback_onsuccess", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
     findSuccess, findError, info, control, tmp, i;
 
 t.step(function () {
index 3eeb151c565a276fbdc247da24bff65aeb9bbd00..6dabe85711b4a23d3bbaa0783e9d1b630cf31784 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_appControl_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_appControl_attribute
-//==== LABEL: Check if RequestedApplicationControl have appControl attribute with proper type, writable, not null
+//==== LABEL Check if RequestedApplicationControl have appControl attribute with proper type, writable, not null
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:appControl A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 6ed639e39d6bd4f2be734737a8b43dff33d17912..e5f82d966e2b720c3f4b8c53bbe50acb034c12a2 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_callerAppId_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_callerAppId_attribute
-//==== LABEL: Check if RequestedApplicationControl have callerAppId attribute with proper type, writable, not null
+//==== LABEL Check if RequestedApplicationControl have callerAppId attribute with proper type, writable, not null
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:callerAppId A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 900d189327662f3f2b21690e749b42feb07dba79..3c2260874b8f3ce529ad9d58f8961b15d1acbaa0 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_extend
-//==== LABEL: Check if RequestedApplicationControl can have new properties added
+//==== LABEL Check if RequestedApplicationControl can have new properties added
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:RequestedApplicationControl U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P3
index 8c3f05af8700e2c2a051c451407cfee69fed1da2..fa177ad002911ec59f9b5b379ee5734bb4ede754 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("RequestedApplicationControl");
-}, "RequestedApplicationControl_notexist");
+}, document.title);
 
 </script>
 </body>
index 1c432bdacdecfe80d59a83193a7a1ff7fda9d94a..4ed5826f530f9c5ef122d8a05e6599206a7199d8 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyFailure</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: RequestedApplicationControl_replyFailure
-//==== LABEL: check if RequestedApplicationControl method replyFailure works properly
+//==== LABEL Check if RequestedApplicationControl method replyFailure works properly
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyFailure M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -40,7 +40,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("RequestedApplicationControl_replyFailure", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appControl, replyCallback, onError;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 3d774389972e7bc91dff20538ae0c9e4489502e5..c84fabe07eb25bbbe8bee6e0b1e28bce4faa137a 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyFailure_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_replyFailure_exist
-//==== LABEL: Check if replyFailure method exist and cane be overriden
+//==== LABEL Check if replyFailure method exist and cane be overriden
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyFailure M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index 3803fec5f476c5fd3990f5fd45e35ae5f4286bf4..8913b9ea46c94021fe95c04a5acbdd185642fe76 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyFailure_extra_argument</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -40,7 +40,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("RequestedApplicationControl_replyFailure_extra_argument", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appControl, replyCallback, onError;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index 54683a1494079cc7020d58b1a66198678e644657..212a2c70d396d34e3559b9044df33dd1b4a4f9f6 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyResult</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_replyResult
-//==== LABEL: Check if RequestedApplicationControl method replyResult works properly
+//==== LABEL Check if RequestedApplicationControl method replyResult works properly
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -40,7 +40,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("RequestedApplicationControl_replyResult", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appControl, replyCallback, onerror;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
index ae37730685e1392e5101ef878604085402395ab2..ea6b6d192586514dac3ad7b4f45df4370d9b8757 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyResult_data_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
index 2d88cb32ecbdc89419fd7d87754fd9578c5dfffb..e95fe8621d65fbf5f9599bd55baebaf7350b1d52 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyResult_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -30,7 +30,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: RequestedApplicationControl_replyResult_exist
-//==== LABEL: Check if replyResult method exist and cane be overriden
+//==== LABEL Check if replyResult method exist and cane be overriden
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
index d1a9860935e12d1c61577edf45d9ed269844a98a..6663e1b418a8051d5ddf82396fbd36e37f0ad0d0 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>RequestedApplicationControl_replyResult_with_data</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/app_common.js"></script>
 </head>
 
@@ -31,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: RequestedApplicationControl_replyResult_with_data
-//==== LABEL: Check if RequestedApplicationControl method replyCallback called with data param works properly
+//==== LABEL Check if RequestedApplicationControl method replyCallback called with data param works properly
 //==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
 //==== PRIORITY P1
@@ -40,7 +40,7 @@ Authors:
 
 setup({timeout: 30000});
 
-var t = async_test("RequestedApplicationControl_replyResult_with_data", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
     appControl, replyCallback, onerror, sentData;
 
 setup_launch(t, TCT_APPCONTROL_APPID, function () {
diff --git a/tct-application-tizen-tests/application/support/unitcommon.js b/tct-application-tizen-tests/application/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-application-tizen-tests/resources/unitcommon.js b/tct-application-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 fef0cd3526a9c9bbd6ad15a061e0ccd606f8ba54..610416ad8a14e14923ed00008484ba831808a17a 100644 (file)
@@ -3,7 +3,7 @@
 <test_definition>
   <suite name="tct-application-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Application">
-      <testcase purpose="check if ApplicationCertificate possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_extend">
+      <testcase purpose="Check if ApplicationCertificate possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html</test_script_entry>
         </description>
@@ -15,7 +15,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationCertificate notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_notexist">
+      <testcase purpose="Check if ApplicationCertificate notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html</test_script_entry>
         </description>
@@ -27,7 +27,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationCertificate.type attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_type_attribute">
+      <testcase purpose="Check attribute ApplicationCertificate::type existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_type_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html</test_script_entry>
         </description>
@@ -39,7 +39,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationCertificate.value attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_value_attribute">
+      <testcase purpose="Check attribute ApplicationCertificate::value existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_value_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html</test_script_entry>
         </description>
@@ -75,7 +75,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationContext.appId attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_appId_attribute">
+      <testcase purpose="Check attribute ApplicationContext::appId existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_appId_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html</test_script_entry>
         </description>
@@ -87,7 +87,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationContext possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_extend">
+      <testcase purpose="Check if ApplicationContext possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_extend.html</test_script_entry>
         </description>
@@ -99,7 +99,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationContext.id attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_id_attribute">
+      <testcase purpose="Check attribute ApplicationContext::id existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_id_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationContext notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_notexist">
+      <testcase purpose="Check if ApplicationContext notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationControlDataArrayReplyCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControlDataArrayReplyCallback_notexist">
+      <testcase purpose="Check if ApplicationControlDataArrayReplyCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControlDataArrayReplyCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check onfailure listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onfailure">
+      <testcase purpose="Check onfailure listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onfailure">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onsuccess">
+      <testcase purpose="Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationControl.category attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_category_attribute">
+      <testcase purpose="Check attribute ApplicationControl::category existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_category_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="test whether constructor with all arguments are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor">
+      <testcase purpose="Test whether constructor with all arguments are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="test whether constructor with non-optional argument are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor_minargs">
+      <testcase purpose="Test whether constructor with non-optional argument are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor_minargs">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationControl.data attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_data_attribute">
+      <testcase purpose="Check attribute ApplicationControl::data existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_data_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_exist">
+      <testcase purpose="Check if ApplicationControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationControl possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControl_extend">
+      <testcase purpose="Check if ApplicationControl possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControl_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationControl.mime attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_mime_attribute">
+      <testcase purpose="Check attribute ApplicationControl::mime existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_mime_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationControl.operation attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_operation_attribute">
+      <testcase purpose="Check attribute ApplicationControl::operation existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_operation_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check ApplicationControl.uri attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_uri_attribute">
+      <testcase purpose="Check attribute ApplicationControl::uri existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_uri_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationInformationEventCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationInformationEventCallback_notexist">
+      <testcase purpose="Check if ApplicationInformationEventCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationInformationEventCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
+      <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
+      <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
+      <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationManagerObject not exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManagerObject_notexist">
+      <testcase purpose="Check if ApplicationManagerObject not exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManagerObject_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
+      <testcase purpose="Check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
+      <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationManager possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_extend">
+      <testcase purpose="Check if ApplicationManager possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl">
+      <testcase purpose="Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument ApplicationControl (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
+      <testcase purpose="Check non-optional argument ApplicationControl (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_invalid_obj">
+      <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_invalid_obj">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method findAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_findAppControl_exist">
+      <testcase purpose="Check if method findAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_findAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check findAppControl with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_missarg">
+      <testcase purpose="Check findAppControl with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check findAppControl with missing non-optional successCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_missarg">
+      <testcase purpose="Check findAppControl with missing non-optional successCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl_with_errorCallback">
+      <testcase purpose="Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts">
+      <testcase purpose="Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppCerts exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppCerts_exist">
+      <testcase purpose="Check if method getAppCerts exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppCerts_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts_with_id">
+      <testcase purpose="Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext">
+      <testcase purpose="Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppContext exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppContext_exist">
+      <testcase purpose="Check if method getAppContext exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppContext_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext_with_contextId">
+      <testcase purpose="Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext_with_contextId">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo">
+      <testcase purpose="Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppInfo_exist">
+      <testcase purpose="Check if method getAppInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppInfo_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo_with_id">
+      <testcase purpose="Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method ApplicationManager::getAppMetaData exists" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppMetaData_exist">
+      <testcase purpose="Check if method ApplicationManager::getAppMetaData exists" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppMetaData_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI">
+      <testcase purpose="Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppSharedURI exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppSharedURI_exist">
+      <testcase purpose="Check if method getAppSharedURI exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppSharedURI_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI_with_id">
+      <testcase purpose="Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext">
+      <testcase purpose="Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (getAppsContext method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (getAppsContext method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppsContext exist and can be overriden" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsContext_exist">
+      <testcase purpose="Check if method getAppsContext exist and can be overriden" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsContext_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="getAppsContext - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_missarg">
+      <testcase purpose="GetAppsContext - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (getAppsContext method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (getAppsContext method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext_with_errorCallback">
+      <testcase purpose="Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo">
+      <testcase purpose="Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (getAppsInfo method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (getAppsInfo method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getAppsInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsInfo_exist">
+      <testcase purpose="Check if method getAppsInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsInfo_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (getAppsInfo method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (getAppsInfo method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo_with_errorCallback">
+      <testcase purpose="Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getCurrentApplication method in ApplicationManager interface to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication">
+      <testcase purpose="Check using getCurrentApplication method in ApplicationManager interface to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method getCurrentApplication exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getCurrentApplication_exist">
+      <testcase purpose="Check if method getCurrentApplication exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getCurrentApplication_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getCurrentApplication with extra argument to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication_extra_argument">
+      <testcase purpose="Check using getCurrentApplication with extra argument to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationManager exist in tizen" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_in_tizen">
+      <testcase purpose="Check if ApplicationManager exist in tizen" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_in_tizen">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using kill method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill">
+      <testcase purpose="Check using kill method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method kill exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_kill_exist">
+      <testcase purpose="Check if method kill exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_kill_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using kill method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_errorCallback">
+      <testcase purpose="Check using kill method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using kill method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_successCallback">
+      <testcase purpose="Check using kill method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launch method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch">
+      <testcase purpose="Check using launch method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check non-optional argument ApplicationControl type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
+      <testcase purpose="Check non-optional argument ApplicationControl type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
+      <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method launchAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launchAppControl_exist">
+      <testcase purpose="Check if method launchAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launchAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="launchAppControl - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_missarg">
+      <testcase purpose="LaunchAppControl - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onReply' type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onReply' type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation">
+      <testcase purpose="Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
+      <testcase purpose="Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
+      <testcase purpose="Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
+      <testcase purpose="Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_errorCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method with explicit application ID in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_id">
+      <testcase purpose="Check using launchAppControl method with explicit application ID in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_replyCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_replyCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_successCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (on error) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (on error) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method launch exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launch_exist">
+      <testcase purpose="Check if method launch exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launch_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (on success) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (on success) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launch method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_errorCallback">
+      <testcase purpose="Check using launch method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using launch method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_successCallback">
+      <testcase purpose="Check using launch method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if ApplicationManager notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_notexist">
+      <testcase purpose="Check if ApplicationManager notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
+      <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
+      <testcase purpose="Check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check Application.ContextId attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_ContextId_attribute">
+      <testcase purpose="Check attribute Application::ContextId existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_ContextId_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check Application.appInfo attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_appInfo_attribute">
+      <testcase purpose="Check attribute Application::appInfo existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_appInfo_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using exit method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_exit">
+      <testcase purpose="Check using exit method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_exit">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method Application.exit exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_exit_exist">
+      <testcase purpose="Check if method Application.exit exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_exit_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Application possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_extend">
+      <testcase purpose="Check if Application possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getRequestedAppControl method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl">
+      <testcase purpose="Check using getRequestedAppControl method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method Application.getRequestedAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_getRequestedAppControl_exist">
+      <testcase purpose="Check if method Application.getRequestedAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_getRequestedAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using getRequestedAppControl method (with extra argument) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl_extra_argument">
+      <testcase purpose="Check using getRequestedAppControl method (with extra argument) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using hide method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide">
+      <testcase purpose="Check using hide method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if method Application.hide exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_hide_exist">
+      <testcase purpose="Check if method Application.hide exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_hide_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check using hide method (with extra arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide_extra_argument">
+      <testcase purpose="Check using hide method (with extra arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if Application notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_notexist">
+      <testcase purpose="Check if Application notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if RequestedApplicationControl method replyFailure works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="RequestedApplicationControl_replyFailure">
+      <testcase purpose="Check if RequestedApplicationControl method replyFailure works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="RequestedApplicationControl_replyFailure">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html</test_script_entry>
         </description>
index fc31b8abb3f82508048f6ef4e27f126715270721..288b87823db0d1d34a5630959bcda537bec36729 100644 (file)
@@ -3,22 +3,22 @@
 <test_definition>
   <suite name="tct-application-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Application">
-      <testcase purpose="check if ApplicationCertificate possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_extend">
+      <testcase purpose="Check if ApplicationCertificate possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationCertificate notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_notexist">
+      <testcase purpose="Check if ApplicationCertificate notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationCertificate.type attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_type_attribute">
+      <testcase purpose="Check attribute ApplicationCertificate::type existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_type_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationCertificate.value attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_value_attribute">
+      <testcase purpose="Check attribute ApplicationCertificate::value existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_value_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationContext.appId attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_appId_attribute">
+      <testcase purpose="Check attribute ApplicationContext::appId existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_appId_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationContext possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_extend">
+      <testcase purpose="Check if ApplicationContext possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationContext.id attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_id_attribute">
+      <testcase purpose="Check attribute ApplicationContext::id existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_id_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationContext notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_notexist">
+      <testcase purpose="Check if ApplicationContext notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationControlDataArrayReplyCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_notexist">
+      <testcase purpose="Check if ApplicationControlDataArrayReplyCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check onfailure listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onfailure">
+      <testcase purpose="Check onfailure listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onfailure">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onsuccess">
+      <testcase purpose="Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationControl.category attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_category_attribute">
+      <testcase purpose="Check attribute ApplicationControl::category existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_category_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="test whether constructor with all arguments are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor">
+      <testcase purpose="Test whether constructor with all arguments are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="test whether constructor with non-optional argument are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor_minargs">
+      <testcase purpose="Test whether constructor with non-optional argument are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor_minargs">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationControl.data attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_data_attribute">
+      <testcase purpose="Check attribute ApplicationControl::data existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_data_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_exist">
+      <testcase purpose="Check if ApplicationControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationControl possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_extend">
+      <testcase purpose="Check if ApplicationControl possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationControl.mime attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_mime_attribute">
+      <testcase purpose="Check attribute ApplicationControl::mime existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_mime_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationControl.operation attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_operation_attribute">
+      <testcase purpose="Check attribute ApplicationControl::operation existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_operation_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check ApplicationControl.uri attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_uri_attribute">
+      <testcase purpose="Check attribute ApplicationControl::uri existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_uri_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationInformationEventCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_notexist">
+      <testcase purpose="Check if ApplicationInformationEventCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_oninstalled">
+      <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_oninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onuninstalled">
+      <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onuninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onupdated">
+      <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onupdated">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformation_version_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationManagerObject not exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManagerObject_notexist">
+      <testcase purpose="Check if ApplicationManagerObject not exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManagerObject_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument 'ApplicationInformationEventCallback' type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method addAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist">
+      <testcase purpose="Check if method addAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg">
+      <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (installation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_oninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using addAppInfoEventListener method (updating process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onupdated">
         <description>
           <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationManager possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_extend">
+      <testcase purpose="Check if ApplicationManager possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl">
+      <testcase purpose="Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument ApplicationControl (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
+      <testcase purpose="Check non-optional argument ApplicationControl (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_invalid_obj">
+      <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_invalid_obj">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method findAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_exist">
+      <testcase purpose="Check if method findAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check findAppControl with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_missarg">
+      <testcase purpose="Check findAppControl with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check findAppControl with missing non-optional successCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_missarg">
+      <testcase purpose="Check findAppControl with missing non-optional successCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_with_errorCallback">
+      <testcase purpose="Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts">
+      <testcase purpose="Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppCerts exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_exist">
+      <testcase purpose="Check if method getAppCerts exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_with_id">
+      <testcase purpose="Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext">
+      <testcase purpose="Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppContext exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_exist">
+      <testcase purpose="Check if method getAppContext exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_with_contextId">
+      <testcase purpose="Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_with_contextId">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo">
+      <testcase purpose="Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_exist">
+      <testcase purpose="Check if method getAppInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_with_id">
+      <testcase purpose="Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method ApplicationManager::getAppMetaData exists" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppMetaData_exist">
+      <testcase purpose="Check if method ApplicationManager::getAppMetaData exists" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppMetaData_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI">
+      <testcase purpose="Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppSharedURI exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_exist">
+      <testcase purpose="Check if method getAppSharedURI exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_with_id">
+      <testcase purpose="Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext">
+      <testcase purpose="Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (getAppsContext method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (getAppsContext method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppsContext exist and can be overriden" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_exist">
+      <testcase purpose="Check if method getAppsContext exist and can be overriden" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="getAppsContext - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_missarg">
+      <testcase purpose="GetAppsContext - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (getAppsContext method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (getAppsContext method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_with_errorCallback">
+      <testcase purpose="Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo">
+      <testcase purpose="Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument errorCallback (getAppsInfo method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument errorCallback (getAppsInfo method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getAppsInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_exist">
+      <testcase purpose="Check if method getAppsInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument successCallback (getAppsInfo method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
+      <testcase purpose="Check non-optional argument successCallback (getAppsInfo method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_with_errorCallback">
+      <testcase purpose="Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getCurrentApplication method in ApplicationManager interface to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication">
+      <testcase purpose="Check using getCurrentApplication method in ApplicationManager interface to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method getCurrentApplication exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_exist">
+      <testcase purpose="Check if method getCurrentApplication exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getCurrentApplication with extra argument to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_extra_argument">
+      <testcase purpose="Check using getCurrentApplication with extra argument to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationManager exist in tizen" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_in_tizen">
+      <testcase purpose="Check if ApplicationManager exist in tizen" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_in_tizen">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using kill method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill">
+      <testcase purpose="Check using kill method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method kill exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_exist">
+      <testcase purpose="Check if method kill exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using kill method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_errorCallback">
+      <testcase purpose="Check using kill method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using kill method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_successCallback">
+      <testcase purpose="Check using kill method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launch method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch">
+      <testcase purpose="Check using launch method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check non-optional argument ApplicationControl type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
+      <testcase purpose="Check non-optional argument ApplicationControl type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
+      <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method launchAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_exist">
+      <testcase purpose="Check if method launchAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="launchAppControl - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_missarg">
+      <testcase purpose="LaunchAppControl - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_missarg">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onReply' type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onReply' type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation">
+      <testcase purpose="Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
+      <testcase purpose="Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
+      <testcase purpose="Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
+      <testcase purpose="Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_errorCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method with explicit application ID in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_id">
+      <testcase purpose="Check using launchAppControl method with explicit application ID in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_id">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_replyCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_replyCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_successCallback">
+      <testcase purpose="Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onError' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onError' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (on error) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (on error) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method launch exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_exist">
+      <testcase purpose="Check if method launch exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check optional argument 'onSuccess' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_TypeMismatch">
+      <testcase purpose="Check optional argument 'onSuccess' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (on success) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (on success) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launch method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_errorCallback">
+      <testcase purpose="Check using launch method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using launch method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_successCallback">
+      <testcase purpose="Check using launch method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_successCallback">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if ApplicationManager notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_notexist">
+      <testcase purpose="Check if ApplicationManager notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener">
+      <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method removeAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist">
+      <testcase purpose="Check if method removeAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check Application.ContextId attribute" component="TizenAPI/Application/Application" execution_type="auto" id="Application_ContextId_attribute">
+      <testcase purpose="Check attribute Application::ContextId existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="Application_ContextId_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check Application.appInfo attribute" component="TizenAPI/Application/Application" execution_type="auto" id="Application_appInfo_attribute">
+      <testcase purpose="Check attribute Application::appInfo existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="Application_appInfo_attribute">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using exit method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit">
+      <testcase purpose="Check using exit method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method Application.exit exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit_exist">
+      <testcase purpose="Check if method Application.exit exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Application possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="Application_extend">
+      <testcase purpose="Check if Application possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="Application_extend">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_extend.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getRequestedAppControl method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl">
+      <testcase purpose="Check using getRequestedAppControl method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method Application.getRequestedAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_exist">
+      <testcase purpose="Check if method Application.getRequestedAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using getRequestedAppControl method (with extra argument) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_extra_argument">
+      <testcase purpose="Check using getRequestedAppControl method (with extra argument) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using hide method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide">
+      <testcase purpose="Check using hide method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if method Application.hide exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_exist">
+      <testcase purpose="Check if method Application.hide exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_exist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check using hide method (with extra arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_extra_argument">
+      <testcase purpose="Check using hide method (with extra arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_extra_argument">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if Application notexist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_notexist">
+      <testcase purpose="Check if Application notexist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_notexist">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/Application_notexist.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if RequestedApplicationControl method replyFailure works properly" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="RequestedApplicationControl_replyFailure">
+      <testcase purpose="Check if RequestedApplicationControl method replyFailure works properly" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="RequestedApplicationControl_replyFailure">
         <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html</test_script_entry>
         </description>