limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformationArraySuccessCallback_notexist</title>
<meta charset="utf-8"/>
test(function () {
check_no_interface_object("PackageInformationArraySuccessCallback");
}, "PackageInformationArraySuccessCallback_notexist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== TEST: PackageInformationArraySuccessCallback_onsuccess
//==== LABEL Check if PackageInformationArraySuccessCallback works
//==== SPEC Tizen Web API:Application:Package:PackageInformationArraySuccessCallback:onsuccess M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== ONLOAD_DELAY 30
//==== TEST_CRITERIA CBT CBOA
- setup({timeout: 30000});
+setup({timeout: 30000});
var t = async_test("PackageInformationArraySuccessCallback_onsuccess", {timeout: 30000}), packageInformation,
packageInformationArraySuccessCallback, errorCallback;
packageInformationArraySuccessCallback = t.step_func(function (informationArray) {
assert_true(Array.isArray(informationArray), "informationArray is not an array.");
- assert_true(informationArray.length > 0, "Incorrect length of informationArray.");
+ assert_greater_than(informationArray.length, 0, "Incorrect length of informationArray.");
packageInformation = informationArray[0];
assert_type(packageInformation.version, "string", "PackageInformation.version attribute is not a string.");
- assert_type(packageInformation.totalSize, "number", "PackageInformation.totalSize is not a number");
+ assert_type(packageInformation.totalSize, "long", "PackageInformation.totalSize is not a number");
- assert_type(packageInformation.dataSize, "number", "PackageInformation.dataSize is not a number");
+ assert_type(packageInformation.dataSize, "long", "PackageInformation.dataSize is not a number");
- assert_true(packageInformation.totalSize >= packageInformation.dataSize,
+ assert_greater_than_equal(packageInformation.totalSize, packageInformation.dataSize,
"PackageInformation.dataSize is bigger than packageInformation.totalSize.");
assert_true(packageInformation.lastModified instanceof Date, "PackageInformation.lastModified is not a Date");
tizen.package.getPackagesInfo(packageInformationArraySuccessCallback, errorCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformationEventCallback_notexist</title>
<meta charset="utf-8"/>
test(function () {
check_no_interface_object("PackageInformationEventCallback");
}, "PackageInformationEventCallback_notexist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformationEventCallback_oninstalled</title>
<meta charset="utf-8"/>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.
-//==== STEP Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: Others directory.
+//==== STEP Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.
//==== EXPECT Pass.
//==== TEST_CRITERIA CBT CBOA
setup({timeout: 90000});
assert_equals(packageInformation.version, TCT_PACKAGE_MANAGER_TEST_PACKAGE_VERSION_1, "PackageInformation.version is incorrect.");
- assert_type(packageInformation.totalSize, "number", "Incorrect type of PackageInformation.totalSize");
- assert_type(packageInformation.dataSize, "number", "Incorrect type of PackageInformation.dataSize");
- assert_true(packageInformation.totalSize >= packageInformation.dataSize,
+ assert_type(packageInformation.totalSize, "long", "Incorrect type of PackageInformation.totalSize");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type of PackageInformation.dataSize");
+ assert_greater_than_equal(packageInformation.totalSize, packageInformation.dataSize,
"PackageInformation.dataSize is bigger than packageInformation.totalSize.");
assert_true(packageInformation.lastModified instanceof Date,
tizen.package.unsetPackageInfoEventListener();
tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformationEventCallback_onuninstalled</title>
<meta charset="utf-8"/>
//==== SPEC Tizen Web API:Application:Package:PackageInformationEventCallback:onuninstalled M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: Others directory).
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: My Files/Phone/Others directory).
//==== STEP Run the test and then uninstall TCTPackageManagerTest1.1.1.wgt application.
//==== EXPECT Pass.
//==== TEST_CRITERIA CBT CBOA
tizen.package.unsetPackageInfoEventListener();
tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformationEventCallback_onupdated</title>
<meta charset="utf-8"/>
//==== SPEC Tizen Web API:Application:Package:PackageInformationEventCallback:onupdated M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: Others directory).
-//==== STEP Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'Other' directory.
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: My Files/Phone/Others directory).
+//==== STEP Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'My Files/Phone/Others' directory.
//==== EXPECT Pass.
//==== TEST_CRITERIA CBT CBOA
setup({timeout: 90000});
assert_equals(packageInformation.version, TCT_PACKAGE_MANAGER_TEST_PACKAGE_VERSION_2, "PackageInformation.version is incorrect.");
- assert_type(packageInformation.totalSize, "number", "Incorrect type of PackageInformation.totalSize");
- assert_type(packageInformation.dataSize, "number", "Incorrect type of PackageInformation.dataSize");
- assert_true(packageInformation.totalSize >= packageInformation.dataSize,
+ assert_type(packageInformation.totalSize, "long", "Incorrect type of PackageInformation.totalSize");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type of PackageInformation.dataSize");
+ assert_greater_than_equal(packageInformation.totalSize, packageInformation.dataSize,
"PackageInformation.dataSize is bigger than packageInformation.totalSize.");
assert_true(packageInformation.lastModified instanceof Date,
tizen.package.unsetPackageInfoEventListener();
tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_appIds_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_appIds_attribute
//==== LABEL Check if attribute appIds of PackageInformation exists, has type Array and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:appIds A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE ARO AT
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID), newValue = ["newValue"],
packageInformation.appIds = null;
assert_array_equals(packageInformation.appIds, expectedValue, "PackageInformation.appIds is incorrect.");
}, "PackageInformation_appIds_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_author_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_author_attribute
//==== LABEL Check if attribute author of PackageInformation exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:author A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID);
assert_own_property(packageInformation, "author" , "PackageInformation does not own author property.");
check_readonly(packageInformation, "author", TCT_PACKAGE_INFO_TEST_PACKAGE_AUTHOR, "string", "newValue");
}, "PackageInformation_author_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_dataSize_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_dataSize_attribute
//==== LABEL Check if attribute dataSize of PackageInformation exists, has type Number and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:dataSize A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var originalValue, packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID), newValue = 1234567;
assert_own_property(packageInformation, "dataSize" , "PackageInformation does not own dataSize property.");
- assert_type(packageInformation.dataSize, "number", "Incorrect type for PackageInformation.dataSize attribute.");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type for PackageInformation.dataSize attribute.");
originalValue = packageInformation.dataSize;
packageInformation.dataSize = newValue;
- assert_type(packageInformation.dataSize, "number", "Incorrect type for PackageInformation.dataSize after assignment.");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type for PackageInformation.dataSize after assignment.");
assert_not_equals(packageInformation.dataSize, newValue, "PackageInformation.dataSize can be modified.");
assert_equals(packageInformation.dataSize, originalValue, "PackageInformation.dataSize can be modified.");
packageInformation.dataSize = null;
- assert_type(packageInformation.dataSize, "number", "Incorrect type for PackageInformation.dataSize after assignment.");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type for PackageInformation.dataSize after assignment.");
assert_not_equals(packageInformation.dataSize, null, "PackageInformation.dataSize can be modified.");
assert_equals(packageInformation.dataSize, originalValue, "PackageInformation.dataSize can be modified.");
}, "PackageInformation_dataSize_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_description_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_description_attribute
//==== LABEL Check if attribute description of PackageInformation exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:description A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID);
assert_own_property(packageInformation, "description" , "PackageInformation does not own description property.");
check_readonly(packageInformation, "description", TCT_PACKAGE_INFO_TEST_PACKAGE_DESCRIPTION, "string", "newValue");
}, "PackageInformation_description_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
var packageInformation = tizen.package.getPackageInfo();
check_extensibility(packageInformation);
}, "PackageInformation_extend");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_iconPath_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_iconPath_attribute
//==== LABEL Check if attribute iconPath of PackageInformation exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:iconPath A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var originalValue, packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID), newValue = "newValue";
assert_equals(packageInformation.iconPath, originalValue, "PackageInformation.iconPath can be modified.");
}, "PackageInformation_iconPath_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_id_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_id_attribute
//==== LABEL Check if attribute id of PackageInformation exists, has type PackageId and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:id A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID);
assert_own_property(packageInformation, "id" , "PackageInformation does not own id property.");
check_readonly(packageInformation, "id", TCT_PACKAGE_INFO_TEST_PACKAGE_ID, "string", "newValue");
}, "PackageInformation_id_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_lastModified_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_lastModified_attribute
//==== LABEL Check if attribute lastModified of PackageInformation exists, has type Date and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:lastModified A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var originalValue, packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID), newValue = new Date();
assert_equals(packageInformation.lastModified.getTime(), originalValue.getTime(), "PackageInformation.lastModified can be modified.");
}, "PackageInformation_lastModified_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_name_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_name_attribute
//==== LABEL Check if attribute name of PackageInformation exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:name A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID);
assert_own_property(packageInformation, "name" , "PackageInformation does not own name property.");
check_readonly(packageInformation, "name", TCT_PACKAGE_INFO_TEST_PACKAGE_NAME, "string", "newValue");
}, "PackageInformation_name_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_notexist</title>
<meta charset="utf-8"/>
test(function () {
check_no_interface_object("PackageInformation");
}, "PackageInformation_notexist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_totalSize_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_totalSize_attribute
//==== LABEL Check if attribute totalSize of PackageInformation exists, has type Number and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:totalSize A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var originalValue, packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID), newValue = 1234567;
assert_own_property(packageInformation, "totalSize" , "PackageInformation does not own totalSize property.");
- assert_type(packageInformation.totalSize, "number", "Incorrect type for PackageInformation.totalSize attribute.");
+ assert_type(packageInformation.totalSize, "long", "Incorrect type for PackageInformation.totalSize attribute.");
originalValue = packageInformation.totalSize;
packageInformation.totalSize = newValue;
- assert_type(packageInformation.totalSize, "number", "Incorrect type for PackageInformation.totalSize after assignment.");
+ assert_type(packageInformation.totalSize, "long", "Incorrect type for PackageInformation.totalSize after assignment.");
assert_not_equals(packageInformation.totalSize, newValue, "PackageInformation.totalSize can be modified.");
assert_equals(packageInformation.totalSize, originalValue, "PackageInformation.totalSize can be modified.");
packageInformation.totalSize = null;
- assert_type(packageInformation.totalSize, "number", "Incorrect type for PackageInformation.totalSize after assignment.");
+ assert_type(packageInformation.totalSize, "long", "Incorrect type for PackageInformation.totalSize after assignment.");
assert_not_equals(packageInformation.totalSize, null, "PackageInformation.totalSize can be modified.");
assert_equals(packageInformation.totalSize, originalValue, "PackageInformation.totalSize can be modified.");
}, "PackageInformation_totalSize_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski a.krolikowsk@samsung.com
+ Andrzej Krolikowski a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageInformation_version_attribute</title>
<meta charset="utf-8"/>
//==== TEST: PackageInformation_version_attribute
//==== LABEL Check if attribute version of PackageInformation exists, has type DOMString and is readonly
//==== SPEC Tizen Web API:Application:Package:PackageInformation:version A
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA AE AT ARO
test(function () {
var packageInformation = tizen.package.getPackageInfo(TCT_PACKAGE_INFO_TEST_PACKAGE_ID);
assert_own_property(packageInformation, "version" , "PackageInformation does not own version property.");
check_readonly(packageInformation, "version", TCT_PACKAGE_INFO_TEST_PACKAGE_VERSION, "string", "newValue");
}, "PackageInformation_version_attribute");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManagerObject_notexist</title>
<meta charset="utf-8"/>
test(function () {
check_no_interface_object("PackageManagerObject");
}, "PackageManagerObject_notexist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
<html>
<head>
-<title> PackageManager_extend</title>
+<title>PackageManager_extend</title>
<script src="../resources/unitcommon.js"></script>
<script type="text/javascript" src="../resources/unitcommon.js"></script>
<script type="text/javascript" src="support/package_common.js"></script>
test(function () {
check_extensibility(tizen.package);
}, "PackageManager_extend");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_getPackageInfo</title>
<meta charset="utf-8"/>
assert_type(packageInformation.version, "string", "Incorrect type of PackageInformation.version");
assert_not_equals(packageInformation.version, "", "PackageInformation.version is an empty string");
- assert_type(packageInformation.totalSize, "number", "Incorrect type of PackageInformation.totalSize");
- assert_type(packageInformation.dataSize, "number", "Incorrect type of PackageInformation.dataSize");
- assert_true(packageInformation.totalSize >= packageInformation.dataSize,
+ assert_type(packageInformation.totalSize, "long", "Incorrect type of PackageInformation.totalSize");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type of PackageInformation.dataSize");
+ assert_greater_than_equal(packageInformation.totalSize, packageInformation.dataSize,
"PackageInformation.dataSize is bigger than packageInformation.totalSize.");
assert_true(packageInformation.lastModified instanceof Date, "PackageInformation.lastModified is not a Date");
"PackageInformation.description is incorect.");
}, "PackageManager_getPackageInfo");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_getPackageInfo_exist</title>
<meta charset="utf-8"/>
assert_true("getPackageInfo" in tizen.package, "No getPackageInfo method in tizen.package");
check_method_exists(tizen.package, "getPackageInfo");
}, "PackageManager_getPackageInfo_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_getPackageInfo_with_id</title>
<meta charset="utf-8"/>
assert_equals(packageInformation.version, TCT_PACKAGE_INFO_TEST_PACKAGE_VERSION, "PackageInformation.version is incorrect.");
- assert_type(packageInformation.totalSize, "number", "Incorrect type of PackageInformation.totalSize");
- assert_type(packageInformation.dataSize, "number", "Incorrect type of PackageInformation.dataSize");
- assert_true(packageInformation.totalSize >= packageInformation.dataSize,
+ assert_type(packageInformation.totalSize, "long", "Incorrect type of PackageInformation.totalSize");
+ assert_type(packageInformation.dataSize, "long", "Incorrect type of PackageInformation.dataSize");
+ assert_greater_than_equal(packageInformation.totalSize, packageInformation.dataSize,
"PackageInformation.dataSize is bigger than packageInformation.totalSize.");
assert_true(packageInformation.lastModified instanceof Date,
"PackageInformation.description is incorect.");
}, "PackageManager_getPackageInfo_with_id");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== TEST: PackageManager_getPackagesInfo
//==== LABEL Check if method getPackagesInfo of PackageManager works properly
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== ONLOAD_DELAY 90
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
packageInformationArraySuccessCallback = t.step_func(function (informationArray) {
assert_true(Array.isArray(informationArray), "informationArray is not an array.");
- assert_true(informationArray.length > 0, "Incorrect length of informationArray.");
+ assert_greater_than(informationArray.length, 0, "Incorrect length of informationArray.");
t.done();
});
returnedValue = tizen.package.getPackagesInfo(packageInformationArraySuccessCallback);
assert_equals(returnedValue, undefined, "Incorect returned value from getPackagesInfo method");
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
t.step(function () {
packageInformationArraySuccessCallback = t.step_func(function (informationArray) {
- assert_unreached("SuccessCallback invoked");
+ assert_unreached("Success callback invoked");
});
conversionTable = getTypeConversionExceptions("functionObject", true);
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTCB
setup({timeout: 30000});
var t = async_test("PackageManager_getPackagesInfo_errorCallback_invalid_cb", {timeout: 30000}), exceptionName = "TypeMismatchError",
- incorrectCallback, packageInformationArraySuccessCallback;
+ invalidCallback, packageInformationArraySuccessCallback;
t.step(function () {
packageInformationArraySuccessCallback = t.step_func(function (informationArray) {
- assert_unreached("SuccessCallback invoked");
+ assert_unreached("Success callback invoked");
});
- incorrectCallback = {
+ invalidCallback = {
onerror: t.step_func(function (error) {
- assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
+ assert_unreached("Invalid error callback invoked");
})
};
assert_throws({name : exceptionName},
function () {
- tizen.package.getPackagesInfo(packageInformationArraySuccessCallback, incorrectCallback);
- }, exceptionName + " should be thrown - given incorrect errorallback - object.");
+ tizen.package.getPackagesInfo(packageInformationArraySuccessCallback, invalidCallback);
+ }, exceptionName + " should be thrown - given incorrect error callback - object.");
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_getPackagesInfo_exist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_getPackagesInfo_exist
//==== LABEL Check if method getPackagesInfo of PackageManager exists
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
assert_true("getPackagesInfo" in tizen.package, "No getPackagesInfo method in tizen.package");
check_method_exists(tizen.package, "getPackagesInfo");
}, "PackageManager_getPackagesInfo_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== LABEL Check if getPackagesInfo throws exception when non-optional argument is missing
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MMA
setup({timeout: 30000});
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
t.step(function () {
errorCallback = t.step_func(function (error) {
- assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
+ assert_unreached("getPackagesInfo() error callback: name:" + error.name + ", msg:" + error.message);
});
conversionTable = getTypeConversionExceptions("functionObject", false);
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTCB
setup({timeout: 30000});
var t = async_test("PackageManager_getPackagesInfo_successCallback_invalid_cb", {timeout: 30000}), exceptionName = "TypeMismatchError",
- errorCallback, incorrectCallback;
+ errorCallback, invalidCallback;
t.step(function () {
- incorrectCallback = {
+ invalidCallback = {
onsuccess: t.step_func(function (informationArray) {
- assert_unreached("Incorrect callback invoked.");
+ assert_unreached("Invalid success callback invoked");
})
};
assert_throws({name : exceptionName},
function () {
- tizen.package.getPackagesInfo(incorrectCallback, errorCallback);
+ tizen.package.getPackagesInfo(invalidCallback, errorCallback);
}, exceptionName + " should be thrown - given incorrect successCallback - object.");
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== TEST: PackageManager_getPackagesInfo_with_errorCallback
//==== LABEL Check if method getPackagesInfo of PackageManager works properly with errorCallback
//==== SPEC Tizen Web API:Application:Package:PackageManager:getPackagesInfo M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== ONLOAD_DELAY 90
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
packageInformationArraySuccessCallback = t.step_func(function (informationArray) {
assert_true(Array.isArray(informationArray), "informationArray is not an array.");
- assert_true(informationArray.length > 0, "Incorrect length of informationArray.");
+ assert_greater_than(informationArray.length, 0, "Incorrect length of informationArray.");
t.done();
});
tizen.package.getPackagesInfo(packageInformationArraySuccessCallback, errorCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_in_tizen</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_in_tizen
//==== PRIORITY P3
//==== LABEL Check if package exists in tizen.
//==== SPEC Tizen Web API:Application:Package:PackageManager:PackageManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA OBME
-test(function() {
+test(function () {
assert_true("package" in tizen, "No package in tizen.");
check_readonly(tizen, "package", tizen.package, "object", "dummyValue");
}, "PackageManager_in_tizen");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install
//==== LABEL Check install method
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.
//==== STEP Run the test.
returnedValue = tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback, installError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_errorCallback_TypeMismatch
//==== LABEL Check argument errorCallback conversions exception - install
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_errorCallback_invalid_cb
//==== LABEL Check argument errorCallback validation - install
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTCB
setup({timeout: 30000});
var t = async_test("PackageManager_install_errorCallback_invalid_cb", {timeout: 30000}), exceptionName = "TypeMismatchError",
- incorrectCallback, installProgressCallback;
+ invalidCallback, installProgressCallback;
t.step(function () {
installProgressCallback = {
})
};
- incorrectCallback = {
+ invalidCallback = {
onerror: t.step_func(function (error) {
- assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
+ assert_unreached("Invalid error callback invoked");
})
};
assert_throws({name : exceptionName},
function () {
- tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback, incorrectCallback);
+ tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback, invalidCallback);
}, exceptionName + " should be thrown - given incorrect errorCallback - object.");
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_errorCallback_invoked</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_errorCallback_invoked
//==== LABEL Check exception in error callback of install method
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== ONLOAD_DELAY 30
//==== TEST_CRITERIA MERRCB
setup({timeout: 30000});
tizen.package.install(NOT_EXISTING_PACKAGE_ID, installProgressCallback, installError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_exist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_exist
//==== LABEL Check if method install of PackageManager exists
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
assert_true("install" in tizen.package, "No install method in tizen.package");
check_method_exists(tizen.package, "install");
}, "PackageManager_install_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_missarg</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_missarg
//==== LABEL Check with missing non-optional argument - PackageManager.install
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MMA
test(function () {
var exceptionName = "TypeMismatchError";
- assert_throws({name : exceptionName},
- function () {
- tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH);
- }, exceptionName + " should be thrown - missing argument.");
+ assert_throws({name : exceptionName}, function () {
+ tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH);
+ }, exceptionName + " should be thrown - missing argument.");
}, "PackageManager_install_missarg");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_progressCallback_TypeMismatch</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_progressCallback_TypeMismatch
//==== LABEL Check argument progressCallback conversions exception - install
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_install_progressCallback_invalid_cb</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_progressCallback_invalid_cb
//==== LABEL Check argument progressCallback validation - install
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTL
setup({timeout: 30000});
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
-<title>PackageManager_install</title>
+<title>PackageManager_install_without_errorCallback</title>
<meta charset="utf-8"/>
<script type="text/javascript" src="../resources/unitcommon.js"></script>
<script type="text/javascript" src="support/package_common.js"></script>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_install_without_errorCallback
//==== LABEL Check install method without errorCallback
//==== SPEC Tizen Web API:Application:Package:PackageManager:install M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.
//==== STEP Run the test.
returnedValue = tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_notexist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_notexist
//==== PRIORITY P3
//==== LABEL Check if interface PackageManager exists, it should not.
test(function () {
check_no_interface_object("PackageManager");
}, "PackageManager_notexist");
+
</script>
</body>
</html>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_setPackageInfoEventListener</title>
<meta charset="utf-8"/>
tizen.package.unsetPackageInfoEventListener();
}
}, "PackageManager_setPackageInfoEventListener");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:setPackageInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
assert_throws({name : exceptionName},
function () {
tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- }, exceptionName + " should be thrown - given incorrect successCallback: " + packageInformationEventCallback + ".");
+ }, exceptionName + " should be thrown - given incorrect listener: " + packageInformationEventCallback + ".");
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:setPackageInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTL
setup({timeout: 30000});
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_setPackageInfoEventListener_exist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_setPackageInfoEventListener_exist
//==== LABEL Check if method setPackageInfoEventListener of PackageManager exists
//==== SPEC Tizen Web API:Application:Package:PackageManager:setPackageInfoEventListener M
assert_true("setPackageInfoEventListener" in tizen.package, "No setPackageInfoEventListener method in tizen.package");
check_method_exists(tizen.package, "setPackageInfoEventListener");
}, "PackageManager_setPackageInfoEventListener_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
//==== TEST: PackageManager_setPackageInfoEventListener_misarg
//==== LABEL Check if setPackageInfoEventListener throws exception when successCallback is missing
//==== SPEC Tizen Web API:Application:Package:PackageManager:setPackageInfoEventListener M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MMA
test(function () {
var exceptionName = "TypeMismatchError";
tizen.package.setPackageInfoEventListener();
}, exceptionName + " should be thrown - not given any argument.");
}, "PackageManager_setPackageInfoEventListener_misarg");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall</title>
<meta charset="utf-8"/>
//==== TEST: PackageManager_uninstall
//==== LABEL Check uninstall method
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).
//==== STEP Run the test.
//==== EXPECT Pass.
//==== TEST_CRITERIA MOA MR MAST
returnedValue = tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, uninstallProgressCallback, uninstallError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_errorCallback_TypeMismatch</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_uninstall_errorCallback_TypeMismatch
//==== LABEL Check argument errorCallback conversions exception - uninstall
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_errorCallback_invalid_cb</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_uninstall_errorCallback_invalid_cb
//==== LABEL Check argument errorCallback validation - uninstall
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTCB
setup({timeout: 30000});
var t = async_test("PackageManager_uninstall_errorCallback_invalid_cb", {timeout: 30000}),
- exceptionName = "TypeMismatchError", incorrectCallback, uninstallProgressCallback;
+ exceptionName = "TypeMismatchError", invalidCallback, uninstallProgressCallback;
t.step(function () {
uninstallProgressCallback = {
assert_unreached("onprogress invoked.");
}),
oncomplete: t.step_func(function (packageId) {
- assert_unreached("oncomplete invoked,");
+ assert_unreached("oncomplete invoked.");
})
};
- incorrectCallback = {
+ invalidCallback = {
onerror: t.step_func(function (error) {
- assert_unreached("ErrorCallback invoked: " + error.name + ": " + error.message);
+ assert_unreached("Invalid error callback invoked");
})
};
assert_throws({name : exceptionName},
function () {
- tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, uninstallProgressCallback, incorrectCallback);
+ tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, uninstallProgressCallback, invalidCallback);
}, exceptionName + " should be thrown - given incorrect errorCallback - object.");
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_errorCallback_invoked</title>
<meta charset="utf-8"/>
//==== TEST: PackageManager_uninstall_errorCallback_invoked
//==== LABEL Check exception in error callback of uninstall method
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== ONLOAD_DELAY 30
//==== TEST_CRITERIA MERRCB
setup({timeout: 30000});
tizen.package.uninstall(NOT_EXISTING_PACKAGE_ID, uninstallProgressCallback, uninstallError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_exist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageManager_uninstall_exist
//==== LABEL Check if method uninstall of PackageManager exists
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
assert_true("uninstall" in tizen.package, "No uninstall method in tizen.package");
check_method_exists(tizen.package, "uninstall");
}, "PackageManager_uninstall_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_missarg</title>
<meta charset="utf-8"/>
//==== TEST: PackageManager_uninstall_missarg
//==== LABEL Check with missing non-optional argument - PackageManager.uninstall
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MMA
test(function () {
var exceptionName = "TypeMismatchError";
- assert_throws({name : exceptionName},
- function () {
- tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH);
- }, exceptionName + " should be thrown - missing argument.");
+ assert_throws({name : exceptionName}, function () {
+ tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH);
+ }, exceptionName + " should be thrown - missing argument.");
}, "PackageManager_uninstall_missarg");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_progressCallback_TypeMismatch</title>
<meta charset="utf-8"/>
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MC
setup({timeout: 30000});
}
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_progressCallback_invalid_cb</title>
<meta charset="utf-8"/>
//==== PRIORITY: P2
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== TEST_CRITERIA MTL
setup({timeout: 30000});
t.done();
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_uninstall_without_errorCallback</title>
<meta charset="utf-8"/>
//==== TEST: PackageManager_uninstall_without_errorCallback
//==== LABEL Check uninstall method without errorCallback
//==== SPEC Tizen Web API:Application:Package:PackageManager:uninstall M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).
//==== STEP Run the test.
//==== EXPECT Pass.
//==== TEST_CRITERIA MMINA MR MAST
returnedValue = tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, uninstallProgressCallback);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_unsetPackageInfoEventListener</title>
<meta charset="utf-8"/>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.
-//==== STEP Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: Others directory.
+//==== STEP Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.
//==== EXPECT Pass.
//==== TEST_CRITERIA MNA MNAST MR
setup({timeout: 90000});
t.done();
}), 1000);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_unsetPackageInfoEventListener_exist</title>
<meta charset="utf-8"/>
assert_true("unsetPackageInfoEventListener" in tizen.package, "No unsetPackageInfoEventListener method in tizen.package");
check_method_exists(tizen.package, "unsetPackageInfoEventListener");
}, "PackageManager_unsetPackageInfoEventListener_exist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com
+ Andrzej Krolikowski <a.krolikowsk@samsung.com
-->
-<html lang="en">
+<html>
<head>
<title>PackageManager_unsetPackageInfoEventListener_extra_argument</title>
<meta charset="utf-8"/>
test(function () {
checkExtraArgument(tizen.package, "unsetPackageInfoEventListener");
}, "PackageManager_unsetPackageInfoEventListener_extra_argument");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageProgressCallback_notexist</title>
<meta charset="utf-8"/>
<body>
<div id="log"></div>
- <script type="text/javascript">
+<script type="text/javascript">
//==== TEST: PackageProgressCallback_notexist
//==== PRIORITY P3
//==== LABEL Check if interface PackageProgressCallback exists, it should not.
test(function () {
check_no_interface_object("PackageProgressCallback");
}, "PackageProgressCallback_notexist");
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageProgressCallback_oncomplete_install</title>
<meta charset="utf-8"/>
//==== TEST: PackageProgressCallback_oncomplete_install
//==== LABEL Check if PackageProgressCallback.oncomplete - install
//==== SPEC Tizen Web API:Application:Package:PackageProgressCallback:oncomplete M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.
//==== STEP Run the test.
tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback, installError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageProgressCallback_oncomplete_uninstall</title>
<meta charset="utf-8"/>
//==== TEST: PackageProgressCallback_oncomplete_uninstall
//==== LABEL Check if PackageProgressCallback.oncomplete - uninstall
//==== SPEC Tizen Web API:Application:Package:PackageProgressCallback:oncomplete M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).
//==== STEP Run the test.
//==== EXPECT Pass.
//==== TEST_CRITERIA CBT CBOA
tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, uninstallProgressCallback, uninstallError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageProgressCallback_onprogress_install</title>
<meta charset="utf-8"/>
//==== TEST: PackageProgressCallback_onprogress_install
//==== LABEL Check if PackageProgressCallback.onprogress - install
//==== SPEC Tizen Web API:Application:Package:PackageProgressCallback:onprogress M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.
//==== STEP Run the test.
onprogress: t.step_func(function (packageId, progress) {
wasInProgress = true;
assert_equals(packageId, TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, "Incorrect packageId.");
- assert_type(progress, "number" , "Incorrect type for progress.");
- assert_true(progress >= 0, "Progress is less than zero.");
- assert_true(progress <= 100, "Progress is greater than 100.");
+ assert_type(progress, "short" , "Incorrect type for progress.");
+ assert_greater_than_equal(progress, 0, "Progress is less than zero.");
+ assert_less_than_equal(progress, 100, "Progress is greater than 100.");
}),
oncomplete: t.step_func(function (packageId) {
assert_true(wasInProgress, "onprogress callback was not invoked.");
tizen.package.install(TCT_PACKAGE_MANAGER_TEST_PACKAGE_PATH, installProgressCallback, installError);
});
+
</script>
</body>
</html>
limitations under the License.
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>PackageProgressCallback_onprogress_uninstall</title>
<meta charset="utf-8"/>
//==== TEST: PackageProgressCallback_onprogress_uninstall
//==== LABEL Check if PackageProgressCallback.onprogress - uninstall
//==== SPEC Tizen Web API:Application:Package:PackageProgressCallback:onprogress M
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html
//==== EXECUTION_TYPE manual
-//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).
+//==== PRE Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).
//==== STEP Run the test.
//==== EXPECT Pass.
//==== TEST_CRITERIA CBT CBOA
onprogress: t.step_func(function (packageId, progress) {
wasInProgress = true;
assert_equals(packageId, TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, "Incorrect packageId.");
- assert_type(progress, "number" , "Incorrect type for progress.");
- assert_true(progress >= 0, "Progress is less than zero.");
- assert_true(progress <= 100, "Progress is greater than 100.");
+ assert_type(progress, "short" , "Incorrect type for progress.");
+ assert_greater_than_equal(progress, 0, "Progress is less than zero.");
+ assert_less_than_equal(progress, 100, "Progress is greater than 100.");
}),
oncomplete: t.step_func(function (packageId) {
assert_true(wasInProgress, "onprogress callback was not invoked.");
tizen.package.uninstall(TCT_PACKAGE_MANAGER_TEST_PACKAGE_ID, uninstallProgressCallback, uninstallError);
});
+
</script>
</body>
</html>
<specs>
<spec>
<spec_assertion interface="PackageInformationArraySuccessCallback" element_type="method" element_name="onsuccess" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="appIds" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="author" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="dataSize" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="description" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="iconPath" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="id" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="lastModified" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="name" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="totalSize" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageInformation" element_type="attribute" element_name="version" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="getPackagesInfo" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="setPackageInfoEventListener" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="setPackageInfoEventListener" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="setPackageInfoEventListener" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: Others directory.</step_desc>
+ <step_desc>Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>
</testcase>
<testcase purpose="Check if PackageInformationEventCallback.onuninstalled works properly" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageInformationEventCallback_onuninstalled">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test and then uninstall TCTPackageManagerTest1.1.1.wgt application.</step_desc>
<pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: Others directory.</step_desc>
+ <step_desc>Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
<testcase purpose="Check uninstall method" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageManager_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
<testcase purpose="Check uninstall method without errorCallback" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageManager_uninstall_without_errorCallback">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageProgressCallback" element_type="method" element_name="oncomplete" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageProgressCallback" element_type="method" element_name="onprogress" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
<testcase purpose="Check if PackageProgressCallback.oncomplete - uninstall" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_oncomplete_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
<specs>
<spec>
<spec_assertion interface="PackageProgressCallback" element_type="method" element_name="oncomplete" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
<testcase purpose="Check if PackageProgressCallback.onprogress - uninstall" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_onprogress_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
<specs>
<spec>
<spec_assertion interface="PackageProgressCallback" element_type="method" element_name="onprogress" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
<testcase purpose="Check if PackageInformationEventCallback.onupdated works properly" type="compliance" status="approved" component="TizenAPI/Application/Package" execution_type="manual" priority="P1" id="PackageInformationEventCallback_onupdated">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'Other' directory.</step_desc>
+ <step_desc>Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'My Files/Phone/Others' directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="install" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="PackageManager" element_type="method" element_name="uninstall" specification="Package" section="Application" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/package.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/package.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: Others directory.</step_desc>
+ <step_desc>Run the test and then install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>
</testcase>
<testcase purpose="Check if PackageInformationEventCallback.onuninstalled works properly" component="TizenAPI/Application/Package" execution_type="manual" id="PackageInformationEventCallback_onuninstalled">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from: My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test and then uninstall TCTPackageManagerTest1.1.1.wgt application.</step_desc>
<pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: Others directory.</step_desc>
+ <step_desc>Run the test and then when you see communicate install TCTPackageManagerTest1.1.1.wgt application from: My Files/Phone/Others directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>
</testcase>
<testcase purpose="Check uninstall method" component="TizenAPI/Application/Package" execution_type="manual" id="PackageManager_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
</testcase>
<testcase purpose="Check uninstall method without errorCallback" component="TizenAPI/Application/Package" execution_type="manual" id="PackageManager_uninstall_without_errorCallback">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
</testcase>
<testcase purpose="Check if PackageProgressCallback.oncomplete - uninstall" component="TizenAPI/Application/Package" execution_type="manual" id="PackageProgressCallback_oncomplete_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
</testcase>
<testcase purpose="Check if PackageProgressCallback.onprogress - uninstall" component="TizenAPI/Application/Package" execution_type="manual" id="PackageProgressCallback_onprogress_uninstall">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it from My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
<step_desc>Run the test.</step_desc>
</testcase>
<testcase purpose="Check if PackageInformationEventCallback.onupdated works properly" component="TizenAPI/Application/Package" execution_type="manual" id="PackageInformationEventCallback_onupdated">
<description>
- <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: Others directory).</pre_condition>
+ <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it from: My Files/Phone/Others directory).</pre_condition>
<steps>
<step order="1">
- <step_desc>Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'Other' directory.</step_desc>
+ <step_desc>Run the test and then install TCTPackageManagerTest2.2.2.wgt application from 'My Files/Phone/Others' directory.</step_desc>
<expected>Pass.</expected>
</step>
</steps>