From: Piotr Szydelko Date: Tue, 8 Oct 2013 13:29:21 +0000 (+0200) Subject: [Application] code consistency improvement X-Git-Tag: 2.2.1_release~105^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dd2b3f18e5b92a84d15513c3d018015f61b9baf;p=test%2Ftct%2Fweb%2Fapi.git [Application] code consistency improvement Change-Id: Ia01e602988008e1ae543954130d5d6eecf661861 --- diff --git a/tct-application-tizen-tests/application/ApplicationCertificate_extend.html b/tct-application-tizen-tests/application/ApplicationCertificate_extend.html index 5ffbea9fd..68a2303cc 100644 --- a/tct-application-tizen-tests/application/ApplicationCertificate_extend.html +++ b/tct-application-tizen-tests/application/ApplicationCertificate_extend.html @@ -29,7 +29,7 @@ Authors: ApplicationCertificate_extend - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html b/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html index 25c850caa..17513e168 100644 --- a/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html @@ -28,7 +28,7 @@ Authors: ApplicationCertificate_notexist - + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html b/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html index 44d03dc65..17afe7bc2 100644 --- a/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationCertificate_type_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html b/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html index e008b197c..650b9d2b6 100644 --- a/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationCertificate_value_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_notexist.html b/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_notexist.html index 8bf141b1c..957643629 100644 --- a/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_notexist.html @@ -23,7 +23,7 @@ Authors: ApplicationContextArraySuccessCallback_notexist - + @@ -39,7 +39,7 @@ Authors: test(function () { check_no_interface_object("ApplicationContextArraySuccessCallback"); -}, "ApplicationContextArraySuccessCallback_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html b/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html index 112c0b368..dc3f3c654 100644 --- a/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html +++ b/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html @@ -25,7 +25,7 @@ Authors: ApplicationContextArraySuccessCallback_onsuccess - + @@ -33,7 +33,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationContext_extend.html b/tct-application-tizen-tests/application/ApplicationContext_extend.html index 50d5f5e53..9052b8c8f 100644 --- a/tct-application-tizen-tests/application/ApplicationContext_extend.html +++ b/tct-application-tizen-tests/application/ApplicationContext_extend.html @@ -29,7 +29,7 @@ Authors: ApplicationContext_extend - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html b/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html index c5ca0bffb..bec4f302b 100644 --- a/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationContext_id_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationContext_notexist.html b/tct-application-tizen-tests/application/ApplicationContext_notexist.html index 60d3e5969..f73864a02 100644 --- a/tct-application-tizen-tests/application/ApplicationContext_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationContext_notexist.html @@ -28,7 +28,7 @@ Authors: ApplicationContext_notexist - + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html b/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html index 1fa95837b..78ee85a5e 100644 --- a/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html @@ -28,7 +28,7 @@ Authors: ApplicationControlDataArrayReplyCallback_notexist - + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html b/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html index 87510721a..062177a05 100644 --- a/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html +++ b/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html @@ -29,7 +29,7 @@ Authors: ApplicationControlDataArrayReplyCallback_onfailure - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlData_exist.html b/tct-application-tizen-tests/application/ApplicationControlData_exist.html index be51ceb60..3004f4c51 100644 --- a/tct-application-tizen-tests/application/ApplicationControlData_exist.html +++ b/tct-application-tizen-tests/application/ApplicationControlData_exist.html @@ -22,7 +22,7 @@ Authors: ApplicationControlData_exist - + @@ -30,7 +30,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlData_extend.html b/tct-application-tizen-tests/application/ApplicationControlData_extend.html index badd779b2..6dd9f6372 100644 --- a/tct-application-tizen-tests/application/ApplicationControlData_extend.html +++ b/tct-application-tizen-tests/application/ApplicationControlData_extend.html @@ -22,7 +22,7 @@ Authors: ApplicationControlData_extend - + @@ -30,7 +30,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlData_key_attribute.html b/tct-application-tizen-tests/application/ApplicationControlData_key_attribute.html index 80f30f542..d6c8701d1 100644 --- a/tct-application-tizen-tests/application/ApplicationControlData_key_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControlData_key_attribute.html @@ -23,7 +23,7 @@ Authors: ApplicationControlData_key_attribute - + @@ -31,7 +31,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html b/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html index 7e4be28ab..8144ab411 100644 --- a/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html @@ -22,7 +22,7 @@ Authors: ApplicationControlData_value_attribute - + @@ -30,7 +30,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html b/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html index 2155bbf06..50824c762 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_category_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_constructor.html b/tct-application-tizen-tests/application/ApplicationControl_constructor.html index 37ad8883f..29fd9a6de 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_constructor.html +++ b/tct-application-tizen-tests/application/ApplicationControl_constructor.html @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html b/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html index 6edd4d52a..18cd633e7 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html +++ b/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html b/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html index 3be12c8a0..c6f38846f 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_data_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_exist.html b/tct-application-tizen-tests/application/ApplicationControl_exist.html index 5f65e22e8..19e126821 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_exist.html +++ b/tct-application-tizen-tests/application/ApplicationControl_exist.html @@ -29,14 +29,14 @@ Authors: ApplicationControl_exist - +
diff --git a/tct-application-tizen-tests/application/ApplicationControl_extend.html b/tct-application-tizen-tests/application/ApplicationControl_extend.html index d0b478972..f214c5da3 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_extend.html +++ b/tct-application-tizen-tests/application/ApplicationControl_extend.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_extend - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html b/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html index 46e7d4601..eb3c1ab7c 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_mime_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html b/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html index 71242a4cc..f7a37c54d 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_operation_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html b/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html index 9fa1c61ad..86552e4a4 100644 --- a/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html @@ -29,7 +29,7 @@ Authors: ApplicationControl_uri_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_notexist.html b/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_notexist.html index 485594357..4a0ca96ba 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_notexist.html @@ -22,7 +22,7 @@ Authors: ApplicationInformationArraySuccessCallback_notexist - + @@ -38,7 +38,7 @@ Authors: test(function () { check_no_interface_object("ApplicationInformationArraySuccessCallback"); -}, "ApplicationInformationArraySuccessCallback_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html b/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html index 2ecbd4583..ade97d50a 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html +++ b/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html @@ -23,7 +23,7 @@ Authors: ApplicationInformationArraySuccessCallback_onsuccess - + @@ -33,7 +33,7 @@ Authors: + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html index eeec31895..ae6860e45 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html @@ -29,7 +29,7 @@ Authors: ApplicationInformationEventCallback_oninstalled - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -32,7 +32,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: test(function () { check_no_interface_object("ApplicationInformation"); -}, "ApplicationInformation_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/ApplicationInformation_packageId_attribute.html b/tct-application-tizen-tests/application/ApplicationInformation_packageId_attribute.html index cd693869a..3cc60871d 100644 --- a/tct-application-tizen-tests/application/ApplicationInformation_packageId_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationInformation_packageId_attribute.html @@ -22,7 +22,7 @@ Authors: ApplicationInformation_packageId_attribute - + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -30,7 +30,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html index 47f2570f8..3bccdd0ee 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html index 79ec519ad..ea5a1f59f 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb - + @@ -37,14 +37,14 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html index 09a090eca..b6cfe36c5 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_addAppInfoEventListener_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html index fd4a1ab29..3a4d3768d 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_addAppInfoEventListener_missarg - - + @@ -38,17 +37,17 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html index f7300ec85..151c1b298 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_addAppInfoEventListener_oninstalled - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html index a0d4a0a66..0dacce5e5 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl - + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: - + @@ -39,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html index 553e11c46..c4bc57eaf 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl_errorCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: - + @@ -39,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html index bcbdf2322..f6202d1d5 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html index 5d961aea4..52e13dae2 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl_missarg - + @@ -38,17 +38,17 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html index 2a0888bd8..1e1c0624d 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl_successCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: - + @@ -39,7 +38,7 @@ Authors: - + @@ -39,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html index ef8e00aa8..2ae9c9803 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html +++ b/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_findAppControl_with_errorCallback - + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html index fbd6d2e79..c1b29b63f 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppCerts_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html b/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html index 81e663ecf..a938c7417 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppCerts_with_id - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html b/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html index 115bbc5ca..05fdcdcf0 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppContext - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html index 71e59c39e..c0ae02d5b 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppContext_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html b/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html index 3b47c93a6..57b93e32c 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppContext_with_contextId - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html index 794a8f631..82f010ab1 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppInfo - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html index 7baafbd38..95f45ef42 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppInfo_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html index b79bb3354..6081b24ad 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppInfo_with_id - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html index 3c306d889..693ee4ee4 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html @@ -27,7 +27,7 @@ Authors: ApplicationManager_getAppMetaData - + @@ -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); diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html index b9d8aeaa5..4017cb9ff 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html @@ -27,7 +27,7 @@ Authors: ApplicationManager_getAppMetaData_exist - + @@ -35,7 +35,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html index fd335b50e..9cc04d003 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html @@ -27,7 +27,7 @@ Authors: ApplicationManager_getAppMetaData_with_id - + @@ -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); diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html index 80e639c04..c3b447f4c 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppSharedURI - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html index 05051c058..1ad37774d 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppSharedURI_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html index 268e30916..df7bab007 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppSharedURI_with_id - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html index e3a7fa1a3..05a8f357b 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppsContext - + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: - + @@ -38,7 +37,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html index e1b194e27..375df8416 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_getAppsContext_missarg - - + @@ -38,17 +37,17 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html index 078a3e048..7792d7bb9 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppsContext_successCallback_TypeMismatch - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html index 75965d9ac..126e29b6f 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_getAppsContext_successCallback_invalid_cb - - + @@ -39,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: - + @@ -38,7 +37,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html index 32248e32a..842a5846f 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_getAppsInfo_missarg - - + @@ -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); diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html index 9a63a432b..8022257ee 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getAppsInfo_successCallback_TypeMismatch - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html index 0c4493a40..491d34e11 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_getAppsInfo_successCallback_invalid_cb - - + @@ -39,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html b/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html index 007ca4ada..370d7247c 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getCurrentApplication_exist - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html b/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html index 810ada9e2..1ea458e64 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html +++ b/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_getCurrentApplication_extra_argument - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html b/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html index f8476b975..979940593 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html +++ b/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_in_tizen - + @@ -37,16 +37,16 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_kill.html b/tct-application-tizen-tests/application/ApplicationManager_kill.html index 6bcd42d2f..cab20f482 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_kill.html +++ b/tct-application-tizen-tests/application/ApplicationManager_kill.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_kill - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html index 2cf7a5cf1..b77c55631 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_kill_successCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html b/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html index e47af7ab5..cf9fa0fa5 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html +++ b/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html @@ -29,8 +29,7 @@ Authors: ApplicationManager_launchAppControl_missarg - - + @@ -38,17 +37,17 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html index 1fd2a1255..16da08b29 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_launchAppControl_replyCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: - + @@ -39,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html b/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html index 24653da8e..a1bd03590 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html +++ b/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_launch_successCallback_TypeMismatch - + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html b/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html index 46d33edbd..b47630915 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html +++ b/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html @@ -29,7 +29,7 @@ Authors: ApplicationManager_removeAppInfoEventListener - + @@ -37,7 +37,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationMetaData_extend.html b/tct-application-tizen-tests/application/ApplicationMetaData_extend.html index a0dfb62f1..d6bc0e873 100644 --- a/tct-application-tizen-tests/application/ApplicationMetaData_extend.html +++ b/tct-application-tizen-tests/application/ApplicationMetaData_extend.html @@ -22,7 +22,7 @@ Authors: ApplicationMetaData_extend - + @@ -31,7 +31,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationMetaData_key_attribute.html b/tct-application-tizen-tests/application/ApplicationMetaData_key_attribute.html index ebb9f9f35..6b484657f 100644 --- a/tct-application-tizen-tests/application/ApplicationMetaData_key_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationMetaData_key_attribute.html @@ -22,7 +22,7 @@ Authors: ApplicationMetaData_key_attribute - + @@ -31,7 +31,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/ApplicationMetaData_notexist.html b/tct-application-tizen-tests/application/ApplicationMetaData_notexist.html index 3e5e0329b..bab2a2196 100644 --- a/tct-application-tizen-tests/application/ApplicationMetaData_notexist.html +++ b/tct-application-tizen-tests/application/ApplicationMetaData_notexist.html @@ -22,7 +22,7 @@ Authors: ApplicationMetaData_notexist - + @@ -38,7 +38,7 @@ Authors: test(function () { check_no_interface_object("ApplicationMetaData"); -}, "ApplicationMetaData_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html b/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html index 49fbd5643..097e0375f 100644 --- a/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html +++ b/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html @@ -22,7 +22,7 @@ Authors: ApplicationMetaData_value_attribute - + @@ -31,7 +31,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_ContextId_attribute.html b/tct-application-tizen-tests/application/Application_ContextId_attribute.html index 7fd496ab0..802f260f5 100644 --- a/tct-application-tizen-tests/application/Application_ContextId_attribute.html +++ b/tct-application-tizen-tests/application/Application_ContextId_attribute.html @@ -29,7 +29,7 @@ Authors: Application_ContextId_attribute - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_appInfo_attribute.html b/tct-application-tizen-tests/application/Application_appInfo_attribute.html index 381c1862f..4f9ac27d3 100644 --- a/tct-application-tizen-tests/application/Application_appInfo_attribute.html +++ b/tct-application-tizen-tests/application/Application_appInfo_attribute.html @@ -29,7 +29,7 @@ Authors: Application_appInfo_attribute - + @@ -38,7 +38,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_exit.html b/tct-application-tizen-tests/application/Application_exit.html index fde7c88fa..50cab10ad 100644 --- a/tct-application-tizen-tests/application/Application_exit.html +++ b/tct-application-tizen-tests/application/Application_exit.html @@ -46,7 +46,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_extend.html b/tct-application-tizen-tests/application/Application_extend.html index 293bef46e..aa2850aa2 100644 --- a/tct-application-tizen-tests/application/Application_extend.html +++ b/tct-application-tizen-tests/application/Application_extend.html @@ -29,7 +29,7 @@ Authors: Application_extend - + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_getRequestedAppControl.html b/tct-application-tizen-tests/application/Application_getRequestedAppControl.html index fc64eb7b0..507068bd7 100644 --- a/tct-application-tizen-tests/application/Application_getRequestedAppControl.html +++ b/tct-application-tizen-tests/application/Application_getRequestedAppControl.html @@ -49,7 +49,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html b/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html index 3bc1fad89..cb85c9263 100644 --- a/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html +++ b/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html @@ -31,7 +31,7 @@ Authors: Application_getRequestedAppControl_extra_argument - + @@ -40,7 +40,7 @@ Authors: + @@ -37,7 +37,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/Application_hide_extra_argument.html b/tct-application-tizen-tests/application/Application_hide_extra_argument.html index 083a72573..ddda136e3 100644 --- a/tct-application-tizen-tests/application/Application_hide_extra_argument.html +++ b/tct-application-tizen-tests/application/Application_hide_extra_argument.html @@ -29,7 +29,7 @@ Authors: Application_hide_extra_argument - + @@ -38,7 +38,7 @@ Authors: + @@ -36,7 +36,7 @@ Authors: diff --git a/tct-application-tizen-tests/application/FindAppControlSuccessCallback_notexist.html b/tct-application-tizen-tests/application/FindAppControlSuccessCallback_notexist.html index bec807318..1f69063a2 100644 --- a/tct-application-tizen-tests/application/FindAppControlSuccessCallback_notexist.html +++ b/tct-application-tizen-tests/application/FindAppControlSuccessCallback_notexist.html @@ -22,7 +22,7 @@ Authors: FindAppControlSuccessCallback_notexist - + @@ -38,7 +38,7 @@ Authors: test(function () { check_no_interface_object("FindAppControlSuccessCallback"); -}, "FindAppControlSuccessCallback_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/FindAppControlSuccessCallback_onsuccess.html b/tct-application-tizen-tests/application/FindAppControlSuccessCallback_onsuccess.html index 3f6b57586..010c2e655 100644 --- a/tct-application-tizen-tests/application/FindAppControlSuccessCallback_onsuccess.html +++ b/tct-application-tizen-tests/application/FindAppControlSuccessCallback_onsuccess.html @@ -22,7 +22,7 @@ Authors: FindAppControlSuccessCallback_onsuccess - + @@ -31,7 +31,7 @@ Authors: + @@ -31,7 +31,7 @@ Authors: + @@ -31,7 +31,7 @@ Authors: + @@ -31,7 +31,7 @@ Authors: + @@ -38,7 +38,7 @@ Authors: test(function () { check_no_interface_object("RequestedApplicationControl"); -}, "RequestedApplicationControl_notexist"); +}, document.title); diff --git a/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html b/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html index 1c432bdac..4ed5826f5 100644 --- a/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html +++ b/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html @@ -23,7 +23,7 @@ Authors: RequestedApplicationControl_replyFailure - + @@ -31,7 +31,7 @@ Authors:
+ @@ -31,7 +31,7 @@ Authors: + @@ -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 () { diff --git a/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult.html b/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult.html index 54683a149..212a2c70d 100644 --- a/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult.html +++ b/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult.html @@ -22,7 +22,7 @@ Authors: RequestedApplicationControl_replyResult - + @@ -31,7 +31,7 @@ Authors: + diff --git a/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_exist.html b/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_exist.html index 2d88cb32e..e95fe8621 100644 --- a/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_exist.html +++ b/tct-application-tizen-tests/application/RequestedApplicationControl_replyResult_exist.html @@ -22,7 +22,7 @@ Authors: RequestedApplicationControl_replyResult_exist - + @@ -30,7 +30,7 @@ Authors:
+ @@ -31,7 +31,7 @@ Authors: \n'); + } + if (head_src.search(/\/testharnessreport.js\W/) === -1) { + document.write('\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 index 9f972c1eb..000000000 --- a/tct-application-tizen-tests/resources/unitcommon.js +++ /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('\n'); - } - if (head_src.search(/\/testharnessreport.js\W/) === -1) { - document.write('\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/tests.full.xml b/tct-application-tizen-tests/tests.full.xml index fef0cd352..610416ad8 100644 --- a/tct-application-tizen-tests/tests.full.xml +++ b/tct-application-tizen-tests/tests.full.xml @@ -3,7 +3,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html @@ -15,7 +15,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html @@ -27,7 +27,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html @@ -39,7 +39,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html @@ -75,7 +75,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html @@ -87,7 +87,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationContext_extend.html @@ -99,7 +99,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html @@ -111,7 +111,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html @@ -123,7 +123,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html @@ -135,7 +135,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html @@ -147,7 +147,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html @@ -219,7 +219,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html @@ -231,7 +231,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html @@ -243,7 +243,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html @@ -255,7 +255,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html @@ -267,7 +267,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_exist.html @@ -279,7 +279,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_extend.html @@ -291,7 +291,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html @@ -303,7 +303,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html @@ -315,7 +315,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html @@ -351,7 +351,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html @@ -363,7 +363,7 @@ - + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) @@ -382,7 +382,7 @@ - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -401,7 +401,7 @@ - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -552,7 +552,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html @@ -564,7 +564,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html @@ -576,7 +576,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html @@ -588,7 +588,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html @@ -600,7 +600,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html @@ -612,7 +612,7 @@ - + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) @@ -631,7 +631,7 @@ - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -650,7 +650,7 @@ - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -669,7 +669,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_extend.html @@ -681,7 +681,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html @@ -693,7 +693,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html @@ -705,7 +705,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html @@ -717,7 +717,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html @@ -729,7 +729,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html @@ -741,7 +741,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html @@ -753,7 +753,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html @@ -765,7 +765,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html @@ -777,7 +777,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html @@ -789,7 +789,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html @@ -801,7 +801,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html @@ -813,7 +813,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html @@ -825,7 +825,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html @@ -837,7 +837,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html @@ -849,7 +849,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html @@ -861,7 +861,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html @@ -873,7 +873,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html @@ -885,7 +885,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html @@ -897,7 +897,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html @@ -909,7 +909,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html @@ -933,7 +933,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html @@ -957,7 +957,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html @@ -969,7 +969,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html @@ -981,7 +981,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html @@ -993,7 +993,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html @@ -1005,7 +1005,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html @@ -1017,7 +1017,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html @@ -1029,7 +1029,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html @@ -1041,7 +1041,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html @@ -1053,7 +1053,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html @@ -1065,7 +1065,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html @@ -1077,7 +1077,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html @@ -1089,7 +1089,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html @@ -1101,7 +1101,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html @@ -1113,7 +1113,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html @@ -1125,7 +1125,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html @@ -1149,7 +1149,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html @@ -1161,7 +1161,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html @@ -1173,7 +1173,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html @@ -1185,7 +1185,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html @@ -1197,7 +1197,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html @@ -1209,7 +1209,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html @@ -1221,7 +1221,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html @@ -1233,7 +1233,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill.html @@ -1245,7 +1245,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html @@ -1257,7 +1257,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html @@ -1269,7 +1269,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html @@ -1281,7 +1281,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html @@ -1293,7 +1293,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html @@ -1305,7 +1305,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html @@ -1317,7 +1317,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html @@ -1329,7 +1329,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch.html @@ -1341,7 +1341,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html @@ -1353,7 +1353,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html @@ -1365,7 +1365,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html @@ -1377,7 +1377,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html @@ -1389,7 +1389,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html @@ -1401,7 +1401,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html @@ -1413,7 +1413,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html @@ -1425,7 +1425,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html @@ -1437,7 +1437,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html @@ -1449,7 +1449,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html @@ -1461,7 +1461,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html @@ -1473,7 +1473,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html @@ -1485,7 +1485,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html @@ -1497,7 +1497,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html @@ -1509,7 +1509,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html @@ -1521,7 +1521,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html @@ -1533,7 +1533,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html @@ -1545,7 +1545,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html @@ -1557,7 +1557,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html @@ -1569,7 +1569,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html @@ -1581,7 +1581,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html @@ -1593,7 +1593,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html @@ -1605,7 +1605,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html @@ -1617,7 +1617,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html @@ -1629,7 +1629,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html @@ -1641,7 +1641,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html @@ -1653,7 +1653,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html @@ -1665,7 +1665,7 @@ - + /opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html @@ -1725,7 +1725,7 @@ - + /opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html @@ -1737,7 +1737,7 @@ - + /opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html @@ -1749,7 +1749,7 @@ - + /opt/tct-application-tizen-tests/application/Application_exit.html @@ -1761,7 +1761,7 @@ - + /opt/tct-application-tizen-tests/application/Application_exit_exist.html @@ -1773,7 +1773,7 @@ - + /opt/tct-application-tizen-tests/application/Application_extend.html @@ -1785,7 +1785,7 @@ - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html @@ -1797,7 +1797,7 @@ - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html @@ -1809,7 +1809,7 @@ - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html @@ -1821,7 +1821,7 @@ - + /opt/tct-application-tizen-tests/application/Application_hide.html @@ -1833,7 +1833,7 @@ - + /opt/tct-application-tizen-tests/application/Application_hide_exist.html @@ -1845,7 +1845,7 @@ - + /opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html @@ -1857,7 +1857,7 @@ - + /opt/tct-application-tizen-tests/application/Application_notexist.html @@ -1941,7 +1941,7 @@ - + /opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html diff --git a/tct-application-tizen-tests/tests.xml b/tct-application-tizen-tests/tests.xml index fc31b8abb..288b87823 100644 --- a/tct-application-tizen-tests/tests.xml +++ b/tct-application-tizen-tests/tests.xml @@ -3,22 +3,22 @@ - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html @@ -33,37 +33,37 @@ /opt/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html - + /opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationContext_extend.html - + /opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html - + /opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html @@ -93,47 +93,47 @@ /opt/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_extend.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html @@ -148,12 +148,12 @@ /opt/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html - + /opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html - + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) @@ -165,7 +165,7 @@ /opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -177,7 +177,7 @@ /opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -244,32 +244,32 @@ /opt/tct-application-tizen-tests/application/ApplicationInformation_version_attribute.html - + /opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html - + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) @@ -281,7 +281,7 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -293,7 +293,7 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html - + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). @@ -305,107 +305,107 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_extend.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html @@ -415,7 +415,7 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html @@ -425,77 +425,77 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html @@ -505,222 +505,222 @@ /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html - + /opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html @@ -745,62 +745,62 @@ /opt/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html - + /opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html - + /opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html - + /opt/tct-application-tizen-tests/application/Application_exit.html - + /opt/tct-application-tizen-tests/application/Application_exit_exist.html - + /opt/tct-application-tizen-tests/application/Application_extend.html - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html - + /opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html - + /opt/tct-application-tizen-tests/application/Application_hide.html - + /opt/tct-application-tizen-tests/application/Application_hide_exist.html - + /opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html - + /opt/tct-application-tizen-tests/application/Application_notexist.html @@ -835,7 +835,7 @@ /opt/tct-application-tizen-tests/application/RequestedApplicationControl_notexist.html - + /opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html