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.
//==== 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");
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");
})
};
//==== 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();
//==== 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");
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");
})
};
//==== 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");
})
};
//==== 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();
})
};
//==== 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");
})
};
<tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.1"/>
<content src="index.html"/>
<icon src="icon.png"/>
- <name>TCTAppInfoEventTest</name>
+ <name>TCTAppInfoEventTest1</name>
<tizen:setting screen-orientation="landscape" background-support="enable"/>
</widget>
<tizen:application id="api1appli3.TCTAppInfoEventTest" package="api1appli3" required_version="2.1"/>
<content src="index.html"/>
<icon src="icon.png"/>
- <name>TCTAppInfoEventTest</name>
+ <name>TCTAppInfoEventTest2</name>
<tizen:setting screen-orientation="landscape" background-support="enable"/>
</widget>
</testcase>
<testcase purpose="check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it)</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
<step order="1">
<step_desc>Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results</step_desc>
</testcase>
<testcase purpose="check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<step order="1">
- <step_desc>Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results</step_desc>
+ <step_desc>Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results</step_desc>
<expected>listener was added with successfully</expected>
</step>
</steps>
</testcase>
<testcase purpose="check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory.</step_desc>
</testcase>
<testcase purpose="check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is not installed (uninstall it)</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
<step order="1">
<step_desc>Please click run and then install TCTAppInfoEventTest1.wgt application from: My Files/Phone/Others, finally look at the results</step_desc>
</testcase>
<testcase purpose="check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test and then install TCTAppInfoEventTest2.wgt application from: My Files/Phone/Others directory.</step_desc>
</testcase>
<testcase purpose="check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
<description>
- <pre_condition>Make sure that TCTAppInfoEventTest1.wgt application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
+ <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<step order="1">
- <step_desc>Click run and then uninstall TCTAppInfoEventTest1.wgt application, finally look at the results</step_desc>
+ <step_desc>Click run and then uninstall TCTAppInfoEventTest1 application, finally look at the results</step_desc>
<expected>properly argument</expected>
</step>
</steps>