+++ /dev/null
-/*
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
- var head_src = document.head.innerHTML;
- if (head_src.search(/\/testharness.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
- }
- if (head_src.search(/\/testharnessreport.js\W/) === -1) {
- document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
- }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
- while (type in _registered_types) {
- type = _registered_types[type];
- }
- return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
- var extraArgument = [
- null,
- undefined,
- "Tizen",
- 1,
- false,
- ["one", "two"],
- {argument: 1},
- function () {}
- ], i;
-
- for (i = 0; i < extraArgument.length; i++) {
- object[methodName](extraArgument[i]);
- }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- * conversionTable = getTypeConversionExceptions("functionObject", true);
- * for(i = 0; i < conversionTable.length; i++) {
- * errorCallback = conversionTable[i][0];
- * exceptionName = conversionTable[i][1];
- *
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.systemsetting.setProperty("HOME_SCREEN",
- * propertyValue, successCallback, errorCallback);
- * }, exceptionName + " should be thrown - given incorrect errorCallback.");
- * }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
- var exceptionName = "TypeMismatchError",
- conversionTable;
- switch (conversionType) {
- case "enum":
- conversionTable = [
- [undefined, exceptionName],
- [null, exceptionName],
- [0, exceptionName],
- [true, exceptionName],
- ["dummyInvalidEnumValue", exceptionName],
- [{ }, exceptionName]
- ];
- break;
- case "double":
- conversionTable = [
- [undefined, exceptionName],
- [NaN, exceptionName],
- [Number.POSITIVE_INFINITY, exceptionName],
- [Number.NEGATIVE_INFINITY, exceptionName],
- ["TIZEN", exceptionName],
- [{ name : "TIZEN" }, exceptionName],
- [function () { }, exceptionName]
- ];
- break;
- case "object":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "functionObject":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [[], exceptionName],
- [{ }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "array":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [{ }, exceptionName],
- [function () { }, exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- case "dictionary":
- conversionTable = [
- [true, exceptionName],
- [false, exceptionName],
- [NaN, exceptionName],
- [0, exceptionName],
- ["", exceptionName],
- ["TIZEN", exceptionName],
- [undefined, exceptionName]
- ];
- if (!isOptional) {
- conversionTable.push([null, exceptionName]);
- }
- break;
- default:
- assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
- };
-
- return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
- var org_type = type, prop_name, prop_type, prop_value;
-
- type = _resolve_registered_type(type);
-
- if (typeof (type) === 'string') {
- type = type.toLowerCase();
- switch (type) {
- case 'object':
- case 'string':
- case 'number':
- case 'function':
- case 'boolean':
- case 'undefined':
- case 'xml':
- assert_equals(typeof (obj), type, description);
- break;
- case 'null':
- assert_true(obj === null, description);
- break;
- case 'array':
- assert_true(Array.isArray(obj), description);
- break;
- case 'date':
- assert_true(obj instanceof Date, description);
- break;
- case 'byte':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
- assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'octet':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
- assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned short':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- case 'long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
- assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
- break;
- case 'unsigned long long':
- assert_equals(typeof (obj), 'number', description);
- assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
- assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
- assert_equals(obj % 1, 0, description + " - value is not an integer.");
- break;
- default:
- assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
- }
- } else if (typeof (type) === 'function') {
- assert_true(obj instanceof type, description);
- } else if (typeof (type) === 'object') {
- for (prop_name in type) {
- prop_type = type[prop_name];
- if (prop_type === 'function') {
- assert_inherits(obj, prop_name);
- assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
- } else {
- assert_own_property(obj, prop_name);
- }
- }
- } else {
- assert_unreached('Fix your test. Wrong type ' + org_type);
- }
-}
-
-function register_type(alias, type_spec) {
- _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj object to test which has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- var tmp;
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- tmp = obj[attributeName];
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj object to test which has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{ var old_value = obj[attributeName];
- obj[attributeName] = null;
- assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
- obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
- assert_throws({name: "TypeError"}, function () {
- tizen[interfaceName]();
- },"Wrong call as a function");
- assert_throws({name: "TypeError"}, function () {
- new tizen[interfaceName]();
- },"Wrong call as a new function");
- assert_throws({name: "TypeError"}, function () {
- ({}) instanceof tizen[interfaceName];
- },"instanceof exception");
- assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
- assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
- assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
- assert_throws({
- name: "TypeError"
- }, function () {
- tizen[constructorName]();
- }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
- assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
- var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
- obj.newDummyMethod = function() {
- return dummyMethodResult;
- }
- assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
- obj.newDummyAttribute = dummyAttribute;
- assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
- if (expectedValue === valueToAssign) {
- assert_unreached("Fix your test. The same values given for " + attributeName +
- " in 'value' and 'valueToSet' arguments.");
- }
- if (typeof (attributeName) === "string") {
- assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
- assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
- if (typeof (expectedType) !== "undefined") {
- if (expectedValue === null) {
- assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
- } else {
- assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
- }
- } else {
- assert_unreached("Fix your test. Wrong type " + expectedType);
- }
- obj[attributeName] = valueToAssign;
- assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
- } else {
- assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
- }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
- val = obj[array], i;
-
- if (!isNullable) {
- obj[array] = null;
- assert_not_equals(obj[array], null, "Non-nullable array was set to null");
- assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
- assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- obj[array] = args[i];
- assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
- assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
- }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
- var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
- val = parentObj[obj], i;
-
- if (!isNullable) {
- parentObj[obj] = null;
- assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
- }
-
- for (i = 0 ; i < args.length ; i++) {
- parentObj[obj] = args[i];
- assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
- }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- * packageInformationEventCallback = incorrectListeners[i][0];
- * exceptionName = incorrectListeners[i][1];
- * assert_throws({name : exceptionName},
- * function () {
- * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- * }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
- var result = [], conversionTable, i, j, listenerName;
- conversionTable = getTypeConversionExceptions("functionObject", false);
-
- for (i = 0; i < callbackNames.length; i++) {
- for (j = 0; j < conversionTable.length; j++) {
- listenerName = {};
- listenerName[callbackNames[i]] = conversionTable[j][0];
- result.push([listenerName, conversionTable[j][1]]);
- }
- }
-
- return result;
-}
<head>
<title>SystemInfoBattery_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== PRIORITY P3
setup({timeout: 90000});
-var t = async_test("SystemInfoBattery_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name:" +
+ assert_unreached("getPropertyValue() error callback invoked: name:" +
error.message + ", msg: " + error.message);
});
<head>
<title>SystemInfoBattery_isCharging_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoBattery_isCharging_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.message + ", msg: " + error.message);
});
<head>
<title>SystemInfoBattery_level_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE AT ARO AVL
setup({timeout: 90000});
-var t = async_test("SystemInfoBattery_level_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.message + ", msg: " + error.name);
});
<head>
<title>SystemInfoBattery_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoBattery");
-}, "SystemInfoBattery_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoBuild_buildVersion_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoBuild_buildVersion_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
<head>
<title>SystemInfoBuild_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== PRIORITY P3
setup({timeout: 90000});
-var t = async_test("SystemInfoBuild_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoBuild_manufacturer_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.message + ", msg: " + error.message);
});
<head>
<title>SystemInfoBuild_model_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoBuild_model_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (e) {
- assert_unreached("Exception : " + e.message);
+ assert_unreached("Exception: " + e.message);
});
tizen.systeminfo.getPropertyValue("BUILD", getPropertyValueSuccess, getPropertyValueError);
<head>
<title>SystemInfoBuild_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoBuild");
-}, "SystemInfoBuild_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoCellularNetwork_apn_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_apn_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_cellId_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_cellId_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== PRIORITY P3
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_imei_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_imei_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_ipAddress_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_ipAddress_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_ipv6Address_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_ipv6Address_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_isFlightMode_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_isFlightMode_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_isRoaming_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_isRoaming_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_lac_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_lac_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_mcc_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_mcc_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_mnc_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_mnc_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCellularNetwork_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoCellularNetwork");
-}, "SystemInfoCellularNetwork_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoCellularNetwork_status_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("SystemInfoCellularNetwork_status_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCpu_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA OBX
setup({timeout: 90000});
-var t = async_test("SystemInfoCpu_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCpu_load_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA AE AT ARO AVL
setup({timeout: 90000});
-var t = async_test("SystemInfoCpu_load_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoCpu_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("SystemInfoCpu");
-}, "SystemInfoCpu_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_accelerometerWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
"SystemInfoDeviceCapability does not own accelerometerWakeup property.");
check_readonly(deviceCapabilities, "accelerometerWakeup",
deviceCapabilities.accelerometerWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_accelerometerWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_accelerometer_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own accelerometer property.");
check_readonly(deviceCapabilities, "accelerometer",
deviceCapabilities.accelerometer, "boolean", null);
-}, "SystemInfoDeviceCapability_accelerometer_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_accelerometer_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.accelerometer* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.accelerometer === false && info.accelerometerWakeup === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_accelerometer_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_autoRotation_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own autoRotation property.");
check_readonly(deviceCapabilities, "autoRotation",
deviceCapabilities.autoRotation, "boolean", null);
-}, "SystemInfoDeviceCapability_autoRotation_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_barometerWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own barometerWakeup property.");
check_readonly(deviceCapabilities, "barometerWakeup",
deviceCapabilities.barometerWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_barometerWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_barometer_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own barometer property.");
check_readonly(deviceCapabilities, "barometer",
deviceCapabilities.barometer, "boolean", null);
-}, "SystemInfoDeviceCapability_barometer_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_barometer_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.barometer* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_barometer_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_bluetooth_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
assert_own_property(deviceCapabilities, "bluetooth", "SystemInfoDeviceCapability does not own bluetooth property.");
check_readonly(deviceCapabilities, "bluetooth", deviceCapabilities.bluetooth, "boolean", null);
-}, "SystemInfoDeviceCapability_bluetooth_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_cameraBackFlash_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own cameraBackFlash property.");
check_readonly(deviceCapabilities, "cameraBackFlash",
deviceCapabilities.cameraBackFlash, "boolean", null);
-}, "SystemInfoDeviceCapability_cameraBackFlash_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_cameraBack_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own cameraBack property.");
check_readonly(deviceCapabilities, "cameraBack",
deviceCapabilities.cameraBack, "boolean", null);
-}, "SystemInfoDeviceCapability_cameraBack_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_cameraBack_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.cameraBack* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.camera === false && info.cameraBack === false && info.cameraBackFlash === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_cameraBack_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_cameraFrontFlash_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own cameraFrontFlash property.");
check_readonly(deviceCapabilities, "cameraFrontFlash",
deviceCapabilities.cameraFrontFlash, "boolean", null);
-}, "SystemInfoDeviceCapability_cameraFrontFlash_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_cameraFront_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own cameraFront property.");
check_readonly(deviceCapabilities, "cameraFront",
deviceCapabilities.cameraFront, "boolean", null);
-}, "SystemInfoDeviceCapability_cameraFront_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_cameraFront_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.cameraFront* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_cameraFront_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_camera_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own camera property.");
check_readonly(deviceCapabilities, "camera",
deviceCapabilities.camera, "boolean", null);
-}, "SystemInfoDeviceCapability_camera_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_dataEncryption_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own dataEncryption property.");
check_readonly(deviceCapabilities, "dataEncryption",
deviceCapabilities.dataEncryption, "boolean", null);
-}, "SystemInfoDeviceCapability_dataEncryption_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_duid_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own duid property.");
check_readonly(deviceCapabilities, "duid",
deviceCapabilities.duid, "string", null);
-}, "SystemInfoDeviceCapability_duid_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_extensibility(deviceCapabilities);
-}, "SystemInfoDeviceCapability_extend");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_fmRadio_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own fmRadio property.");
check_readonly(deviceCapabilities, "fmRadio",
deviceCapabilities.fmRadio, "boolean", null);
-}, "SystemInfoDeviceCapability_fmRadio_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_graphicsAcceleration_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own graphicsAcceleration property.");
check_readonly(deviceCapabilities, "graphicsAcceleration",
deviceCapabilities.graphicsAcceleration, "boolean", null);
-}, "SystemInfoDeviceCapability_graphicsAcceleration_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_gyroscopeWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own gyroscopeWakeup property.");
check_readonly(deviceCapabilities, "gyroscopeWakeup",
deviceCapabilities.gyroscopeWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_gyroscopeWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_gyroscope_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own gyroscope property.");
check_readonly(deviceCapabilities, "gyroscope",
deviceCapabilities.gyroscope, "boolean", null);
-}, "SystemInfoDeviceCapability_gyroscope_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_gyroscope_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.gyroscope* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_gyroscope_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_inputKeyboardLayout_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own inputKeyboardLayout property.");
check_readonly(deviceCapabilities, "inputKeyboardLayout",
deviceCapabilities.inputKeyboardLayout, "boolean", null);
-}, "SystemInfoDeviceCapability_inputKeyboardLayout_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_inputKeyboard_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own inputKeyboard property.");
check_readonly(deviceCapabilities, "inputKeyboard",
deviceCapabilities.inputKeyboard, "boolean", null);
-}, "SystemInfoDeviceCapability_inputKeyboard_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_inputKeyboard_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.inputKeyboard* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.inputKeyboard === false && info.inputKeyboardLayout === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_inputKeyboard_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_locationGps_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own locationGps property.");
check_readonly(deviceCapabilities, "locationGps",
deviceCapabilities.locationGps, "boolean", null);
-}, "SystemInfoDeviceCapability_locationGps_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_locationWps_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own locationWps property.");
check_readonly(deviceCapabilities, "locationWps",
deviceCapabilities.locationWps, "boolean", null);
-}, "SystemInfoDeviceCapability_locationWps_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_location_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own location property.");
check_readonly(deviceCapabilities, "location",
deviceCapabilities.location, "boolean", null);
-}, "SystemInfoDeviceCapability_location_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_location_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.location* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.location === false && info.locationGps === false && info.locationWps === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_location_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_magnetometerWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
"SystemInfoDeviceCapability does not own magnetometerWakeup property.");
check_readonly(deviceCapabilities, "magnetometerWakeup",
deviceCapabilities.magnetometerWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_magnetometerWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_magnetometer_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own magnetometer property.");
check_readonly(deviceCapabilities, "magnetometer",
deviceCapabilities.magnetometer, "boolean", null);
-}, "SystemInfoDeviceCapability_magnetometer_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_magnetometer_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.magnetometer* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_magnetometer_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_microphone_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own microphone property.");
check_readonly(deviceCapabilities, "microphone",
deviceCapabilities.microphone, "boolean", null);
-}, "SystemInfoDeviceCapability_microphone_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_multiTouchCount_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
check_readonly(deviceCapabilities, "multiTouchCount",
deviceCapabilities.multiTouchCount, "number", null);
assert_true(deviceCapabilities.multiTouchCount > 0, "multiTouchCount check");
-}, "SystemInfoDeviceCapability_multiTouchCount_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_nativeApiVersion_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
assert_true(deviceCapabilities.nativeApiVersion !== "", "null check");
assert_equals(deviceCapabilities.nativeApiVersion, "2.2",
"nativeApiVersion is not 2.2");
-}, "SystemInfoDeviceCapability_nativeApiVersion_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_nativeOspCompatible_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own nativeOspCompatible property.");
check_readonly(deviceCapabilities, "nativeOspCompatible",
deviceCapabilities.nativeOspCompatible, "boolean", null);
-}, "SystemInfoDeviceCapability_nativeOspCompatible_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_nfcReservedPush_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own nfcReservedPush property.");
check_readonly(deviceCapabilities, "nfcReservedPush",
deviceCapabilities.nfcReservedPush, "boolean", null);
-}, "SystemInfoDeviceCapability_nfcReservedPush_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_nfc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own nfc property.");
check_readonly(deviceCapabilities, "nfc", deviceCapabilities.nfc,
"boolean", null);
-}, "SystemInfoDeviceCapability_nfc_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_nfc_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.nfc* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_nfc_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoDeviceCapability");
-}, "SystemInfoDeviceCapability_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_openglesVersion1_1_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own openglesVersion1_1 property.");
check_readonly(deviceCapabilities, "openglesVersion1_1",
deviceCapabilities.openglesVersion1_1, "boolean", null);
-}, "SystemInfoDeviceCapability_openglesVersion1_1_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_openglesVersion2_0_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own openglesVersion2_0 property.");
check_readonly(deviceCapabilities, "openglesVersion2_0",
deviceCapabilities.openglesVersion2_0, "boolean", null);
-}, "SystemInfoDeviceCapability_openglesVersion2_0_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_openglesVersion_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.openglesVersion* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.opengles === false && info.openglesVersion1_1 === false && info.openglesVersion2_0 === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_openglesVersion_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_opengles_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own opengles property.");
check_readonly(deviceCapabilities, "opengles",
deviceCapabilities.opengles, "boolean", null);
-}, "SystemInfoDeviceCapability_opengles_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_openglestextureFormat_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own openglestextureFormat property.");
check_readonly(deviceCapabilities, "openglestextureFormat",
deviceCapabilities.openglestextureFormat, "string", null);
-}, "SystemInfoDeviceCapability_openglestextureFormat_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_openglestextureFormat_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency on SystemInfoDeviceCapability.openglestextureFormat attribute
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_openglestextureFormat_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_photometerWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own photometerWakeup property.");
check_readonly(deviceCapabilities, "photometerWakeup",
deviceCapabilities.photometerWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_photometerWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_photometer_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own photometer property.");
check_readonly(deviceCapabilities, "photometer",
deviceCapabilities.photometer, "boolean", null);
-}, "SystemInfoDeviceCapability_photometer_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_photometer_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.photometer* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_photometer_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_platformCoreCpuArch_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
assert_true(deviceCapabilities.platformCoreCpuArch !== "", "null check");
assert_in_array(deviceCapabilities.platformCoreCpuArch,
PLATFROM_CORE_CPU_ARCH, "platformCoreFpuArch isn't value of PlatformCoreFpuArch");
-}, "SystemInfoDeviceCapability_platformCoreCpuArch_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_platformCoreFpuArch_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
assert_true(deviceCapabilities.platformCoreFpuArch !== "", "null check");
assert_in_array(deviceCapabilities.platformCoreFpuArch,
PLATFROM_CORE_FPU_ARCH, "platformCoreFpuArch isn't value of PlatformCoreFpuArch");
-}, "SystemInfoDeviceCapability_platformCoreFpuArch_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_platformName_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
assert_true(deviceCapabilities.platformName !== "", "null check");
assert_equals(deviceCapabilities.platformName, "Tizen",
"platformName is not Tizen");
-}, "SystemInfoDeviceCapability_platformName_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_platformVersion_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
deviceCapabilities.platformVersion, "string", null);
assert_true(deviceCapabilities.platformVersion !== "", "null check");
assert_regexp_match(deviceCapabilities.platformVersion, /2\.2\.[0-9]+/, "platformVersion has a bad value");
-}, "SystemInfoDeviceCapability_platformVersion_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_profile_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
"string", null);
assert_in_array(deviceCapabilities.profile, SYSTEM_INFO_PROFILE,
"profile isn't type of SystemInfoProfile");
-}, "SystemInfoDeviceCapability_profile_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_proximityWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
"SystemInfoDeviceCapability does not own proximityWakeup property.");
check_readonly(deviceCapabilities, "proximityWakeup",
deviceCapabilities.proximityWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_proximityWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_proximity_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own proximity property.");
check_readonly(deviceCapabilities, "proximity",
deviceCapabilities.proximity, "boolean", null);
-}, "SystemInfoDeviceCapability_proximity_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_proximity_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.proximity* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_proximity_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_push_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own push property.");
check_readonly(deviceCapabilities, "push",
deviceCapabilities.push, "boolean", null);
-}, "SystemInfoDeviceCapability_push_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_screenOutputHdmi_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own screenOutputHdmi property.");
check_readonly(deviceCapabilities, "screenOutputHdmi",
deviceCapabilities.screenOutputHdmi, "boolean", null);
-}, "SystemInfoDeviceCapability_screenOutputHdmi_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_screenOutputRca_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own screenOutputRca property.");
check_readonly(deviceCapabilities, "screenOutputRca",
deviceCapabilities.screenOutputRca, "boolean", null);
-}, "SystemInfoDeviceCapability_screenOutputRca_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_screenSize480_800_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
"SystemInfoDeviceCapability does not own screenSize480_800 property.");
check_readonly(deviceCapabilities, "screenSize480_800",
deviceCapabilities.screenSize480_800, "boolean", null);
-}, "SystemInfoDeviceCapability_screenSize480_800_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_screenSize720_1280_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own screenSize720_1280 property.");
check_readonly(deviceCapabilities, "screenSize720_1280",
deviceCapabilities.screenSize720_1280, "boolean", null);
-}, "SystemInfoDeviceCapability_screenSize720_1280_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_screenSizeNormal_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own screenSizeNormal property.");
check_readonly(deviceCapabilities, "screenSizeNormal",
deviceCapabilities.screenSizeNormal, "boolean", null);
-}, "SystemInfoDeviceCapability_screenSizeNormal_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_secureElement_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own secureElement property.");
check_readonly(deviceCapabilities, "secureElement",
deviceCapabilities.secureElement, "boolean", null);
-}, "SystemInfoDeviceCapability_secureElement_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_shellAppWidget_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own shellAppWidget property.");
check_readonly(deviceCapabilities, "shellAppWidget",
deviceCapabilities.shellAppWidget, "boolean", null);
-}, "SystemInfoDeviceCapability_shellAppWidget_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_sipVoip_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own sipVoip property.");
check_readonly(deviceCapabilities, "sipVoip",
deviceCapabilities.sipVoip, "boolean", null);
-}, "SystemInfoDeviceCapability_sipVoip_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_speechRecognition_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own speechRecognition property.");
check_readonly(deviceCapabilities, "speechRecognition",
deviceCapabilities.speechRecognition, "boolean", null);
-}, "SystemInfoDeviceCapability_speechRecognition_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_speechSynthesis_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
"SystemInfoDeviceCapability does not own speechSynthesis property.");
check_readonly(deviceCapabilities, "speechSynthesis",
deviceCapabilities.speechSynthesis, "boolean", null);
-}, "SystemInfoDeviceCapability_speechSynthesis_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_telephonyMms_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
check_readonly(deviceCapabilities, "telephonyMms", deviceCapabilities.telephonyMms, "boolean", null);
-}, "SystemInfoDeviceCapability_telephonyMms_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_telephonySms_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
check_readonly(deviceCapabilities, "telephonySms", deviceCapabilities.telephonySms, "boolean", null);
-}, "SystemInfoDeviceCapability_telephonySms_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_telephony_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
check_readonly(deviceCapabilities, "telephony", deviceCapabilities.telephony, "boolean", null);
-}, "SystemInfoDeviceCapability_telephony_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_telephony_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.telephony* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
info.telephony === false && info.telephonyMms === false && info.telephonySms === true,
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_telephony_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_tiltmeterWakeup_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own tiltmeterWakeup property.");
check_readonly(deviceCapabilities, "tiltmeterWakeup",
deviceCapabilities.tiltmeterWakeup, "boolean", null);
-}, "SystemInfoDeviceCapability_tiltmeterWakeup_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_tiltmeter_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
check_readonly(deviceCapabilities, "tiltmeter", deviceCapabilities.tiltmeter, "boolean", null);
-}, "SystemInfoDeviceCapability_tiltmeter_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_tiltmeter_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.tiltmeter* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_tiltmeter_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceCapability_usbAccessory_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own usbAccessory property.");
check_readonly(deviceCapabilities, "usbAccessory",
deviceCapabilities.usbAccessory, "boolean", null);
-}, "SystemInfoDeviceCapability_usbAccessory_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_usbHost_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own usbHost property.");
check_readonly(deviceCapabilities, "usbHost",
deviceCapabilities.usbHost, "boolean", null);
-}, "SystemInfoDeviceCapability_usbHost_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_visionFaceRecognition_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own visionFaceRecognition property.");
check_readonly(deviceCapabilities, "visionFaceRecognition",
deviceCapabilities.visionFaceRecognition, "boolean", null);
-}, "SystemInfoDeviceCapability_visionFaceRecognition_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_visionImageRecognition_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own visionImageRecognition property.");
check_readonly(deviceCapabilities, "visionImageRecognition",
deviceCapabilities.visionImageRecognition, "boolean", null);
-}, "SystemInfoDeviceCapability_visionImageRecognition_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_visionQrcodeGeneration_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own visionQrcodeGeneration property.");
check_readonly(deviceCapabilities, "visionQrcodeGeneration",
deviceCapabilities.visionQrcodeGeneration, "boolean", null);
-}, "SystemInfoDeviceCapability_visionQrcodeGeneration_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_visionQrcodeRecognition_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own visionQrcodeRecognition property.");
check_readonly(deviceCapabilities, "visionQrcodeRecognition",
deviceCapabilities.visionQrcodeRecognition, "boolean", null);
-}, "SystemInfoDeviceCapability_visionQrcodeRecognition_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_webApiVersion_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
assert_true(deviceCapabilities.webApiVersion !== "", "null check");
assert_equals(deviceCapabilities.webApiVersion, "2.2",
"webApiVersion is not 2.2");
-}, "SystemInfoDeviceCapability_webApiVersion_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_wifiDirect_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own wifiDirect property.");
check_readonly(deviceCapabilities, "wifiDirect",
deviceCapabilities.wifiDirect, "boolean", null);
-}, "SystemInfoDeviceCapability_wifiDirect_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceCapability_wifi_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
"SystemInfoDeviceCapability does not own wifi property.");
check_readonly(deviceCapabilities, "wifi", deviceCapabilities.wifi,
"boolean", null);
-}, "SystemInfoDeviceCapability_wifi_attribute");
+}, document.title);
</script>
</body>
Authors:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Andrzej Krolikowski <a.krolikowsk@samsung.com>
-->
-<html lang="en">
+<html>
<head>
<title>SystemInfoDeviceCapability_wifi_dependency</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== LABEL Check invalid dependency between SystemInfoDeviceCapability.wifi* attributes
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDeviceCapability:SystemInfoDeviceCapability U
-//==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA
test(function () {
"invalid dependency between capabilities"
);
-}, "SystemInfoDeviceCapability_wifi_dependency");
+}, document.title);
+
</script>
</body>
</html>
<head>
<title>SystemInfoDeviceOrientation_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== PRIORITY P3
setup({timeout: 90000});
-var t = async_test("SystemInfoDeviceOrientation_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("Exception : " + error.message);
+ assert_unreached("Exception: " + error.message);
});
tizen.systeminfo.getPropertyValue("DEVICE_ORIENTATION",
<head>
<title>SystemInfoDeviceOrientation_isAutoRotation_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoDeviceOrientation_isAutoRotation_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDeviceOrientation_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoDeviceOrientation");
-}, "SystemInfoDeviceOrientation_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDeviceOrientation_status_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoDeviceOrientation_status_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_brightness_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_brightness_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_constructor_display</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoDisplay_constructor_display
-//==== LABEL check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoDisplay:resolutionWidth A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA AT
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoDisplay_constructor_display", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (display) {
assert_type(display.resolutionWidth, "number", "resolutionWidth");
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_dotsPerInchHeight_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_dotsPerInchHeight_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_dotsPerInchWidth_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_dotsPerInchWidth_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoDisplay");
-}, "SystemInfoDisplay_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoDisplay_physicalHeight_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_physicalHeight_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_physicalWidth_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_physicalWidth_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_resolutionHeight_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_resolutionHeight_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoDisplay_resolutionWidth_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoDisplay_resolutionWidth_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoLocale_country_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoLocale_country_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoLocale_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoLocale_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoLocale_language_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoLocale_language_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoLocale_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoLocale");
-}, "SystemInfoLocale_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoNetwork_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoNetwork_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoNetwork_networkType_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoNetwork_networkType_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoNetwork_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoNetwork");
-}, "SystemInfoNetwork_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoObject_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoObject");
-}, "SystemInfoObject_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoPeripheral_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoPeripheral_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPeripheral_isVideoOutputOn_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoPeripheral_isVideoOutputOn_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPeripheral_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoPeripheral");
-}, "SystemInfoPeripheral_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoPropertySuccessCallback_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoPropertySuccessCallback");
-}, "SystemInfoPropertySuccessCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (value) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Battery</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Battery
-//==== LABEL check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Battery", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (battery) {
assert_type(battery.level, "number", "level type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Build</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Build
-//==== LABEL check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Build", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (build) {
assert_type(build.model, "string", "model type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_CPU</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_CPU
-//==== LABEL check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_CPU", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (cpu) {
assert_equals(typeof(cpu.load), "number", "load attribute ");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork
-//==== LABEL check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (cellularnetwork) {
assert_type(cellularnetwork.status, "string", "status type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation
-//==== LABEL check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (deviceorientation) {
assert_type(deviceorientation.status, "string", "status type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Display</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Display
-//==== LABEL check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Display", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (display) {
assert_type(display.resolutionWidth, "number", "resolutionWidth type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Locale</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Locale
-//==== LABEL check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Locale", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (locale) {
assert_type(locale.language, "string", "language type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Network</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Network
-//==== LABEL check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Network", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (network) {
assert_type(network.networkType, "string", "networkType type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Peripheral</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Peripheral
-//==== LABEL check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Peripheral", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (peripheral) {
assert_type(peripheral.isVideoOutputOn, "boolean", "isVideoOutputOn type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_SIM</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_SIM
-//==== LABEL check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_SIM", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (sim) {
assert_type(sim.state, "string", "state type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_Storage</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_Storage
-//==== LABEL check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_Storage", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
assert_own_property(property, "units", "No units property.");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork
-//==== LABEL check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes
+//==== LABEL Check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfoPropertySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA CBT CBOA
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
-setup({ timeout: 90000 });
+setup({timeout: 90000});
t.step(function () {
getPropertyValueSuccess = t.step_func(function (wifinetwork) {
assert_type(wifinetwork.status, "string", "status type check");
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoProperty_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoProperty");
-}, "SystemInfoProperty_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoSIM_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA OBX
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_extend", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_iccid_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_iccid_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_mcc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_mcc_attribute", {timeout: 90000}), getPropertyValueSuccess,
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess,
getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_mnc_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_mnc_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_msin_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_msin_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_msisdn_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_msisdn_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("SystemInfoSIM");
-}, "SystemInfoSIM_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoSIM_operatorName_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_operatorName_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_spn_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_spn_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoSIM_state_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoSIM_state_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_availableCapacity_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_availableCapacity_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_capacity_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_capacity_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_isRemovable_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_isRemovable_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_isRemoveable_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_isRemoveable_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorageUnit_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("SystemInfoStorageUnit");
-}, "SystemInfoStorageUnit_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoStorageUnit_type_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorageUnit_type_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (e) {
- assert_unreached("Exception : " + e.message);
+ assert_unreached("Exception: " + e.message);
});
tizen.systeminfo.getPropertyValue("STORAGE", getPropertyValueSuccess,
<head>
<title>SystemInfoStorage_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoStorage_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoStorage_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoStorage");
-}, "SystemInfoStorage_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoStorage_units_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA AE AT ARO
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfoStorage_units_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError, i, j, units;
setup({timeout: 90000});
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_ipAddress_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_ipAddress_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_ipv6Address_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_ipv6Address_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfoWifiNetwork");
-}, "SystemInfoWifiNetwork_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfoWifiNetwork_signalStrength_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_signalStrength_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_ssid_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_ssid_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfoWifiNetwork_status_attribute</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
setup({timeout: 90000});
-var t = async_test("SystemInfoWifiNetwork_status_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (property) {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name: " +
+ assert_unreached("getPropertyValue() error callback invoked: name: " +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfo_SystemInfoObject_systeminfo_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfo_SystemInfoObject_systeminfo_attribute
-//==== LABEL check if SystemInfo exists and implements methods
+//==== LABEL Check if SystemInfo exists and implements methods
//==== PRIORITY P3
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:SystemInfo U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
assert_equals(typeof (tizen.systeminfo.getPropertyValue), "function", "Checking type of getPropertyValue");
assert_equals(typeof (tizen.systeminfo.addPropertyValueChangeListener), "function", "Checking type of addPropertyValueChangeListener");
assert_equals(typeof (tizen.systeminfo.removePropertyValueChangeListener), "function", "Checking type of removePropertyValueChangeListener");
-}, "SystemInfo_SystemInfoObject_systeminfo_attribute");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_addPropertyValueChangeListener</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMINA MAST MR
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfo_addPropertyValueChangeListener", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
addPropertyValueChangeListenerSuccess, addPropertyValueChangeListenerError, retValue = null;
setup({timeout: 90000});
t.step(function () {
addPropertyValueChangeListenerError = t.step_func(function (error) {
- assert_unreached("addPropertyValueChangeListener() error callback invoked : name:" + error.name + ", msg:" + error.message);
+ assert_unreached("addPropertyValueChangeListener() error callback invoked: name:" + error.name + ", msg:" + error.message);
});
addPropertyValueChangeListenerSuccess = t.step_func(function (property) {
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfo_addPropertyValueChangeListener_exist
-//==== LABEL check if method addPropertyValueChangeListener of SystemInfo exists
+//==== LABEL Check if method addPropertyValueChangeListener of SystemInfo exists
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
//==== TEST_CRITERIA ME
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
assert_true("addPropertyValueChangeListener" in tizen.systeminfo,
"tizen.systeminfo.addPropertyValueChangeListener method exists");
check_method_exists(tizen.systeminfo, "addPropertyValueChangeListener");
-}, "SystemInfo_addPropertyValueChangeListener_exist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({ name: "TypeMismatchError" },
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.systeminfo.addPropertyValueChangeListener();
}, "Calling addPropertyValueChangeListener without arguments should throw an exception.");
-}, "SystemInfo_addPropertyValueChangeListener_missarg");
+}, document.title);
</script>
</body>
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_options_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_addPropertyValueChangeListener_options_TypeMismatch
-//==== LABEL check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect
+//==== LABEL Check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect
//==== PRIORITY: P2
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
SystemInfoOption = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.systeminfo.addPropertyValueChangeListener("BATTERY",
addPropertyValueChangeListenerSuccess, SystemInfoOption);
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_property_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_addPropertyValueChangeListener_property_TypeMismatch
-//==== LABEL check if addPropertyValueChangeListener throws exception when property is incorrect
+//==== LABEL Check if addPropertyValueChangeListener throws exception when property is incorrect
//==== PRIORITY: P2
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MC
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfo_addPropertyValueChangeListener_property_TypeMismatch", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
i, conversionTable, systemInfoProperty, exceptionName, addPropertyValueChangeListenerSuccess;
setup({timeout: 90000});
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_property_empty</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_addPropertyValueChangeListener_property_empty
-//==== LABEL check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener
+//==== LABEL Check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener
//==== PRIORITY: P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
//==== TEST_CRITERIA MTD
setup({timeout: 90000});
-var t = async_test("SystemInfo_addPropertyValueChangeListener_property_empty", {timeout: 90000}), addPropertyValueChangeListenerSuccess;
+var t = async_test(document.title, {timeout: 90000}), addPropertyValueChangeListenerSuccess;
t.step(function () {
addPropertyValueChangeListenerSuccess = t.step_func(function (property) {
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("SystemInfo_addPropertyValueChangeListener_successCallback_TypeMismatch", {timeout: 90000}), addPropertyValueChangeListenerSuccess, exceptionName, i, conversionTable;
+var t = async_test(document.title, {timeout: 90000}), addPropertyValueChangeListenerSuccess, exceptionName, i, conversionTable;
t.step(function () {
conversionTable = getTypeConversionExceptions("functionObject", false);
addPropertyValueChangeListenerSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.systeminfo.addPropertyValueChangeListener("STORAGE", addPropertyValueChangeListenerSuccess);
}, exceptionName + " should be thrown - given incorrect success callback.");
<html>
<head>
<title>SystemInfo_addPropertyValueChangeListener_successCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== ONLOAD_DELAY 90
setup({timeout: 90000});
-var t = async_test("SystemInfo_addPropertyValueChangeListener_successCallback_invalid_cb",
+var t = async_test(document.title,
{timeout: 90000}), addPropertyValueChangeListenerSuccess, exceptionName = "TypeMismatchError";
t.step(function () {
addPropertyValueChangeListenerSuccess = {
<head>
<title>SystemInfo_addPropertyValueChangeListener_successCallback_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: SystemInfo_addPropertyValueChangeListener_successCallback_missarg
-//==== LABEL check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing
+//==== LABEL Check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:addPropertyValueChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMA
test(function () {
for (i = 0; i < systemInfoPropertyId.length; i++) {
- assert_throws(TYPE_MISMATCH_ERR,
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
lId = tizen.systeminfo.addPropertyValueChangeListener(systemInfoPropertyId[i]);
tizen.systeminfo.removePropertyValueChangeListener(lId);
});
}
-}, "SystemInfo_addPropertyValueChangeListener_successCallback_missarg");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_addPropertyValueChangeListener_with_options</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MOA MAST
//==== ONLOAD_DELAY 90
-var t = async_test("SystemInfo_addPropertyValueChangeListener_with_options", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
addPropertyValueChangeListenerSuccess, lId;
setup({timeout: 90000});
<head>
<title>SystemInfo_extend</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_extensibility(tizen.systeminfo);
-}, "SystemInfo_extend");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_getCapabilities</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
"There is no "+SystemInfoDeviceCapability[i]+
" attribute in tizen.systeminfo.getCapabilities().");
}
-}, "SystemInfo_getCapabilities");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_getCapabilities_exist</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_getCapabilities_exist
-//==== LABEL check if method getCapabilities of SystemInfo exists
+//==== LABEL Check if method getCapabilities of SystemInfo exists
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getCapabilities M
//==== TEST_CRITERIA ME
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
test(function () {
assert_true("getCapabilities" in tizen.systeminfo, "No getCapabilities method in tizen.systeminfo.");
check_method_exists(tizen.systeminfo, "getCapabilities");
-}, "SystemInfo_getCapabilities_exist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_getCapabilities_extra_argument</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
checkExtraArgument(tizen.systeminfo, "getCapabilities");
-}, "SystemInfo_getCapabilities_extra_argument");
+}, document.title);
</script>
</body>
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue", {timeout: 90000}), getPropertyValueSuccess, retValue = null;
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess, retValue = null;
t.step(function () {
getPropertyValueSuccess = t.step_func(function (battery) {
<html>
<head>
<title>SystemInfo_getPropertyValue_errorCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue_errorCallback_TypeMismatch", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
conversionTable, getPropertyValueSuccess, getPropertyValueError, exceptionName, i;
t.step(function () {
<html>
<head>
<title>SystemInfo_getPropertyValue_errorCallback_invalid_cb</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
//==== TEST_CRITERIA MTCB
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue_errorCallback_invalid_cb", {timeout: 90000}), getPropertyValueSuccess, getPropertyValueError, i;
+var t = async_test(document.title, {timeout: 90000}), getPropertyValueSuccess, getPropertyValueError, i;
t.step(function () {
getPropertyValueError = {
onerror: t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name:" +
+ assert_unreached("getPropertyValue() error callback invoked: name:" +
error.name + ", msg: " + error.message);
})
};
assert_unreached("Unexpected successCallback");
});
for (i = 0; i < systemInfoPropertyId.length; i++) {
- assert_throws(TYPE_MISMATCH_ERR,
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.systeminfo.getPropertyValue(systemInfoPropertyId[i], getPropertyValueSuccess, getPropertyValueError);
}, TYPE_MISMATCH_ERR + " should be thrown");
<head>
<title>SystemInfo_getPropertyValue_exist</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_getPropertyValue_exist
-//==== LABEL check if method getPropertyValue of SystemInfo exists
+//==== LABEL Check if method getPropertyValue of SystemInfo exists
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getPropertyValue M
//==== TEST_CRITERIA ME
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
test(function () {
assert_true("getPropertyValue" in tizen.systeminfo, "No getPropertyValue method in tizen.systeminfo.");
check_method_exists(tizen.systeminfo, "getPropertyValue");
-}, "SystemInfo_getPropertyValue_exist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>SystemInfo_getPropertyValue_missarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/systeminfo_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws( TYPE_MISMATCH_ERR,
+ assert_throws( TYPE_MISMATCH_EXCEPTION,
function () {
tizen.systeminfo.getPropertyValue();
}, TYPE_MISMATCH_ERR + " should be thrown");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>SystemInfo_getPropertyValue_property_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_getPropertyValue_property_TypeMismatch
-//==== LABEL check if getPropertyValue throws exception when property is incorrect
+//==== LABEL Check if getPropertyValue throws exception when property is incorrect
//==== PRIORITY: P2
//==== ONLOAD_DELAY 90
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getPropertyValue M
systemInfoProperty = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.systeminfo.getPropertyValue(systemInfoProperty,
getPropertyValueSuccess, getPropertyValueError);
<html>
<head>
<title>SystemInfo_getPropertyValue_successCallback_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
//==== TEST_CRITERIA MC
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue_successCallback_TypeMismatch", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, exceptionName, getPropertyValueError, i, conversionTable;
t.step(function () {
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name:" +
+ assert_unreached("getPropertyValue() error callback invoked: name:" +
error.name + ", msg: " + error.message);
});
getPropertyValueSuccess = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.systeminfo.getPropertyValue("STORAGE", getPropertyValueSuccess,
getPropertyValueError);
<html>
<head>
<title>SystemInfo_getPropertyValue_successCallback_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_getPropertyValue_successCallback_invalid_cb
-//==== LABEL: Check getPropertyValue() argument successCallback validation - use {onsuccess: function (){}}
+//==== LABEL Check getPropertyValue() argument successCallback validation - use {onsuccess: function (){}}
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:SystemInfo:SystemInfo:getPropertyValue M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== ONLOAD_DELAY 90
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue_successCallback_invalid_cb", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, exceptionName = "TypeMismatchError", i;
t.step(function () {
getPropertyValueSuccess = {
<head>
<title>SystemInfo_getPropertyValue_successCallback_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: SystemInfo_getPropertyValue_successCallback_missarg
-//==== LABEL check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception
+//==== LABEL Check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:getPropertyValue M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMA
test(function () {
for (i = 0; i < systemInfoPropertyId.length; i++) {
- assert_throws(TYPE_MISMATCH_ERR,
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.systeminfo.getPropertyValue(systemInfoPropertyId[i]);
}, TYPE_MISMATCH_ERR + " should be thrown");
}
-}, "SystemInfo_getPropertyValue_successCallback_missarg");
+}, document.title);
</script>
</body>
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
-var t = async_test("SystemInfo_getPropertyValue_with_errorCallback", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getPropertyValueSuccess, getPropertyValueError;
t.step(function () {
t.done();
});
getPropertyValueError = t.step_func(function (error) {
- assert_unreached("getPropertyValue() error callback invoked : name:" +
+ assert_unreached("getPropertyValue() error callback invoked: name:" +
error.name + ", msg: " + error.message);
});
<head>
<title>SystemInfo_in_tizen</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
assert_true("systeminfo" in tizen, "No systeminfo in tizen.");
check_readonly(tizen, "systeminfo", tizen.systeminfo, "object", "dummyValue");
-}, "SystemInfo_in_tizen");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_notexist</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
test(function () {
check_no_interface_object("SystemInfo");
-}, "SystemInfo_notexist");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_removePropertyValueChangeListener</title>
<meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<body>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout: 90000});
-var t = async_test("SystemInfo_removePropertyValueChangeListener", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
addPropertyValueChangeListenerSuccess, lId, retValue = null;
t.step(function () {
assert_equals(retValue, undefined, "removePropertyValueChangeListener returns wrong value");
t.done();
- }),3000);
+ }), 3000);
});
</script>
<head>
<title>SystemInfo_removePropertyValueChangeListener_all_properties</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/systeminfo_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_removePropertyValueChangeListener_all_properties
-//==== LABEL check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes
+//==== LABEL Check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:removePropertyValueChangeListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
//==== TEST_CRITERIA MMINA
tizen.systeminfo.removePropertyValueChangeListener(lId);
}
-}, "SystemInfo_removePropertyValueChangeListener_all_properties");
+}, document.title);
</script>
</body>
<head>
<title>SystemInfo_removePropertyValueChangeListener_exist</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: SystemInfo_removePropertyValueChangeListener_exist
-//==== LABEL check if method removePropertyValueChangeListener of SystemInfo exists
+//==== LABEL Check if method removePropertyValueChangeListener of SystemInfo exists
//==== SPEC Tizen Web API:System:SystemInfo:SystemInfo:removePropertyValueChangeListener M
//==== TEST_CRITERIA ME
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html
test(function () {
assert_true("removePropertyValueChangeListener" in tizen.systeminfo, "No removePropertyValueChangeListener method in tizen.systeminfo.");
check_method_exists(tizen.systeminfo, "removePropertyValueChangeListener");
-}, "SystemInfo_removePropertyValueChangeListener_exist");
+}, document.title);
</script>
</body>
--- /dev/null
+/*
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
<test_definition>
<suite name="tct-systeminfo-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="SystemInfo">
- <testcase purpose="check if method getPropertyValue of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getPropertyValue_exist">
+ <testcase purpose="Check if method getPropertyValue of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getPropertyValue_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method addPropertyValueChangeListener of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_addPropertyValueChangeListener_exist">
+ <testcase purpose="Check if method addPropertyValueChangeListener of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_addPropertyValueChangeListener_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if SystemInfo exists and implements methods" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfo_SystemInfoObject_systeminfo_attribute">
+ <testcase purpose="Check if SystemInfo exists and implements methods" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P3" id="SystemInfo_SystemInfoObject_systeminfo_attribute">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_SystemInfoObject_systeminfo_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getCapabilities of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getCapabilities_exist">
+ <testcase purpose="Check if method getCapabilities of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getCapabilities_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapabilities_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue throws exception when property is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_getPropertyValue_property_TypeMismatch">
+ <testcase purpose="Check if getPropertyValue throws exception when property is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_getPropertyValue_property_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_property_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_options_TypeMismatch">
+ <testcase purpose="Check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_options_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_options_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener throws exception when property is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_property_TypeMismatch">
+ <testcase purpose="Check if addPropertyValueChangeListener throws exception when property is incorrect" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_property_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_property_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method removePropertyValueChangeListener of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_removePropertyValueChangeListener_exist">
+ <testcase purpose="Check if method removePropertyValueChangeListener of SystemInfo exists" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_removePropertyValueChangeListener_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_removePropertyValueChangeListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_removePropertyValueChangeListener_all_properties">
+ <testcase purpose="Check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_removePropertyValueChangeListener_all_properties">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_removePropertyValueChangeListener_all_properties.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork">
+ <testcase purpose="Check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_CPU">
+ <testcase purpose="Check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_CPU">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_CPU.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation">
+ <testcase purpose="Check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoDisplay_constructor_display">
+ <testcase purpose="Check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoDisplay_constructor_display">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDisplay_constructor_display.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Storage">
+ <testcase purpose="Check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Storage">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Storage.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork">
+ <testcase purpose="Check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getPropertyValue_successCallback_missarg">
+ <testcase purpose="Check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_getPropertyValue_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_successCallback_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_addPropertyValueChangeListener_successCallback_missarg">
+ <testcase purpose="Check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing" type="compliance" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfo_addPropertyValueChangeListener_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_successCallback_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Battery">
+ <testcase purpose="Check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Battery">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Battery.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Build">
+ <testcase purpose="Check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Build">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Build.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Display">
+ <testcase purpose="Check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Display">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Display.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Locale">
+ <testcase purpose="Check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Locale">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Locale.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Network">
+ <testcase purpose="Check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Network">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Network.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Peripheral">
+ <testcase purpose="Check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_Peripheral">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Peripheral.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_SIM">
+ <testcase purpose="Check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P1" id="SystemInfoPropertySuccessCallback_onsuccess_SIM">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_SIM.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_property_empty">
+ <testcase purpose="Check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener" type="compliance" onload_delay="90" status="approved" component="TizenAPI/System/SystemInfo" execution_type="auto" priority="P2" id="SystemInfo_addPropertyValueChangeListener_property_empty">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_property_empty.html</test_script_entry>
</description>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<specs>
<spec>
<spec_assertion interface="SystemInfoDeviceCapability" usage="true" specification="SystemInfo" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
<test_definition>
<suite name="tct-systeminfo-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="SystemInfo">
- <testcase purpose="check if method getPropertyValue of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_exist">
+ <testcase purpose="Check if method getPropertyValue of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method addPropertyValueChangeListener of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_exist">
+ <testcase purpose="Check if method addPropertyValueChangeListener of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if SystemInfo exists and implements methods" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_SystemInfoObject_systeminfo_attribute">
+ <testcase purpose="Check if SystemInfo exists and implements methods" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_SystemInfoObject_systeminfo_attribute">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_SystemInfoObject_systeminfo_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getCapabilities of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapabilities_exist">
+ <testcase purpose="Check if method getCapabilities of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapabilities_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapabilities_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue throws exception when property is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_property_TypeMismatch">
+ <testcase purpose="Check if getPropertyValue throws exception when property is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_property_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_property_TypeMismatch.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_options_TypeMismatch">
+ <testcase purpose="Check if addPropertyValueChangeListener of SystemInfo throws exception when option is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_options_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_options_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener throws exception when property is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_property_TypeMismatch">
+ <testcase purpose="Check if addPropertyValueChangeListener throws exception when property is incorrect" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_property_TypeMismatch">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_property_TypeMismatch.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method removePropertyValueChangeListener of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_removePropertyValueChangeListener_exist">
+ <testcase purpose="Check if method removePropertyValueChangeListener of SystemInfo exists" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_removePropertyValueChangeListener_exist">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_removePropertyValueChangeListener_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDeviceCapability_visionQrcodeRecognition_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_removePropertyValueChangeListener_all_properties">
+ <testcase purpose="Check whether removePropertyValueChangeListener() method properly unsubscribes notifications for property changes" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_removePropertyValueChangeListener_all_properties">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_removePropertyValueChangeListener_all_properties.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork">
+ <testcase purpose="Check if getPropertyValue('CELLULAR_NETWORK', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_CellularNetwork.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_CPU">
+ <testcase purpose="Check if getPropertyValue('CPU', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_CPU">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_CPU.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation">
+ <testcase purpose="Check if getPropertyValue('DEVICE_ORIENTATION', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_DeviceOrientation.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoDisplay_constructor_display">
+ <testcase purpose="Check if getPropertyValue('Display', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoDisplay_constructor_display">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDisplay_constructor_display.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Storage">
+ <testcase purpose="Check if getPropertyValue('Storage', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Storage">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Storage.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork">
+ <testcase purpose="Check if getPropertyValue('WifiNetwork', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_WifiNetwork.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_removePropertyValueChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_successCallback_missarg">
+ <testcase purpose="Check if getPropertyValue(SystemInfoPropertyId) (no success callback) throws an exception" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getPropertyValue_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_successCallback_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_successCallback_missarg">
+ <testcase purpose="Check if addPropertyValueChangeListener(SystemInfoPropertyId) (no success callback) throws an exception when successCallback is missing" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_successCallback_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getPropertyValue_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Battery">
+ <testcase purpose="Check if getPropertyValue('BATTERY', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Battery">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Battery.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Build">
+ <testcase purpose="Check if getPropertyValue('BUILD', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Build">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Build.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Display">
+ <testcase purpose="Check if getPropertyValue('DISPLAY', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Display">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Display.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Locale">
+ <testcase purpose="Check if getPropertyValue('LOCALE', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Locale">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Locale.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Network">
+ <testcase purpose="Check if getPropertyValue('NETWORK', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Network">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Network.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Peripheral">
+ <testcase purpose="Check if getPropertyValue('PERIPHERAL', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_Peripheral">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_Peripheral.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_SIM">
+ <testcase purpose="Check if getPropertyValue('SIM', successCB, errorCB) calls successCallback + results' attributes" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoPropertySuccessCallback_onsuccess_SIM">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertySuccessCallback_onsuccess_SIM.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDeviceOrientation_isAutoRotation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_property_empty">
+ <testcase purpose="Check with empty SystemInfoPropertyId argument of addPropertyValueChangeListener" onload_delay="90" component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_addPropertyValueChangeListener_property_empty">
<description>
<test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_property_empty.html</test_script_entry>
</description>