From: Mariusz Polasinski Date: Tue, 13 Aug 2013 13:27:17 +0000 (+0200) Subject: [Application] changes in readme, tests.xml and tags according to changes names of... X-Git-Tag: 2.2.1_release~114^2~106^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a608d2f517ebbb06bf1a974a96d107b12d0f3d59;p=test%2Ftct%2Fweb%2Fapi.git [Application] changes in readme, tests.xml and tags according to changes names of applications Change-Id: I665e261dcbd00f4134ec1c4f080a3fc50d7fe589 --- diff --git a/tct-application-tizen-tests/README b/tct-application-tizen-tests/README index 285328990..898425482 100755 --- a/tct-application-tizen-tests/README +++ b/tct-application-tizen-tests/README @@ -89,14 +89,14 @@ Steps: Some special tests ---------------------------------------------- 1. ApplicationManager_addAppInfoEventListener_oninstalled.html, ApplicationInformationEventCallback_oninstalled.html - manual tests -Make sure that PackageTest1.wgt application is not installed (uninstall it). -Click Run and next install special application PackageTest1 FROM: My Files/Phone/Others, finally look at the results. +Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it). +Click Run and next install special application TCTAppInfoEventTest1.wgt FROM: My Files/Phone/Others, finally look at the results. 2. ApplicationManager_addAppInfoEventListener_onuninstalled.html, ApplicationInformationEventCallback_onuninstalled.html - manual tests -Make sure that PackageTest1.wgt application is installed (you can install it from: My Files/Phone/Others). -Click Run and then deinstall PackageTest1 application, finally look at the results. +Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). +Click Run and then uninstall TCTAppInfoEventTest1 application, finally look at the results. 3. ApplicationManager_addAppInfoEventListener_onupdated.html, ApplicationInformationEventCallback_onupdated.html - manual tests -Make sure that PackageTest1.wgt application is installed (you can install it from: My Files/Phone/Others). -Run the test and then install PackageTest2.wgt application from: My Files/Phone/Others directory, finally look at the results. +Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). +Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory, finally look at the results. diff --git a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html index 2bcd6576f..1ed399fb5 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html @@ -41,22 +41,22 @@ Authors: //==== LABEL check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:oninstalled M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it) +//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) //==== STEP Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results //==== EXPECT properly argument //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA CBT CBOA -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationInformationEventCallback_oninstalled", {timeout: 90000}); +var this_test = async_test("ApplicationInformationEventCallback_oninstalled", {timeout: 300000}); -this_test.step(function() { +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function(appInfo) { + oninstalled: this_test.step_func(function (appInfo) { assert_type(appInfo, "object", "wrong type of received value"); assert_true("id" in appInfo, "no id in returned value"); assert_true("name" in appInfo, "no name in returned value"); @@ -70,10 +70,10 @@ this_test.step(function() { assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned"); this_test.done(); }), - onupdated: this_test.step_func(function() { + onupdated: this_test.step_func(function () { assert_unreached("This function (onupdated) should not be used"); }), - onuninstalled: this_test.step_func(function() { + onuninstalled: this_test.step_func(function () { assert_unreached("This function (onuninstalled) should not be used"); }) }; diff --git a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html index 8e0bea78c..f90cc1458 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html @@ -41,28 +41,28 @@ Authors: //==== LABEL check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onuninstalled M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). -//==== STEP Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results +//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). +//==== STEP Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results //==== EXPECT properly argument //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA CBT CBOA -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationInformationEventCallback_onuninstalled", {timeout: 90000}); +var this_test = async_test("ApplicationInformationEventCallback_onuninstalled", {timeout: 300000}); -this_test.step(function() { +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function() { + oninstalled: this_test.step_func(function () { assert_unreached("This function (oninstalled) should not be used"); }), - onupdated: this_test.step_func(function() { + onupdated: this_test.step_func(function () { assert_unreached("This function (onupdated) should not be used"); }), - onuninstalled: this_test.step_func(function(appId) { + onuninstalled: this_test.step_func(function (appId) { assert_type(appId, "string", "wrong type of received value"); assert_equals(appId, APP_INFO_TEST_APP_ID, "wrong ApplicationId was returned"); this_test.done(); diff --git a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html index f81d21431..4cc1d78a0 100644 --- a/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html +++ b/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html @@ -41,25 +41,25 @@ Authors: //==== LABEL check argument passed into method which is onupdated listener in ApplicationInformationEventCallback //==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onupdated M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). +//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). //==== STEP Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory. //==== EXPECT properly argument //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA CBT CBOA -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationInformationEventCallback_onupdated", {timeout: 90000}); +var this_test = async_test("ApplicationInformationEventCallback_onupdated", {timeout: 300000}); -this_test.step(function() { +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function() { + oninstalled: this_test.step_func(function () { assert_unreached("This function (oninstalled) should not be used"); }), - onupdated: this_test.step_func(function(appInfo) { + onupdated: this_test.step_func(function (appInfo) { assert_type(appInfo, "object", "wrong type of received value"); assert_true("id" in appInfo, "no id in returned value"); assert_true("name" in appInfo, "no name in returned value"); @@ -73,7 +73,7 @@ this_test.step(function() { assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned"); this_test.done(); }), - onuninstalled: this_test.step_func(function() { + onuninstalled: this_test.step_func(function () { assert_unreached("This function (onuninstalled) should not be used"); }) }; diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html index c2f67c3ea..2a28a01b2 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html @@ -41,27 +41,27 @@ Authors: //==== LABEL check using addAppInfoEventListener method (installation process) in ApplicationManager interface //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it) +//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) //==== STEP Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results //==== EXPECT listener was added with successfully //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA MMINA MAST MR -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationManager_addAppInfoEventListener_oninstalled", {timeout: 90000}); -this_test.step(function() { +var this_test = async_test("ApplicationManager_addAppInfoEventListener_oninstalled", {timeout: 300000}); +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function() { + oninstalled: this_test.step_func(function () { this_test.done(); }), - onupdated: this_test.step_func(function() { + onupdated: this_test.step_func(function () { assert_unreached("This function (onupdated) should not be used"); }), - onuninstalled: this_test.step_func(function() { + onuninstalled: this_test.step_func(function () { assert_unreached("This function (onuninstalled) should not be used"); }) }; diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html index b40e192e5..af4041e62 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html @@ -41,27 +41,27 @@ Authors: //==== LABEL check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). -//==== STEP Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results +//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). +//==== STEP Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results //==== EXPECT listener was added with successfully //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA MMINA MAST MR -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationManager_addAppInfoEventListener_onuninstalled", {timeout: 90000}); -this_test.step(function() { +var this_test = async_test("ApplicationManager_addAppInfoEventListener_onuninstalled", {timeout: 300000}); +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function() { + oninstalled: this_test.step_func(function () { assert_unreached("This function (onupdated) should not be used"); }), - onupdated: this_test.step_func(function() { + onupdated: this_test.step_func(function () { assert_unreached("This function (onupdated) should not be used"); }), - onuninstalled: this_test.step_func(function() { + onuninstalled: this_test.step_func(function () { this_test.done(); }) }; diff --git a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html index f6ffe7ed1..876e9f854 100644 --- a/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html +++ b/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html @@ -41,27 +41,27 @@ Authors: //==== LABEL check using addAppInfoEventListener method (updating process) in ApplicationManager interface //==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html -//==== PRE Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). +//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). //==== STEP Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory. //==== EXPECT listener was added with successfully //==== EXECUTION_TYPE manual //==== PRIORITY P1 //==== TEST_CRITERIA MMINA MAST MR -setup({timeout: 90000}); +setup({timeout: 300000}); -var this_test = async_test("ApplicationManager_addAppInfoEventListener_onupdated", {timeout: 90000}); -this_test.step(function() { +var this_test = async_test("ApplicationManager_addAppInfoEventListener_onupdated", {timeout: 300000}); +this_test.step(function () { var appEventCallback, watchId; appEventCallback = { - oninstalled: this_test.step_func(function() { + oninstalled: this_test.step_func(function () { assert_unreached("This function (oninstalled) should not be used"); }), - onupdated: this_test.step_func(function() { + onupdated: this_test.step_func(function () { this_test.done(); }), - onuninstalled: this_test.step_func(function() { + onuninstalled: this_test.step_func(function () { assert_unreached("This function (onuninstalled) should not be used"); }) }; diff --git a/tct-application-tizen-tests/application/support/TCTAppInfoEventTest1/config.xml b/tct-application-tizen-tests/application/support/TCTAppInfoEventTest1/config.xml index a469362fe..26e750fec 100755 --- a/tct-application-tizen-tests/application/support/TCTAppInfoEventTest1/config.xml +++ b/tct-application-tizen-tests/application/support/TCTAppInfoEventTest1/config.xml @@ -4,6 +4,6 @@ - TCTAppInfoEventTest + TCTAppInfoEventTest1 diff --git a/tct-application-tizen-tests/application/support/TCTAppInfoEventTest2/config.xml b/tct-application-tizen-tests/application/support/TCTAppInfoEventTest2/config.xml index 28adea4c1..50f4e34e6 100755 --- a/tct-application-tizen-tests/application/support/TCTAppInfoEventTest2/config.xml +++ b/tct-application-tizen-tests/application/support/TCTAppInfoEventTest2/config.xml @@ -4,6 +4,6 @@ - TCTAppInfoEventTest + TCTAppInfoEventTest2 diff --git a/tct-application-tizen-tests/tests.xml b/tct-application-tizen-tests/tests.xml index 121861cbb..fd4ee29f2 100644 --- a/tct-application-tizen-tests/tests.xml +++ b/tct-application-tizen-tests/tests.xml @@ -2207,7 +2207,7 @@ - Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it) + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results @@ -2226,10 +2226,10 @@ - Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). - Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results + Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results listener was added with successfully @@ -2245,7 +2245,7 @@ - Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory. @@ -2354,7 +2354,7 @@ - Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it) + Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it) Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results @@ -2373,7 +2373,7 @@ - Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory. @@ -2392,10 +2392,10 @@ - Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others). + Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others). - Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results + Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results properly argument