+++ /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-time-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Time">
- <testcase purpose="Time_TZDate_toLocaleDateString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleDateString">
+ <testcase purpose="Check if TZDate::ToLocaleDateString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleDateString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toUTC" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toUTC">
+ <testcase purpose="Check if TZDate::toUTC() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toUTC">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toUTC.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toLocaleString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleString">
+ <testcase purpose="Check if TZDate::ToLocaleString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setFullYear_normal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setFullYear_normal">
+ <testcase purpose="Check if TZDate.setFullYear_normal() works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setFullYear_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setFullYear_normal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toDateString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P0" id="Time_TZDate_toDateString">
+ <testcase purpose="Check if TZDate::ToDateString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P0" id="Time_TZDate_toDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toDateString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toTimeString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toTimeString">
+ <testcase purpose="Check if TZDate::ToTimeString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimeString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toString">
+ <testcase purpose="Check if TZDate::ToString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_normal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setUTCMonth_normal">
+ <testcase purpose="Check if TZDate.setUTCMonth() works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setUTCMonth_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_normal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toTimezone">
+ <testcase purpose="Check if TZDate::toTimezone() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toTimezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_normal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setUTCSeconds_normal">
+ <testcase purpose="Check if TZDate.setUTCSeconds() works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_setUTCSeconds_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_normal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toLocaleTimeString" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleTimeString">
+ <testcase purpose="Check if TZDate::ToLocaleTimeString() method returns string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="Time_TZDate_toLocaleTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleTimeString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMinutes_abnormalDecimal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMinutes_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCMinutes() called with decimal don't set the milliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMinutes_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMinutes_abnormalDecimal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_abnormalDecimal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with decimal don't set the milliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_abnormalDecimal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with value greater than upper limit don't set the minutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryBiggerThanUpper.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryLessThanLower" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryLessThanLower">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with number less than lower boundary doesn't set the date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryLessThanLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryLessThanLower.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryLowerLimit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryLowerLimit">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with lowest value possible works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryLowerLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryLowerLimit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryUpperLimit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryUpperLimit">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with highest value possible works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_boundaryUpperLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryUpperLimit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_invalidMonth" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_invalidMonth">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with invalid string argument don't set the month" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCMonth_invalidMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_invalidMonth.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_abnormalDecimal" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with decimal don't set the milliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_abnormalDecimal.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with value greater than upper limit don't set the minutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryLessThanLower" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryLessThanLower">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with number less than lower boundary doesn't set the date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryLessThanLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryLessThanLower.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryLowerLimit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryLowerLimit">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with lowest value possible works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryLowerLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryLowerLimit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryUpperLimit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryUpperLimit">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with highest value possible works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_boundaryUpperLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryUpperLimit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_invalidSeconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_invalidSeconds">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with invalid string argument don't set the seconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_setUTCSeconds_invalidSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_invalidSeconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone_invalid" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_toTimezone_invalid">
+ <testcase purpose="Check if TZDate::toTimezone(invalid) method reports error" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_toTimezone_invalid">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone_invalid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone_null" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_toTimezone_null">
+ <testcase purpose="Check if TZDate::toTimezone(null) method reports error" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="Time_TZDate_toTimezone_null">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check difference method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_difference_checkDurationDifference">
+ <testcase purpose="Check difference method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_difference_checkDurationDifference">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_difference_checkDurationDifference.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check equalsTo method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_equalsTo_checkDurationEqual">
+ <testcase purpose="Check equalsTo method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_equalsTo_checkDurationEqual">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_equalsTo_checkDurationEqual.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check lessThan method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_lessThan_checkDurationLower">
+ <testcase purpose="Check lessThan method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_lessThan_checkDurationLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_lessThan_checkDurationLower.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check greaterThan method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_greaterThan_checkDurationGreater">
+ <testcase purpose="Check greaterThan method TimeDuration interface works successfully" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_greaterThan_checkDurationGreater">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_greaterThan_checkDurationGreater.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if date format is valid" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getDateFormat_valid">
+ <testcase purpose="Check if date format is valid" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getDateFormat_valid">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getDateFormat_valid.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check TimeUtil interface isLeapYear method with parameter zero" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_isLeapYear_allZero">
+ <testcase purpose="Check TimeUtil interface isLeapYear method with parameter zero" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_isLeapYear_allZero">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_isLeapYear_allZero.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check TimeUtil interface isLeapYear method with parameter negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_isLeapYear_negative">
+ <testcase purpose="Check TimeUtil interface isLeapYear method with parameter negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_isLeapYear_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_isLeapYear_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check EuropeBerlin is included in available timezones" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getAvailableTimezones_checkEuropeBerlin">
+ <testcase purpose="Check EuropeBerlin is included in available timezones" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getAvailableTimezones_checkEuropeBerlin">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getAvailableTimezones_checkEuropeBerlin.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getDate value is equal to setDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_checkEqualWithSetDate">
+ <testcase purpose="Check if getDate value is equal to setDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_checkEqualWithSetDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_checkEqualWithSetDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getFullYear value is equal to setFullYear" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_checkEqualWithSetFullYear">
+ <testcase purpose="Check if getFullYear value is equal to setFullYear" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_checkEqualWithSetFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_checkEqualWithSetFullYear.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getHours value is equal to setHours" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_checkEqualWithSetHours">
+ <testcase purpose="Check if getHours value is equal to setHours" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_checkEqualWithSetHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_checkEqualWithSetHours.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getMilliseconds value is equal to setMilliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_checkEqualWithSetMilliseconds">
+ <testcase purpose="Check if getMilliseconds value is equal to setMilliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_checkEqualWithSetMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_checkEqualWithSetMilliseconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getMinutes value is equal to setMinutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_checkEqualWithSetMinutes">
+ <testcase purpose="Check if getMinutes value is equal to setMinutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_checkEqualWithSetMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_checkEqualWithSetMinutes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getMonth value is equal to setMonth" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_checkEqualWithSetMonth">
+ <testcase purpose="Check if getMonth value is equal to setMonth" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_checkEqualWithSetMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_checkEqualWithSetMonth.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getSeconds value is equal to setSeconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_checkEqualWithSetSeconds">
+ <testcase purpose="Check if getSeconds value is equal to setSeconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_checkEqualWithSetSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_checkEqualWithSetSeconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCDate value is equal to setUTCDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_checkEqualWithSetUTCDate">
+ <testcase purpose="Check if getUTCDate value is equal to setUTCDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_checkEqualWithSetUTCDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_checkEqualWithSetUTCDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCFullYear value is equal to setUTCFullYear" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear">
+ <testcase purpose="Check if getUTCFullYear value is equal to setUTCFullYear" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCHours value is equal to setUTCHours" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_checkEqualWithSetUTCHours">
+ <testcase purpose="Check if getUTCHours value is equal to setUTCHours" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_checkEqualWithSetUTCHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_checkEqualWithSetUTCHours.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCMilliseconds value is equal to setUTCMilliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds">
+ <testcase purpose="Check if getUTCMilliseconds value is equal to setUTCMilliseconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCMinutes value is equal to setUTCMinutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes">
+ <testcase purpose="Check if getUTCMinutes value is equal to setUTCMinutes" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCMonth value is equal to setUTCMonth" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_checkEqualWithSetUTCMonth">
+ <testcase purpose="Check if getUTCMonth value is equal to setUTCMonth" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_checkEqualWithSetUTCMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_checkEqualWithSetUTCMonth.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if getUTCSeconds value is equal to getUTCSeconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds">
+ <testcase purpose="Check if getUTCSeconds value is equal to getUTCSeconds" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method addDuration of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_addDuration">
+ <testcase purpose="Check if method TZDate::addDuration() works properly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_addDuration">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument addDuration conversions exception." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_duration_TypeMismatch">
+ <testcase purpose="Check if TZDate::addDuration() throws exception when duration argument has wrong type" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_duration_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_duration_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument validation in addDuration method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_duration_invalid_obj">
+ <testcase purpose="Check if TZDate::addDuration() throws exception when duration is regular object" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_duration_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_duration_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDuration method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_addDuration_exist">
+ <testcase purpose="Check if addDuration() method exists in TimeManager" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_addDuration_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if addDuration method with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_missarg">
+ <testcase purpose="Check if TZDate::addDuration() method throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the maximal constructor of the TZDate interface is defined or not." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_maximal_with_nonoptional_arguments">
+ <testcase purpose="Test whether TZDate(y, m, d, h, m, s, m, timezone) constructor works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_maximal_with_nonoptional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_nonoptional_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the maximal constructor with optional arguments of the TZDate interface is defined or not." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_maximal_with_optional_arguments">
+ <testcase purpose="Test whether TZDate(date, timezone) constructor works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_maximal_with_optional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the minimal constructor of the TZDate interface is defined or not." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_minimal_with_nonoptional_arguments">
+ <testcase purpose="Test whether TZDate(y, m, d) constructor works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_minimal_with_nonoptional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_minimal_with_nonoptional_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the maximal constructor without optional arguments of the TZDate interface is defined or not." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_minimal_without_optional_arguments">
+ <testcase purpose="Test whether TZDate() constructor without arguments works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_constructor_minimal_without_optional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_minimal_without_optional_arguments.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method difference of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_difference">
+ <testcase purpose="Check if TZDate::difference() method works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_difference">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if difference method exists in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_difference_exist">
+ <testcase purpose="Check if difference() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_difference_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if difference method with missing non-optional argument works in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_missarg">
+ <testcase purpose="Check if TZDate::difference() throws exception with missing missing mandatory argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument difference conversions exception in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::difference() throws exception when other has wrong type" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_other_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument validation in difference method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_other_invalid_obj">
+ <testcase purpose="Check if TZDate::difference() throws exception when other is regural object" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_difference_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_other_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method earlierThan of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_earlierThan">
+ <testcase purpose="Check if TZDate::earlierThan() method works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_earlierThan">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if earlierThan method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_earlierThan_exist">
+ <testcase purpose="Check if earlierThan() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_earlierThan_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if earlierThan method with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_missarg">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument earlierThan conversions exception." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception when other has wrong type" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_other_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument validation in earlierThan method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_other_invalid_obj">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception when other is regular object" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_earlierThan_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_other_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method equalsTo of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_equalsTo">
+ <testcase purpose="Check if TZDate::equalsTo() method works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_equalsTo">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if equalsTo method exists in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_equalsTo_exist">
+ <testcase purpose="Check if equalsTo() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_equalsTo_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if equalsTo method with missing non-optional argument works in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_missarg">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception with missing mandatory argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument equalsTo conversions exception in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception when other has wrong type" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_other_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument validation in equalsTo method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_other_invalid_obj">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception when other is regural object" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_equalsTo_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_other_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the constructor of the TZDate interface is defined or not." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P0" id="TZDate_exist">
+ <testcase purpose="Test whether the constructor of the TZDate interface is defined" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P0" id="TZDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether the TZDate object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TZDate_extend">
+ <testcase purpose="Test whether the TZDate object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TZDate_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDate of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate">
+ <testcase purpose="Check if TZDate::getDate() method returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getDate()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getDate() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getDate method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_exist">
+ <testcase purpose="Check if getDate() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDate of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_extra_argument">
+ <testcase purpose="Check if TZDate::getDate() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDate_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDay of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay">
+ <testcase purpose="Check if TZDate::getDay() method returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getDay()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getDay() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getDay method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_exist">
+ <testcase purpose="Check if getDay() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDay of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_extra_argument">
+ <testcase purpose="Check if TZDate::getDay() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getDay_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getFullYear of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear">
+ <testcase purpose="Check if TZDate::getFullYear() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getFullYear()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getFullYear() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getFullYear method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_exist">
+ <testcase purpose="Check if getFullYear() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getFullYear of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_extra_argument">
+ <testcase purpose="Check if TZDate::getFullYear() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getFullYear_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getHours of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours">
+ <testcase purpose="Check if TZDate::getHours() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getHours()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getHours() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getHours method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_exist">
+ <testcase purpose="Check if TZDate::getHours() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getHours of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_extra_argument">
+ <testcase purpose="Check if TZDate::getHours() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getHours_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMilliseconds of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds">
+ <testcase purpose="Check if TZDate::getMilliseconds() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getMilliseconds()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMilliseconds() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getMilliseconds method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_exist">
+ <testcase purpose="Check if getMilliseconds() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMilliseconds of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_extra_argument">
+ <testcase purpose="Check if TZDate::getMilliseconds() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMilliseconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMinutes of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes">
+ <testcase purpose="Check if TZDate::getMinutes() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getMinutes()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMinutes() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getMinutes method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_exist">
+ <testcase purpose="Check if getMinutes() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMinutes of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_extra_argument">
+ <testcase purpose="Check if TZDate::getMinutes() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMinutes_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMonth of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth">
+ <testcase purpose="Check if TZDate::getMonth() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getMonth()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMonth() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getMonth method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_exist">
+ <testcase purpose="Check if getMonth() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getMonth of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_extra_argument">
+ <testcase purpose="Check if TZDate::getMonth() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getMonth_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getNextDSTTransition of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition">
+ <testcase purpose="Check if TZDate::getNextDSTTransition() returns a either date or null" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getNextDSTTransition method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition_exist">
+ <testcase purpose="Check if getNextDSTTransition() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getNextDSTTransition of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition_extra_argument">
+ <testcase purpose="Check if TZDate::getNextDSTTransition() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getNextDSTTransition_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getPreviousDSTTransition of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition">
+ <testcase purpose="Check if TZDate::getPreviousDSTTransition() returns a either date or null" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getPreviousDSTTransition method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition_exist">
+ <testcase purpose="Check if getPreviousDSTTransition() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getPreviousDSTTransition of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition_extra_argument">
+ <testcase purpose="Check if TZDate::getPreviousDSTTransition() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getPreviousDSTTransition_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getSeconds of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds">
+ <testcase purpose="Check if TZDate::getSeconds() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getSeconds()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getSeconds() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getSeconds method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_exist">
+ <testcase purpose="Check if getSeconds() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getSeconds of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_extra_argument">
+ <testcase purpose="Check if TZDate::getSeconds() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getSeconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getTimezone of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone">
+ <testcase purpose="Check if TZDate::getTimezone() returns a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getTimezoneAbbreviation of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation">
+ <testcase purpose="Check if TZDate::getTimezoneAbbreviation() returns a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getTimezoneAbbreviation method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_exist">
+ <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getTimezoneAbbreviation of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_extra_argument">
+ <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezoneAbbreviation_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getTimezone()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_for_specific_timezone">
+ <testcase purpose="Check whether Tizen.TZDate.getTimezone() for specific timezone" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_for_specific_timezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_for_specific_timezone.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getTimezone method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_exist">
+ <testcase purpose="Check if getTimezone() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getTimezone of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_extra_argument">
+ <testcase purpose="Check if TZDate::getTimezone() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getTimezone_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCDate of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate">
+ <testcase purpose="Check if TZDate::getUTCDate() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCDate()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCDate() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCDate method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_exist">
+ <testcase purpose="Check if getUTCDate() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCDate of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCDate() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDate_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCDay of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay">
+ <testcase purpose="Check if TZDate::getUTCDay() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCDay()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCDay() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCDay method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_exist">
+ <testcase purpose="Check if getUTCDay() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCDay of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCDay() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCDay_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCFullYear of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear">
+ <testcase purpose="Check if TZDate::getUTCFullYear() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCFullYear()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCFullYear() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCFullYear method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_exist">
+ <testcase purpose="Check if getUTCFullYear() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCFullYear of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCFullYear() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCFullYear_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCHours of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours">
+ <testcase purpose="Check if TZDate::getUTCHours() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCHours()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCHours() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCHours method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_exist">
+ <testcase purpose="Check if getUTCHours() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCHours of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_extra_argument">
+ <testcase purpose="Check if method TZDate::getUTCHours() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCHours_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMilliseconds of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds">
+ <testcase purpose="Check if TZDate::getUTCMilliseconds() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMilliseconds()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMilliseconds() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCMilliseconds method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_exist">
+ <testcase purpose="Check if getUTCMilliseconds() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMilliseconds of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMilliseconds() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMilliseconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMinutes of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes">
+ <testcase purpose="Check if TZDate::getUTCMinutes() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMinutes()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMinutes() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCMinutes method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_exist">
+ <testcase purpose="Check if getUTCMinutes() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMinutes of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMinutes() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMinutes_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMonth of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth">
+ <testcase purpose="Check if TZDate::getUTCMonth() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMonth()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMonth() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCMonth method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_exist">
+ <testcase purpose="Check if getUTCMonth() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCMonth of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMonth() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCMonth_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCSeconds of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds">
+ <testcase purpose="Check if TZDate::getUTCSeconds() returns valid number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCSeconds()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCSeconds() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if getUTCSeconds method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_exist">
+ <testcase purpose="Check if getUTCSeconds() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getUTCSeconds of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCSeconds() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_getUTCSeconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method isDST of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST">
+ <testcase purpose="Check if TZDate::isDST() method returns boolean" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.isDST()" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.isDST() for specific date" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if isDST method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_exist">
+ <testcase purpose="Check if isDST() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method isDST of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_extra_argument">
+ <testcase purpose="Check if TZDate::isDST() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_isDST_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method laterThan of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan">
+ <testcase purpose="Check if TZDate::laterThan() method returns that current date after 2013-03-04" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument null validation in laterThan method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan_with_null">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other is null" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan_with_null">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_with_null.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if laterThan method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan_exist">
+ <testcase purpose="Check if TZDate::laterThan() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_laterThan_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if laterThan method with missing non-optional argument works" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_missarg">
+ <testcase purpose="Check if TZDate::laterThan() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument laterThan conversions exception." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other has wrong type" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_other_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check argument validation in laterThan method in TZDate." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_other_invalid_obj">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other is regular object" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_laterThan_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_other_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method secondsFromUTC of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC">
+ <testcase purpose="Check if TZDate::secondsFromUTC() returns number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_for_specific_date">
+ <testcase purpose="Check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if secondsFromUTC method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_exist">
+ <testcase purpose="Check if secondsFromUTC() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method secondsFromUTC of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_extra_argument">
+ <testcase purpose="Check if TZDate::secondsFromUTC() method accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_secondsFromUTC_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method setDate of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate">
+ <testcase purpose="Check if TZDate::setDate() method sets day of the month and returns nothing" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check various arguments for setDate() method" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate_for_specific_date">
+ <testcase purpose="Check various arguments for setDate() method" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if setDate method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate_exist">
+ <testcase purpose="Check if setDate() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method setFullYear of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setFullYear">
+ <testcase purpose="Check if TZDate::setFullYear() method sets year and returns nothing" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setFullYear.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if setFullYear method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setFullYear_exist">
+ <testcase purpose="Check if setFullYear() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setFullYear_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method setHours of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setHours">
+ <testcase purpose="Check if TZDate::setHours() method sets hour and returns nothing" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setHours.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if setHours method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setHours_exist">
+ <testcase purpose="Check if setHours() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setHours_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method setMilliseconds of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setMilliseconds">
+ <testcase purpose="Check if TZDate::setMilliseconds() method sets milliseconds and returns nothing" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setMilliseconds.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if setMilliseconds method exists in TimeManager." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setMilliseconds_exist">
+ <testcase purpose="Check if setMilliseconds() method exists in TZDate" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_setMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setMilliseconds_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toDateString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toDateString">
+ <testcase purpose="Check if TZDate::ToDateString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toDateString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toDateString() method correctly returns the date portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toDateString_for_specific_date">
+ <testcase purpose="Check whether toDateString() method correctly returns the date portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toDateString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toDateString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="tizen.TZDate.toLocalTimezone (null) WRONG argument(s)" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocalTimezone_for_specific_date">
+ <testcase purpose="Tizen.TZDate.toLocalTimezone (null) WRONG argument(s)" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocalTimezone_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocalTimezone_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toLocaleDateString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleDateString">
+ <testcase purpose="Check if TZDate::ToLocaleDateString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleDateString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleDateString_for_specific_date">
+ <testcase purpose="Check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleDateString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleDateString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toLocaleString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleString">
+ <testcase purpose="Check if TZDate::ToLocaleString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleString_for_specific_date">
+ <testcase purpose="Check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toLocaleTimeString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleTimeString">
+ <testcase purpose="Check if TZDate::ToLocaleTimeString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleTimeString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleTimeString_for_specific_date">
+ <testcase purpose="Check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toLocaleTimeString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleTimeString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toString">
+ <testcase purpose="Check if TZDate::ToString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toString() method converts a TZDate object to a string correctly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toString_for_specific_date">
+ <testcase purpose="toString() method converts a TZDate object to a string correctly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toTimeString of TZDate works properly." type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString">
+ <testcase purpose="Check if TZDate::ToTimeString() method returns non-empty string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether toTimeString() method correctly returns the time portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString_for_specific_date">
+ <testcase purpose="Check whether toTimeString() method correctly returns the time portion of a TZDate object as a string" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toTimeString of TZDate accepts extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString_extra_argument">
+ <testcase purpose="Check whether Tizen.TZDate.getMonth() extra argument" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TZDate_toTimeString_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if difference method with missing non-optional argument works in TimeDuration " type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TimeDuration_difference_missarg">
+ <testcase purpose="Check if difference method with missing non-optional argument works in TimeDuration" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TimeDuration_difference_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_difference_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether TimeDuration the object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TimeDuration_extend">
+ <testcase purpose="Test whether TimeDuration the object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TimeDuration_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check attribute length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_length_attribute">
+ <testcase purpose="Check existent and type attribute length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_length_attribute">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_length_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check attribute unit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_unit_attribute">
+ <testcase purpose="Check existent and type attribute unit" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeDuration_unit_attribute">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_unit_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether the TimeManager object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TimeUtil_extend">
+ <testcase purpose="Test whether the TimeManager object can have new attribute added" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="TimeUtil_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether getCurrentDateTime() method returns the current date / time correctly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getCurrentDateTime_instanceof">
+ <testcase purpose="Check whether getCurrentDateTime() method returns the current date / time correctly" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P1" id="TimeUtil_getCurrentDateTime_instanceof">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getCurrentDateTime_instanceof.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for invalid length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_invalidLength">
+ <testcase purpose="Check TZDate::addDuration() method called with invalid length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_invalidLength">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_invalidLength.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS and negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_negative">
+ <testcase purpose="Check addDuration method for unit DAYS and negative length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS counting for week" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_week">
+ <testcase purpose="Check addDuration method for unit DAYS adding week" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_week">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_week.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS counting for year" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_year">
+ <testcase purpose="Check addDuration method for unit DAYS adding year" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitDAYS_year">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_year.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit HOURS when more than one day" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitHOURS_moreThanOneDay">
+ <testcase purpose="Check addDuration method for unit HOURS adding 25 hours" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitHOURS_moreThanOneDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitHOURS_moreThanOneDay.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit HOURS and negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitHOURS_negative">
+ <testcase purpose="Check addDuration method for unit HOURS and negative length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitHOURS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitHOURS_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit MINS and complex Number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMINS_complexNum">
+ <testcase purpose="Check addDuration method for unit MINS and length of 5" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMINS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMINS_complexNum.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit MINS and negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMINS_negative">
+ <testcase purpose="Check addDuration method for unit MINS and negative length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMINS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMINS_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit MSECS and complex Number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMSECS_complexNum">
+ <testcase purpose="Check addDuration method for unit MSECS and length of 45" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMSECS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMSECS_complexNum.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit MSECS and negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMSECS_negative">
+ <testcase purpose="Check addDuration method for unit MSECS and negative length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitMSECS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMSECS_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit SECS and complex number" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitSECS_complexNum">
+ <testcase purpose="Check addDuration method for unit SECS and length of 45" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitSECS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitSECS_complexNum.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="Check addDuration method for unit SECS and negative" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitSECS_negative">
+ <testcase purpose="Check addDuration method for unit SECS and negative length" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P2" id="TZDate_addDuration_unitSECS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitSECS_negative.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check attribute time" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="Time_in_tizen">
+ <testcase purpose="Check existent and type attribute time" type="compliance" status="approved" component="TizenAPI/System/Time" execution_type="auto" priority="P3" id="Time_in_tizen">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_in_tizen.html</test_script_entry>
</description>
<test_definition>
<suite name="tct-time-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Time">
- <testcase purpose="Time_TZDate_toLocaleDateString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleDateString">
+ <testcase purpose="Check if TZDate::ToLocaleDateString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleDateString.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getUTCMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toUTC" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toUTC">
+ <testcase purpose="Check if TZDate::toUTC() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toUTC">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toUTC.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_secondsFromUTC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toLocaleString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleString">
+ <testcase purpose="Check if TZDate::ToLocaleString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleString.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCFullYear_normal.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setFullYear_normal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setFullYear_normal">
+ <testcase purpose="Check if TZDate.setFullYear_normal() works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setFullYear_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setFullYear_normal.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMilliseconds_normal.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toDateString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toDateString">
+ <testcase purpose="Check if TZDate::ToDateString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toDateString.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getTimezone.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toTimeString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimeString">
+ <testcase purpose="Check if TZDate::ToTimeString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimeString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toString">
+ <testcase purpose="Check if TZDate::ToString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toString.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getDay.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_normal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_normal">
+ <testcase purpose="Check if TZDate.setUTCMonth() works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_normal.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getUTCMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone">
+ <testcase purpose="Check if TZDate::toTimezone() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_isDST_true.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_normal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_normal">
+ <testcase purpose="Check if TZDate.setUTCSeconds() works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_normal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_normal.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getUTCDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toLocaleTimeString" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleTimeString">
+ <testcase purpose="Check if TZDate::ToLocaleTimeString() method returns string" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toLocaleTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toLocaleTimeString.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMilliseconds_invalidMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMinutes_abnormalDecimal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMinutes_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCMinutes() called with decimal don't set the milliseconds" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMinutes_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMinutes_abnormalDecimal.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMinutes_invalidMinutes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_abnormalDecimal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with decimal don't set the milliseconds" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_abnormalDecimal.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with value greater than upper limit don't set the minutes" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryBiggerThanUpper">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryBiggerThanUpper.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryLessThanLower" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryLessThanLower">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with number less than lower boundary doesn't set the date" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryLessThanLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryLessThanLower.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryLowerLimit" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryLowerLimit">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with lowest value possible works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryLowerLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryLowerLimit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_boundaryUpperLimit" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryUpperLimit">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with highest value possible works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_boundaryUpperLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_boundaryUpperLimit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCMonth_invalidMonth" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_invalidMonth">
+ <testcase purpose="Check if TZDate.setUTCMonth() called with invalid string argument don't set the month" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCMonth_invalidMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCMonth_invalidMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_abnormalDecimal" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_abnormalDecimal">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with decimal don't set the milliseconds" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_abnormalDecimal">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_abnormalDecimal.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with value greater than upper limit don't set the minutes" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryLessThanLower" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryLessThanLower">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with number less than lower boundary doesn't set the date" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryLessThanLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryLessThanLower.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryLowerLimit" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryLowerLimit">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with lowest value possible works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryLowerLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryLowerLimit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_boundaryUpperLimit" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryUpperLimit">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with highest value possible works properly" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_boundaryUpperLimit">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_boundaryUpperLimit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_setUTCSeconds_invalidSeconds" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_invalidSeconds">
+ <testcase purpose="Check if TZDate.setUTCSeconds() called with invalid string argument don't set the seconds" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_setUTCSeconds_invalidSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_setUTCSeconds_invalidSeconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone_invalid" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone_invalid">
+ <testcase purpose="Check if TZDate::toTimezone(invalid) method reports error" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone_invalid">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Time_TZDate_toTimezone_null" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone_null">
+ <testcase purpose="Check if TZDate::toTimezone(null) method reports error" component="TizenAPI/System/Time" execution_type="auto" id="Time_TZDate_toTimezone_null">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_toTimezone_null.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_getNextDSTTransition_number.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check difference method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_difference_checkDurationDifference">
+ <testcase purpose="Check difference method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_difference_checkDurationDifference">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_difference_checkDurationDifference.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check equalsTo method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_equalsTo_checkDurationEqual">
+ <testcase purpose="Check equalsTo method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_equalsTo_checkDurationEqual">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_equalsTo_checkDurationEqual.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check lessThan method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_lessThan_checkDurationLower">
+ <testcase purpose="Check lessThan method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_lessThan_checkDurationLower">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_lessThan_checkDurationLower.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check greaterThan method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_greaterThan_checkDurationGreater">
+ <testcase purpose="Check greaterThan method TimeDuration interface works successfully" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_greaterThan_checkDurationGreater">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_greaterThan_checkDurationGreater.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if date format is valid" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getDateFormat_valid">
+ <testcase purpose="Check if date format is valid" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getDateFormat_valid">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getDateFormat_valid.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check TimeUtil interface isLeapYear method with parameter zero" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_isLeapYear_allZero">
+ <testcase purpose="Check TimeUtil interface isLeapYear method with parameter zero" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_isLeapYear_allZero">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_isLeapYear_allZero.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check TimeUtil interface isLeapYear method with parameter negative" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_isLeapYear_negative">
+ <testcase purpose="Check TimeUtil interface isLeapYear method with parameter negative" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_isLeapYear_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_isLeapYear_negative.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check EuropeBerlin is included in available timezones" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getAvailableTimezones_checkEuropeBerlin">
+ <testcase purpose="Check EuropeBerlin is included in available timezones" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getAvailableTimezones_checkEuropeBerlin">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getAvailableTimezones_checkEuropeBerlin.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getDate value is equal to setDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_checkEqualWithSetDate">
+ <testcase purpose="Check if getDate value is equal to setDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_checkEqualWithSetDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_checkEqualWithSetDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getFullYear value is equal to setFullYear" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_checkEqualWithSetFullYear">
+ <testcase purpose="Check if getFullYear value is equal to setFullYear" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_checkEqualWithSetFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_checkEqualWithSetFullYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getHours value is equal to setHours" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_checkEqualWithSetHours">
+ <testcase purpose="Check if getHours value is equal to setHours" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_checkEqualWithSetHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_checkEqualWithSetHours.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getMilliseconds value is equal to setMilliseconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_checkEqualWithSetMilliseconds">
+ <testcase purpose="Check if getMilliseconds value is equal to setMilliseconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_checkEqualWithSetMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_checkEqualWithSetMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getMinutes value is equal to setMinutes" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_checkEqualWithSetMinutes">
+ <testcase purpose="Check if getMinutes value is equal to setMinutes" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_checkEqualWithSetMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_checkEqualWithSetMinutes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getMonth value is equal to setMonth" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_checkEqualWithSetMonth">
+ <testcase purpose="Check if getMonth value is equal to setMonth" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_checkEqualWithSetMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_checkEqualWithSetMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getSeconds value is equal to setSeconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_checkEqualWithSetSeconds">
+ <testcase purpose="Check if getSeconds value is equal to setSeconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_checkEqualWithSetSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_checkEqualWithSetSeconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCDate value is equal to setUTCDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_checkEqualWithSetUTCDate">
+ <testcase purpose="Check if getUTCDate value is equal to setUTCDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_checkEqualWithSetUTCDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_checkEqualWithSetUTCDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCFullYear value is equal to setUTCFullYear" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear">
+ <testcase purpose="Check if getUTCFullYear value is equal to setUTCFullYear" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCHours value is equal to setUTCHours" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_checkEqualWithSetUTCHours">
+ <testcase purpose="Check if getUTCHours value is equal to setUTCHours" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_checkEqualWithSetUTCHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_checkEqualWithSetUTCHours.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCMilliseconds value is equal to setUTCMilliseconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds">
+ <testcase purpose="Check if getUTCMilliseconds value is equal to setUTCMilliseconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCMinutes value is equal to setUTCMinutes" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes">
+ <testcase purpose="Check if getUTCMinutes value is equal to setUTCMinutes" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCMonth value is equal to setUTCMonth" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_checkEqualWithSetUTCMonth">
+ <testcase purpose="Check if getUTCMonth value is equal to setUTCMonth" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_checkEqualWithSetUTCMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_checkEqualWithSetUTCMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if getUTCSeconds value is equal to getUTCSeconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds">
+ <testcase purpose="Check if getUTCSeconds value is equal to getUTCSeconds" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method addDuration of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration">
+ <testcase purpose="Check if method TZDate::addDuration() works properly" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument addDuration conversions exception." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_duration_TypeMismatch">
+ <testcase purpose="Check if TZDate::addDuration() throws exception when duration argument has wrong type" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_duration_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_duration_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument validation in addDuration method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_duration_invalid_obj">
+ <testcase purpose="Check if TZDate::addDuration() throws exception when duration is regular object" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_duration_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_duration_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDuration method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_exist">
+ <testcase purpose="Check if addDuration() method exists in TimeManager" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if addDuration method with missing non-optional argument works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_missarg">
+ <testcase purpose="Check if TZDate::addDuration() method throws exception with missing mandatory argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the maximal constructor of the TZDate interface is defined or not." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_maximal_with_nonoptional_arguments">
+ <testcase purpose="Test whether TZDate(y, m, d, h, m, s, m, timezone) constructor works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_maximal_with_nonoptional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_nonoptional_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the maximal constructor with optional arguments of the TZDate interface is defined or not." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_maximal_with_optional_arguments">
+ <testcase purpose="Test whether TZDate(date, timezone) constructor works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_maximal_with_optional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the minimal constructor of the TZDate interface is defined or not." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_minimal_with_nonoptional_arguments">
+ <testcase purpose="Test whether TZDate(y, m, d) constructor works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_minimal_with_nonoptional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_minimal_with_nonoptional_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the maximal constructor without optional arguments of the TZDate interface is defined or not." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_minimal_without_optional_arguments">
+ <testcase purpose="Test whether TZDate() constructor without arguments works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_constructor_minimal_without_optional_arguments">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_constructor_minimal_without_optional_arguments.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method difference of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference">
+ <testcase purpose="Check if TZDate::difference() method works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if difference method exists in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_exist">
+ <testcase purpose="Check if difference() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if difference method with missing non-optional argument works in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_missarg">
+ <testcase purpose="Check if TZDate::difference() throws exception with missing missing mandatory argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument difference conversions exception in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::difference() throws exception when other has wrong type" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_other_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument validation in difference method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_other_invalid_obj">
+ <testcase purpose="Check if TZDate::difference() throws exception when other is regural object" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_difference_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_difference_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method earlierThan of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan">
+ <testcase purpose="Check if TZDate::earlierThan() method works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if earlierThan method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_exist">
+ <testcase purpose="Check if earlierThan() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if earlierThan method with missing non-optional argument works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_missarg">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception with missing mandatory argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument earlierThan conversions exception." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception when other has wrong type" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_other_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument validation in earlierThan method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_other_invalid_obj">
+ <testcase purpose="Check if TZDate::earlierThan() throws exception when other is regular object" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_earlierThan_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_earlierThan_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method equalsTo of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo">
+ <testcase purpose="Check if TZDate::equalsTo() method works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if equalsTo method exists in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_exist">
+ <testcase purpose="Check if equalsTo() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if equalsTo method with missing non-optional argument works in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_missarg">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception with missing mandatory argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument equalsTo conversions exception in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception when other has wrong type" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_other_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument validation in equalsTo method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_other_invalid_obj">
+ <testcase purpose="Check if TZDate::equalsTo() throws exception when other is regural object" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_equalsTo_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_equalsTo_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the constructor of the TZDate interface is defined or not." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_exist">
+ <testcase purpose="Test whether the constructor of the TZDate interface is defined" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether the TZDate object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_extend">
+ <testcase purpose="Test whether the TZDate object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getDate of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate">
+ <testcase purpose="Check if TZDate::getDate() method returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getDate()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getDate() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getDate method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_exist">
+ <testcase purpose="Check if getDate() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getDate of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_extra_argument">
+ <testcase purpose="Check if TZDate::getDate() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDate_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDate_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getDay of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay">
+ <testcase purpose="Check if TZDate::getDay() method returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getDay()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getDay() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getDay method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_exist">
+ <testcase purpose="Check if getDay() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getDay of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_extra_argument">
+ <testcase purpose="Check if TZDate::getDay() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getDay_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getDay_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getFullYear of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear">
+ <testcase purpose="Check if TZDate::getFullYear() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getFullYear()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getFullYear() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getFullYear method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_exist">
+ <testcase purpose="Check if getFullYear() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getFullYear of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_extra_argument">
+ <testcase purpose="Check if TZDate::getFullYear() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getFullYear_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getFullYear_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getHours of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours">
+ <testcase purpose="Check if TZDate::getHours() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getHours()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getHours() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getHours method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_exist">
+ <testcase purpose="Check if TZDate::getHours() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getHours of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_extra_argument">
+ <testcase purpose="Check if TZDate::getHours() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getHours_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getHours_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMilliseconds of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds">
+ <testcase purpose="Check if TZDate::getMilliseconds() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getMilliseconds()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMilliseconds() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getMilliseconds method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_exist">
+ <testcase purpose="Check if getMilliseconds() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMilliseconds of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_extra_argument">
+ <testcase purpose="Check if TZDate::getMilliseconds() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMilliseconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMilliseconds_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMinutes of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes">
+ <testcase purpose="Check if TZDate::getMinutes() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getMinutes()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMinutes() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getMinutes method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_exist">
+ <testcase purpose="Check if getMinutes() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMinutes of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_extra_argument">
+ <testcase purpose="Check if TZDate::getMinutes() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMinutes_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMinutes_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMonth of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth">
+ <testcase purpose="Check if TZDate::getMonth() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getMonth()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getMonth() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getMonth method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_exist">
+ <testcase purpose="Check if getMonth() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getMonth of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_extra_argument">
+ <testcase purpose="Check if TZDate::getMonth() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getMonth_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getMonth_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getNextDSTTransition of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition">
+ <testcase purpose="Check if TZDate::getNextDSTTransition() returns a either date or null" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getNextDSTTransition method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition_exist">
+ <testcase purpose="Check if getNextDSTTransition() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getNextDSTTransition of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition_extra_argument">
+ <testcase purpose="Check if TZDate::getNextDSTTransition() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getNextDSTTransition_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getNextDSTTransition_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getPreviousDSTTransition of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition">
+ <testcase purpose="Check if TZDate::getPreviousDSTTransition() returns a either date or null" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getPreviousDSTTransition method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition_exist">
+ <testcase purpose="Check if getPreviousDSTTransition() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getPreviousDSTTransition of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition_extra_argument">
+ <testcase purpose="Check if TZDate::getPreviousDSTTransition() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getPreviousDSTTransition_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getPreviousDSTTransition_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getSeconds of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds">
+ <testcase purpose="Check if TZDate::getSeconds() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getSeconds()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getSeconds() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getSeconds method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_exist">
+ <testcase purpose="Check if getSeconds() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getSeconds of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_extra_argument">
+ <testcase purpose="Check if TZDate::getSeconds() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getSeconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getSeconds_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getTimezone of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone">
+ <testcase purpose="Check if TZDate::getTimezone() returns a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getTimezoneAbbreviation of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation">
+ <testcase purpose="Check if TZDate::getTimezoneAbbreviation() returns a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getTimezoneAbbreviation method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation_exist">
+ <testcase purpose="Check if getTimezoneAbbreviation() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getTimezoneAbbreviation of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation_extra_argument">
+ <testcase purpose="Check if TZDate::getTimezoneAbbreviation() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezoneAbbreviation_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezoneAbbreviation_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getTimezone()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_for_specific_timezone">
+ <testcase purpose="Check whether Tizen.TZDate.getTimezone() for specific timezone" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_for_specific_timezone">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_for_specific_timezone.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getTimezone method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_exist">
+ <testcase purpose="Check if getTimezone() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getTimezone of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_extra_argument">
+ <testcase purpose="Check if TZDate::getTimezone() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getTimezone_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getTimezone_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCDate of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate">
+ <testcase purpose="Check if TZDate::getUTCDate() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCDate()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCDate() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCDate method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_exist">
+ <testcase purpose="Check if getUTCDate() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCDate of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCDate() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDate_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDate_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCDay of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay">
+ <testcase purpose="Check if TZDate::getUTCDay() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCDay()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCDay() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCDay method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_exist">
+ <testcase purpose="Check if getUTCDay() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCDay of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCDay() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCDay_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCDay_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCFullYear of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear">
+ <testcase purpose="Check if TZDate::getUTCFullYear() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCFullYear()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCFullYear() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCFullYear method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_exist">
+ <testcase purpose="Check if getUTCFullYear() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCFullYear of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCFullYear() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCFullYear_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCFullYear_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCHours of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours">
+ <testcase purpose="Check if TZDate::getUTCHours() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCHours()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCHours() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCHours method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_exist">
+ <testcase purpose="Check if getUTCHours() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCHours of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_extra_argument">
+ <testcase purpose="Check if method TZDate::getUTCHours() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCHours_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCHours_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMilliseconds of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds">
+ <testcase purpose="Check if TZDate::getUTCMilliseconds() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMilliseconds()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMilliseconds() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCMilliseconds method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_exist">
+ <testcase purpose="Check if getUTCMilliseconds() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMilliseconds of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMilliseconds() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMilliseconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMilliseconds_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMinutes of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes">
+ <testcase purpose="Check if TZDate::getUTCMinutes() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMinutes()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMinutes() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCMinutes method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_exist">
+ <testcase purpose="Check if getUTCMinutes() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMinutes of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMinutes() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMinutes_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMinutes_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMonth of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth">
+ <testcase purpose="Check if TZDate::getUTCMonth() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCMonth()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCMonth() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCMonth method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_exist">
+ <testcase purpose="Check if getUTCMonth() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCMonth of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCMonth() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCMonth_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCMonth_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCSeconds of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds">
+ <testcase purpose="Check if TZDate::getUTCSeconds() returns valid number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.getUTCSeconds()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.getUTCSeconds() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getUTCSeconds method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_exist">
+ <testcase purpose="Check if getUTCSeconds() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getUTCSeconds of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_extra_argument">
+ <testcase purpose="Check if TZDate::getUTCSeconds() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_getUTCSeconds_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_getUTCSeconds_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method isDST of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST">
+ <testcase purpose="Check if TZDate::isDST() method returns boolean" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.isDST()" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_for_specific_date">
+ <testcase purpose="Check whether Tizen.TZDate.isDST() for specific date" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if isDST method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_exist">
+ <testcase purpose="Check if isDST() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method isDST of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_extra_argument">
+ <testcase purpose="Check if TZDate::isDST() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_isDST_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_isDST_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method laterThan of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan">
+ <testcase purpose="Check if TZDate::laterThan() method returns that current date after 2013-03-04" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument null validation in laterThan method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_with_null">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other is null" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_with_null">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_with_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if laterThan method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_exist">
+ <testcase purpose="Check if TZDate::laterThan() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if laterThan method with missing non-optional argument works" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_missarg">
+ <testcase purpose="Check if TZDate::laterThan() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument laterThan conversions exception." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_other_TypeMismatch">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other has wrong type" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_other_TypeMismatch">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_other_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check argument validation in laterThan method in TZDate." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_other_invalid_obj">
+ <testcase purpose="Check if TZDate::laterThan() throws exception when other is regular object" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_laterThan_other_invalid_obj">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_laterThan_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method secondsFromUTC of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC">
+ <testcase purpose="Check if TZDate::secondsFromUTC() returns number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_for_specific_date">
+ <testcase purpose="Check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if secondsFromUTC method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_exist">
+ <testcase purpose="Check if secondsFromUTC() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method secondsFromUTC of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_extra_argument">
+ <testcase purpose="Check if TZDate::secondsFromUTC() method accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_secondsFromUTC_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_secondsFromUTC_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method setDate of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate">
+ <testcase purpose="Check if TZDate::setDate() method sets day of the month and returns nothing" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check various arguments for setDate() method" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate_for_specific_date">
+ <testcase purpose="Check various arguments for setDate() method" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate_for_specific_date.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if setDate method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate_exist">
+ <testcase purpose="Check if setDate() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setDate_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setDate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method setFullYear of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setFullYear">
+ <testcase purpose="Check if TZDate::setFullYear() method sets year and returns nothing" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setFullYear">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setFullYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if setFullYear method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setFullYear_exist">
+ <testcase purpose="Check if setFullYear() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setFullYear_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setFullYear_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method setHours of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setHours">
+ <testcase purpose="Check if TZDate::setHours() method sets hour and returns nothing" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setHours">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setHours.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if setHours method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setHours_exist">
+ <testcase purpose="Check if setHours() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setHours_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setHours_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method setMilliseconds of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setMilliseconds">
+ <testcase purpose="Check if TZDate::setMilliseconds() method sets milliseconds and returns nothing" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setMilliseconds">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setMilliseconds.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if setMilliseconds method exists in TimeManager." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setMilliseconds_exist">
+ <testcase purpose="Check if setMilliseconds() method exists in TZDate" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_setMilliseconds_exist">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setMilliseconds_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_setUTCSeconds_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toDateString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toDateString">
+ <testcase purpose="Check if TZDate::ToDateString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toDateString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toDateString() method correctly returns the date portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toDateString_for_specific_date">
+ <testcase purpose="Check whether toDateString() method correctly returns the date portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toDateString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toDateString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocalTimezone.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="tizen.TZDate.toLocalTimezone (null) WRONG argument(s)" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocalTimezone_for_specific_date">
+ <testcase purpose="Tizen.TZDate.toLocalTimezone (null) WRONG argument(s)" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocalTimezone_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocalTimezone_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocalTimezone_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toLocaleDateString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleDateString">
+ <testcase purpose="Check if TZDate::ToLocaleDateString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleDateString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleDateString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleDateString_for_specific_date">
+ <testcase purpose="Check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleDateString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleDateString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleDateString_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toLocaleString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleString">
+ <testcase purpose="Check if TZDate::ToLocaleString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleString_for_specific_date">
+ <testcase purpose="Check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleString_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toLocaleTimeString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleTimeString">
+ <testcase purpose="Check if TZDate::ToLocaleTimeString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleTimeString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleTimeString_for_specific_date">
+ <testcase purpose="Check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toLocaleTimeString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleTimeString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toLocaleTimeString_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toString">
+ <testcase purpose="Check if TZDate::ToString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toString() method converts a TZDate object to a string correctly" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toString_for_specific_date">
+ <testcase purpose="toString() method converts a TZDate object to a string correctly" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toString_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toTimeString of TZDate works properly." component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString">
+ <testcase purpose="Check if TZDate::ToTimeString() method returns non-empty string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether toTimeString() method correctly returns the time portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString_for_specific_date">
+ <testcase purpose="Check whether toTimeString() method correctly returns the time portion of a TZDate object as a string" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString_for_specific_date">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString_for_specific_date.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toTimeString of TZDate accepts extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString_extra_argument">
+ <testcase purpose="Check whether Tizen.TZDate.getMonth() extra argument" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_toTimeString_extra_argument">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_toTimeString_extra_argument.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_difference_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if difference method with missing non-optional argument works in TimeDuration " component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_difference_missarg">
+ <testcase purpose="Check if difference method with missing non-optional argument works in TimeDuration" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_difference_missarg">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_difference_missarg.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether TimeDuration the object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_extend">
+ <testcase purpose="Test whether TimeDuration the object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_extend.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_greaterThan_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check attribute length" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_length_attribute">
+ <testcase purpose="Check existent and type attribute length" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_length_attribute">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_length_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_lessThan_other_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check attribute unit" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_unit_attribute">
+ <testcase purpose="Check existent and type attribute unit" component="TizenAPI/System/Time" execution_type="auto" id="TimeDuration_unit_attribute">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeDuration_unit_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether the TimeManager object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_extend">
+ <testcase purpose="Test whether the TimeManager object can have new attribute added" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_extend">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_extend.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getCurrentDateTime.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether getCurrentDateTime() method returns the current date / time correctly" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getCurrentDateTime_instanceof">
+ <testcase purpose="Check whether getCurrentDateTime() method returns the current date / time correctly" component="TizenAPI/System/Time" execution_type="auto" id="TimeUtil_getCurrentDateTime_instanceof">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_getCurrentDateTime_instanceof.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TimeUtil_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for invalid length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_invalidLength">
+ <testcase purpose="Check TZDate::addDuration() method called with invalid length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_invalidLength">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_invalidLength.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS and negative" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_negative">
+ <testcase purpose="Check addDuration method for unit DAYS and negative length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_negative.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_one.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS counting for week" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_week">
+ <testcase purpose="Check addDuration method for unit DAYS adding week" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_week">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_week.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit DAYS counting for year" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_year">
+ <testcase purpose="Check addDuration method for unit DAYS adding year" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitDAYS_year">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitDAYS_year.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitHOURS.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit HOURS when more than one day" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitHOURS_moreThanOneDay">
+ <testcase purpose="Check addDuration method for unit HOURS adding 25 hours" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitHOURS_moreThanOneDay">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitHOURS_moreThanOneDay.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit HOURS and negative" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitHOURS_negative">
+ <testcase purpose="Check addDuration method for unit HOURS and negative length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitHOURS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitHOURS_negative.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMINS.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit MINS and complex Number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMINS_complexNum">
+ <testcase purpose="Check addDuration method for unit MINS and length of 5" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMINS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMINS_complexNum.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit MINS and negative" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMINS_negative">
+ <testcase purpose="Check addDuration method for unit MINS and negative length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMINS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMINS_negative.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMSECS.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit MSECS and complex Number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMSECS_complexNum">
+ <testcase purpose="Check addDuration method for unit MSECS and length of 45" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMSECS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMSECS_complexNum.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit MSECS and negative" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMSECS_negative">
+ <testcase purpose="Check addDuration method for unit MSECS and negative length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitMSECS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitMSECS_negative.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitSECS.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit SECS and complex number" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitSECS_complexNum">
+ <testcase purpose="Check addDuration method for unit SECS and length of 45" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitSECS_complexNum">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitSECS_complexNum.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check addDuration method for unit SECS and negative" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitSECS_negative">
+ <testcase purpose="Check addDuration method for unit SECS and negative length" component="TizenAPI/System/Time" execution_type="auto" id="TZDate_addDuration_unitSECS_negative">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/TZDate_addDuration_unitSECS_negative.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_TZDate_difference_compareWithPastYear.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check attribute time" component="TizenAPI/System/Time" execution_type="auto" id="Time_in_tizen">
+ <testcase purpose="Check existent and type attribute time" component="TizenAPI/System/Time" execution_type="auto" id="Time_in_tizen">
<description>
<test_script_entry>/opt/tct-time-tizen-tests/time/Time_in_tizen.html</test_script_entry>
</description>
<head>
<title>TZDate_addDuration</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>
<script>
//==== TEST: TZDate_addDuration
-//==== LABEL: Check if method addDuration of TZDate works properly.
+//==== LABEL Check if method TZDate::addDuration() works properly
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
returnedValue = currentTZDate.addDuration(duration);
assert_equals(returnedValue.getDate(), 9, "returnedValue.getDay() check");
assert_true(returnedValue instanceof tizen.TZDate, "TZDate check");
-}, "TZDate_addDuration");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_duration_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_duration_TypeMismatch
-//==== LABEL: Check argument addDuration conversions exception.
+//==== LABEL Check if TZDate::addDuration() throws exception when duration argument has wrong type
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
duration = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTZDate.addDuration(duration);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-}, "TZDate_addDuration_duration_TypeMismatch");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_duration_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_duration_invalid_obj
-//==== LABEL: Check argument validation in addDuration method in TZDate.
+//==== LABEL Check if TZDate::addDuration() throws exception when duration is regular object
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTimeDuration[0] = {length: 2, unit: "MINS"};
currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.addDuration(currentTimeDuration[0]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TZDate_addDuration_duration_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_exist
-//==== LABEL: Check if addDuration method exists in TimeManager.
+//==== LABEL Check if addDuration() method exists in TimeManager
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("addDuration" in currentTZDate, "addDuration method exists");
check_method_exists(currentTZDate, "addDuration");
-}, "TZDate_addDuration_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_invalidLength</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_invalidLength
-//==== LABEL: Check addDuration method for invalid length
+//==== LABEL Check TZDate::addDuration() method called with invalid length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 4.5, f_unit: "HOURS", diff_length: -14400000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 4.5, f_unit: "HOURS", diff_length: -14400000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_invalidLength");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_missarg
-//==== LABEL: Check if addDuration method with missing non-optional argument works
+//==== LABEL Check if TZDate::addDuration() method throws exception with missing mandatory argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.addDuration();
});
-}, "TZDate_addDuration_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitDAYS_negative</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitDAYS_negative
-//==== LABEL: Check addDuration method for unit DAYS and negative
+//==== LABEL Check addDuration method for unit DAYS and negative length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: -1, f_unit: "DAYS", diff_length: 1, diff_unit: "DAYS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: -1, f_unit: "DAYS", diff_length: 1, diff_unit: "DAYS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitDAYS_negative");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitDAYS_one</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitDAYS_one
-//==== LABEL: Check addDuration method for unit DAYS and one day
+//==== LABEL Check addDuration method for unit DAYS and one day
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 1, f_unit: "DAYS", diff_length: -1, diff_unit: "DAYS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 1, f_unit: "DAYS", diff_length: -1, diff_unit: "DAYS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitDAYS_year");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitDAYS_week</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitDAYS_week
-//==== LABEL: Check addDuration method for unit DAYS counting for week
+//==== LABEL Check addDuration method for unit DAYS adding week
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 7, f_unit: "DAYS", diff_length: -7, diff_unit: "DAYS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 7, f_unit: "DAYS", diff_length: -7, diff_unit: "DAYS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitDAYS_week");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitDAYS_year</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitDAYS_year
-//==== LABEL: Check addDuration method for unit DAYS counting for year
+//==== LABEL Check addDuration method for unit DAYS adding year
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 365, f_unit: "DAYS", diff_length: -365, diff_unit: "DAYS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 365, f_unit: "DAYS", diff_length: -365, diff_unit: "DAYS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitDAYS_year");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitHOURS</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitHOURS
-//==== LABEL: Check addDuration method for unit HOURS
+//==== LABEL Check addDuration method for unit HOURS
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 2, f_unit: "HOURS", diff_length: -7200000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 2, f_unit: "HOURS", diff_length: -7200000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitHOURS");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitHOURS_moreThanOneDay</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitHOURS_moreThanOneDay
-//==== LABEL: Check addDuration method for unit HOURS when more than one day
+//==== LABEL Check addDuration method for unit HOURS adding 25 hours
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 25, f_unit: "HOURS", diff_length: -90000000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 25, f_unit: "HOURS", diff_length: -90000000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitHOURS_moreThanOneDay");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitHOURS_negative</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitHOURS_negative
-//==== LABEL: Check addDuration method for unit HOURS and negative
+//==== LABEL Check addDuration method for unit HOURS and negative length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: -1, f_unit: "HOURS", diff_length: 3600000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: -1, f_unit: "HOURS", diff_length: 3600000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitHOURS_negative");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMINS</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMINS
-//==== LABEL: Check addDuration method for unit MINS
+//==== LABEL Check addDuration method for unit MINS
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 1, f_unit: "MINS", diff_length: -60000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 1, f_unit: "MINS", diff_length: -60000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMINS");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMINS_complexNum</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMINS_complexNum
-//==== LABEL: Check addDuration method for unit MINS and complex Number
+//==== LABEL Check addDuration method for unit MINS and length of 5
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 5, f_unit: "MINS", diff_length: -300000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 5, f_unit: "MINS", diff_length: -300000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMINS_complexNum");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMINS_negative</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMINS_negative
-//==== LABEL: Check addDuration method for unit MINS and negative
+//==== LABEL Check addDuration method for unit MINS and negative length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: -1, f_unit: "MINS", diff_length: 60000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: -1, f_unit: "MINS", diff_length: 60000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMINS_negative");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMSECS</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMSECS
-//==== LABEL: Check addDuration method for unit MSECS
+//==== LABEL Check addDuration method for unit MSECS
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 1, f_unit: "MSECS", diff_length: -1, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 1, f_unit: "MSECS", diff_length: -1, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMSECS");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMSECS_complexNum</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMSECS_complexNum
-//==== LABEL: Check addDuration method for unit MSECS and complex Number
+//==== LABEL Check addDuration method for unit MSECS and length of 45
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 45, f_unit: "MSECS", diff_length: -45, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 45, f_unit: "MSECS", diff_length: -45, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMSECS_complexNum");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitMSECS_negative</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitMSECS_negative
-//==== LABEL: Check addDuration method for unit MSECS and negative
+//==== LABEL Check addDuration method for unit MSECS and negative length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: -1, f_unit: "MSECS", diff_length: 1, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: -1, f_unit: "MSECS", diff_length: 1, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitMSECS_negative");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitSECS</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitSECS
-//==== LABEL: Check addDuration method for unit SECS
+//==== LABEL Check addDuration method for unit SECS
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 1, f_unit: "SECS", diff_length: -1000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 1, f_unit: "SECS", diff_length: -1000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitSECS");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitSECS_complexNum</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitSECS_complexNum
-//==== LABEL: Check addDuration method for unit SECS and complex number
+//==== LABEL Check addDuration method for unit SECS and length of 45
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: 45, f_unit: "SECS", diff_length: -45000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: 45, f_unit: "SECS", diff_length: -45000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitSECS_complexNum");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_addDuration_unitSECS_negative</title>
<script type="text/javascript" src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_addDuration_unitSECS_negative
-//==== LABEL: Check addDuration method for unit SECS and negative
+//==== LABEL Check addDuration method for unit SECS and negative length
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:addDuration M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
-var diff, TimeTesting, tz, tdur, tzAfterAdd;
-TimeTesting = {f_value: -1, f_unit: "SECS", diff_length: 1000, diff_unit: "MSECS"};
+var diff, timeTesting, tz, tdur, tzAfterAdd;
+timeTesting = {f_value: -1, f_unit: "SECS", diff_length: 1000, diff_unit: "MSECS"};
test(function () {
tz = tizen.time.getCurrentDateTime();
- tdur = new tizen.TimeDuration(TimeTesting.f_value, TimeTesting.f_unit);
+ tdur = new tizen.TimeDuration(timeTesting.f_value, timeTesting.f_unit);
tzAfterAdd = tz.addDuration(tdur);
diff = tz.difference(tzAfterAdd);
- assert_equals(diff.length, TimeTesting.diff_length, "TimeDuration: wrong length difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
- assert_equals(diff.unit, TimeTesting.diff_unit, "TimeDuration: wrong unit difference for " + TimeTesting.f_value + " " + TimeTesting.f_unit);
-}, "TZDate_addDuration_unitSECS_negative");
+ assert_equals(diff.length, timeTesting.diff_length, "TimeDuration: wrong length difference for " +
+ timeTesting.f_value + " " + timeTesting.f_unit);
+ assert_equals(diff.unit, timeTesting.diff_unit, "TimeDuration: wrong unit difference for " + timeTesting.f_value + " " + timeTesting.f_unit);
+}, document.title);
</script>
</body>
<head>
<title>TZDate_constructor_maximal_with_nonoptional_arguments</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_constructor_maximal_with_nonoptional_arguments
-//==== LABEL: Test whether the maximal constructor of the TZDate interface is defined or not.
+//==== LABEL Test whether TZDate(y, m, d, h, m, s, m, timezone) constructor works
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
assert_equals(tzdate.getSeconds(), 12, "seconds check");
assert_equals(tzdate.getMilliseconds(), 100, "milliseconds check");
assert_equals(tzdate.getTimezone(), "Europe/Berlin", "timezone check");
-}, "TZDate_constructor_maximal_with_nonoptional_arguments");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_constructor_maximal_with_optional_arguments</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_constructor_maximal_with_optional_arguments
-//==== LABEL: Test whether the maximal constructor with optional arguments of the TZDate interface is defined or not.
+//==== LABEL Test whether TZDate(date, timezone) constructor works
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
assert_type(tzdate, "object", "type check");
assert_equals(tzdate.getFullYear(), 2020, "date check");
assert_equals(tzdate.getTimezone(), "Europe/Warsaw", "timezone check");
-}, "TZDate_constructor_maximal_with_optional_arguments");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_constructor_minimal_with_nonoptional_arguments</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_constructor_minimal_with_nonoptional_arguments
-//==== LABEL: Test whether the minimal constructor of the TZDate interface is defined or not.
+//==== LABEL Test whether TZDate(y, m, d) constructor works
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
assert_equals(tzdate.getFullYear(), 2013, "year check");
assert_equals(tzdate.getMonth(), 2, "month check");
assert_equals(tzdate.getDay(), 2, "day check");
-}, "TZDate_constructor_minimal_with_nonoptional_arguments");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_constructor_minimal_without_optional_arguments</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_constructor_minimal_without_optional_arguments
-//==== LABEL: Test whether the maximal constructor without optional arguments of the TZDate interface is defined or not.
+//==== LABEL Test whether TZDate() constructor without arguments works
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
var tzdate = new tizen.TZDate();
assert_type(tzdate, "object", "type check");
-}, "TZDate_constructor_minimal_without_optional_arguments");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_difference</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>
<script>
//==== TEST: TZDate_difference
-//==== LABEL: Check if method difference of TZDate works properly.
+//==== LABEL Check if TZDate::difference() method works
//==== SPEC: Tizen Web API:System:Time:TZDate:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
returnedValue = currentTZDate.difference(other);
assert_equals(returnedValue.length, 95, "returnedValue.length check");
assert_true(returnedValue instanceof tizen.TimeDuration, "TimeDuration chceck");
-}, "TZDate_difference");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_difference_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_difference_exist
-//==== LABEL: Check if difference method exists in TZDate.
+//==== LABEL Check if difference() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("difference" in currentTZDate, "difference method exists");
check_method_exists(currentTZDate, "difference");
-}, "TZDate_difference_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_difference_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_difference_missarg
-//==== LABEL: Check if difference method with missing non-optional argument works in TZDate
+//==== LABEL Check if TZDate::difference() throws exception with missing missing mandatory argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.difference();
});
-}, "TZDate_difference_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_difference_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_difference_other_TypeMismatch
-//==== LABEL: Check argument difference conversions exception in TZDate.
+//==== LABEL Check if TZDate::difference() throws exception when other has wrong type
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTZDate.difference(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
- }
-});
+ }
+}, document.title);
</script>
</body>
<head>
<title>TZDate_difference_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_difference_other_invalid_obj
-//==== LABEL: Check argument validation in difference method in TZDate.
+//==== LABEL Check if TZDate::difference() throws exception when other is regural object
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTZDate[0] = tizen.time.getCurrentDateTime();
currentTZDate[1] = {};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate[0].difference(currentTZDate[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TZDate_difference_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_earlierThan</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>
<script>
//==== TEST: TZDate_earlierThan
-//==== LABEL: Check if method earlierThan of TZDate works properly.
+//==== LABEL Check if TZDate::earlierThan() method works
//==== SPEC: Tizen Web API:System:Time:TZDate:earlierThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
other = new tizen.TZDate(date);
returnedValue = currentTZDate.earlierThan(other);
assert_false(returnedValue, "false check");
-}, "TZDate_earlierThan");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_earlierThan_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_earlierThan_exist
-//==== LABEL: Check if earlierThan method exists in TimeManager.
+//==== LABEL Check if earlierThan() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:earlierThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("earlierThan" in currentTZDate, "earlierThan method exists");
check_method_exists(currentTZDate, "earlierThan");
-}, "TZDate_earlierThan_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_earlierThan_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_earlierThan_missarg
-//==== LABEL: Check if earlierThan method with missing non-optional argument works
+//==== LABEL Check if TZDate::earlierThan() throws exception with missing mandatory argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:earlierThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.earlierThan();
});
-}, "TZDate_earlierThan_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_earlierThan_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_earlierThan_other_TypeMismatch
-//==== LABEL: Check argument earlierThan conversions exception.
+//==== LABEL Check if TZDate::earlierThan() throws exception when other has wrong type
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:earlierThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTZDate.earlierThan(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
- }
-});
+ }
+}, document.title);
</script>
</body>
<head>
<title>TZDate_earlierThan_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_earlierThan_other_invalid_obj
-//==== LABEL: Check argument validation in earlierThan method in TZDate.
+//==== LABEL Check if TZDate::earlierThan() throws exception when other is regular object
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:earlierThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTZDate[0] = tizen.time.getCurrentDateTime();
currentTZDate[1] = {};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate[0].earlierThan(currentTZDate[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TZDate_earlierThan_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_equalsTo</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>
<script>
//==== TEST: TZDate_equalsTo
-//==== LABEL: Check if method equalsTo of TZDate works properly.
+//==== LABEL Check if TZDate::equalsTo() method works
//==== SPEC: Tizen Web API:System:Time:TZDate:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
other = new tizen.TZDate(date);
returnedValue = currentTZDate.equalsTo(other);
assert_false(returnedValue, "false check");
-}, "TZDate_equalsTo");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_equalsTo_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_equalsTo_exist
-//==== LABEL: Check if equalsTo method exists in TZDate.
+//==== LABEL Check if equalsTo() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("equalsTo" in currentTZDate, "equalsTo method exists");
check_method_exists(currentTZDate, "equalsTo");
-}, "TZDate_equalsTo_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_equalsTo_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_equalsTo_missarg
-//==== LABEL: Check if equalsTo method with missing non-optional argument works in TZDate
+//==== LABEL Check if TZDate::equalsTo() throws exception with missing mandatory argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.equalsTo();
});
-}, "TZDate_equalsTo_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_equalsTo_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_equalsTo_other_TypeMismatch
-//==== LABEL: Check argument equalsTo conversions exception in TZDate.
+//==== LABEL Check if TZDate::equalsTo() throws exception when other has wrong type
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTZDate.equalsTo(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
- }
-});
+ }
+}, document.title);
</script>
</body>
<head>
<title>TZDate_equalsTo_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_equalsTo_other_invalid_obj
-//==== LABEL: Check argument validation in equalsTo method in TZDate.
+//==== LABEL Check if TZDate::equalsTo() throws exception when other is regural object
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTZDate[0] = tizen.time.getCurrentDateTime();
currentTZDate[1] = {};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate[0].equalsTo(currentTZDate[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TZDate_equalsTo_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_exist
-//==== LABEL: Test whether the constructor of the TZDate interface is defined or not.
+//==== LABEL Test whether the constructor of the TZDate interface is defined
//==== PRIORITY: P0
//==== SPEC: Tizen Web API:System:Time:TZDate:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA CONSTRF
test(function () {
check_constructor("TZDate");
-}, "TZDate_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_extend</title>
<script src="support/time_dcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: TZDate_extend
-//==== LABEL: test whether the TZDate object can have new attribute added
+//==== LABEL Test whether the TZDate object can have new attribute added
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:System:Time:TZDate:TZDate U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
check_extensibility(currentTZDate);
-}, "TZDate_extend");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDate</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>
<script>
//==== TEST: TZDate_getDate
-//==== LABEL: Check if method getDate of TZDate works properly.
+//==== LABEL Check if TZDate::getDate() method returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true((date.getDate() >= 1 && date.getDate() <= 31), "date check");
- assert_type(date.getDate(), "number", "type check");
-}, "TZDate_getDate");
+ assert_type(date.getDate(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getDate_checkEqualWithSetDate
-//==== LABEL check if getDate value is equal to setDate
+//==== LABEL Check if getDate value is equal to setDate
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setDate(9);
day = current_dt.getDate();
assert_equals(day, 9, "day chceck");
-}, "TZDate_getDate_checkEqualWithSetDate");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDate_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getDate_exist
-//==== LABEL: Check if getDate method exists in TimeManager.
+//==== LABEL Check if getDate() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getDate" in currentTZDate, "getDate method exists");
check_method_exists(currentTZDate, "getDate");
-}, "TZDate_getDate_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDate_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>
<script>
//==== TEST: TZDate_getDate_extra_argument
-//==== LABEL: Check if method getDate of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getDate() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getDate");
-}, "TZDate_getDate_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDate_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getDate_for_specific_date
-//==== LABEL tizen.TZDate.getDate()
+//==== LABEL Check whether Tizen.TZDate.getDate() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
-//==== TEST_CRITERIA MR MNA
+//==== TEST_CRITERIA MR MNA
test(function () {
var currentTZDate, returnedValue, date;
date = new Date(2013, 3, 4);
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getDate();
assert_equals(returnedValue, 4, "date check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDay</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>
<script>
//==== TEST: TZDate_getDay
-//==== LABEL: Check if method getDay of TZDate works properly.
+//==== LABEL Check if TZDate::getDay() method returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true((date.getDay() >= 0 && date.getDay() <= 6), "data check");
- assert_type(date.getDay(), "number", "type check");
-}, "TZDate_getDay");
+ assert_type(date.getDay(), "long", "type check");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDay_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getDay_exist
-//==== LABEL: Check if getDay method exists in TimeManager.
+//==== LABEL Check if getDay() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getDay" in currentTZDate, "getDay method exists");
check_method_exists(currentTZDate, "getDay");
-}, "TZDate_getDay_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDay_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>
<script>
//==== TEST: TZDate_getDay_extra_argument
-//==== LABEL: Check if method getDay of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getDay() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getDay");
-}, "TZDate_getDay_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getDay_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getDay_for_specific_date
-//==== LABEL tizen.TZDate.getDay()
+//==== LABEL Check whether Tizen.TZDate.getDay() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getDay();
assert_equals(returnedValue, 3, "day check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getFullYear</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>
<script>
//==== TEST: TZDate_getFullYear
-//==== LABEL: Check if method getFullYear of TZDate works properly.
+//==== LABEL Check if TZDate::getFullYear() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getFullYear() >= 1000 && date.getFullYear() <= 9999, "data check");
- assert_type(date.getFullYear(), "number", "type check");
-}, "TZDate_getFullYear");
+ assert_type(date.getFullYear(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getFullYear_checkEqualWithSetFullYear
-//==== LABEL check if getFullYear value is equal to setFullYear
+//==== LABEL Check if getFullYear value is equal to setFullYear
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setFullYear(2012);
year = current_dt.getFullYear();
assert_equals(year, 2012, "year check");
-}, "TZDate_getFullYear_checkEqualWithSetFullYear");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getFullYear_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getFullYear_exist
-//==== LABEL: Check if getFullYear method exists in TimeManager.
+//==== LABEL Check if getFullYear() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getFullYear" in currentTZDate, "getFullYear method exists");
check_method_exists(currentTZDate, "getFullYear");
-}, "TZDate_getFullYear_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getFullYear_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>
<script>
//==== TEST: TZDate_getFullYear_extra_argument
-//==== LABEL: Check if method getFullYear of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getFullYear() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getFullYear");
-}, "TZDate_getFullYear_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getFullYear_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getFullYear_for_specific_date
-//==== LABEL tizen.TZDate.getFullYear()
+//==== LABEL Check whether Tizen.TZDate.getFullYear() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getFullYear();
assert_equals(returnedValue, 2013, "year check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getHours</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>
<script>
//==== TEST: TZDate_getHours
-//==== LABEL: Check if method getHours of TZDate works properly.
+//==== LABEL Check if TZDate::getHours() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getHours() >= 0 && date.getHours() <= 23, "data check");
- assert_type(date.getHours(), "number", "type check");
-}, "TZDate_getHours");
+ assert_type(date.getHours(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getHours_checkEqualWithSetHours
-//==== LABEL check if getHours value is equal to setHours
+//==== LABEL Check if getHours value is equal to setHours
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setHours(16);
hour = current_dt.getHours();
assert_equals(hour, 16, "hour check");
-}, "TZDate_getHours_checkEqualWithSetHours");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getHours_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getHours_exist
-//==== LABEL: Check if getHours method exists in TimeManager.
+//==== LABEL Check if TZDate::getHours() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getHours" in currentTZDate, "getHours method exists");
check_method_exists(currentTZDate, "getHours");
-}, "TZDate_getHours_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getHours_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>
<script>
//==== TEST: TZDate_getHours_extra_argument
-//==== LABEL: Check if method getHours of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getHours() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getHours");
-}, "TZDate_getHours_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getHours_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getHours_for_specific_date
-//==== LABEL tizen.TZDate.getHours()
+//==== LABEL Check whether Tizen.TZDate.getHours() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getHours();
assert_equals(returnedValue, 13, "hours check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMilliseconds</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>
<script>
//==== TEST: TZDate_getMilliseconds
-//==== LABEL: Check if method getMilliseconds of TZDate works properly.
+//==== LABEL Check if TZDate::getMilliseconds() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getMilliseconds() >= 0 && date.getMilliseconds() <= 999, "data check");
- assert_type(date.getMilliseconds(), "number", "type check");
-}, "TZDate_getMilliseconds");
+ assert_type(date.getMilliseconds(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMilliseconds_checkEqualWithSetMilliseconds
-//==== LABEL check if getMilliseconds value is equal to setMilliseconds
+//==== LABEL Check if getMilliseconds value is equal to setMilliseconds
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setMilliseconds(666);
milliSeconds = current_dt.getMilliseconds();
assert_equals(milliSeconds, 666, "milliSeconds check");
-}, "TZDate_getMilliseconds_checkEqualWithSetMilliseconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMilliseconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMilliseconds_exist
-//==== LABEL: Check if getMilliseconds method exists in TimeManager.
+//==== LABEL Check if getMilliseconds() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getMilliseconds" in currentTZDate, "getMilliseconds method exists");
check_method_exists(currentTZDate, "getMilliseconds");
-}, "TZDate_getMilliseconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMilliseconds_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>
<script>
//==== TEST: TZDate_getMilliseconds_extra_argument
-//==== LABEL: Check if method getMilliseconds of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getMilliseconds() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getMilliseconds");
-}, "TZDate_getMilliseconds_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMilliseconds_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getMilliseconds_for_specific_date
-//==== LABEL tizen.TZDate.getMilliseconds()
+//==== LABEL Check whether Tizen.TZDate.getMilliseconds() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getMilliseconds();
assert_equals(returnedValue, 200, "milliseconds check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMinutes</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>
<script>
//==== TEST: TZDate_getMinutes
-//==== LABEL: Check if method getMinutes of TZDate works properly.
+//==== LABEL Check if TZDate::getMinutes() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getMinutes() >= 0 && date.getMinutes() <= 59, "data check");
- assert_type(date.getMinutes(), "number", "type check");
-}, "TZDate_getMinutes");
+ assert_type(date.getMinutes(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMinutes_checkEqualWithSetMinutes
-//==== LABEL check if getMinutes value is equal to setMinutes
+//==== LABEL Check if getMinutes value is equal to setMinutes
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setMinutes(50);
minute = current_dt.getMinutes();
assert_equals(minute, 50, "minute check");
-}, "TZDate_getMinutes_checkEqualWithSetMinutes");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMinutes_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMinutes_exist
-//==== LABEL: Check if getMinutes method exists in TimeManager.
+//==== LABEL Check if getMinutes() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getMinutes" in currentTZDate, "getMinutes method exists");
check_method_exists(currentTZDate, "getMinutes");
-}, "TZDate_getMinutes_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMinutes_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>
<script>
//==== TEST: TZDate_getMinutes_extra_argument
-//==== LABEL: Check if method getMinutes of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getMinutes() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getMinutes");
-}, "TZDate_getMinutes_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMinutes_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getMinutes_for_specific_date
-//==== LABEL tizen.TZDate.getMinutes()
+//==== LABEL Check whether Tizen.TZDate.getMinutes() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getMinutes();
assert_equals(returnedValue, 32, "minutes check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMonth</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>
<script>
//==== TEST: TZDate_getMonth
-//==== LABEL: Check if method getMonth of TZDate works properly.
+//==== LABEL Check if TZDate::getMonth() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getMonth() >= 0 && date.getMonth() <= 11, "data check");
- assert_type(date.getMonth(), "number", "type check");
-}, "TZDate_getMonth");
+ assert_type(date.getMonth(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMonth_checkEqualWithSetMonth
-//==== LABEL check if getMonth value is equal to setMonth
+//==== LABEL Check if getMonth value is equal to setMonth
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setMonth(0);
month = current_dt.getMonth();
assert_equals(month, 0, "month check");
-}, "TZDate_getMonth_checkEqualWithSetMonth");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMonth_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getMonth_exist
-//==== LABEL: Check if getMonth method exists in TimeManager.
+//==== LABEL Check if getMonth() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getMonth" in currentTZDate, "getMonth method exists");
check_method_exists(currentTZDate, "getMonth");
-}, "TZDate_getMonth_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMonth_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>
<script>
//==== TEST: TZDate_getMonth_extra_argument
-//==== LABEL: Check if method getMonth of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getMonth() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getMonth");
-}, "TZDate_getMonth_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getMonth_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getMonth_for_specific_date
-//==== LABEL tizen.TZDate.getMonth()
+//==== LABEL Check whether Tizen.TZDate.getMonth() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getMonth();
assert_equals(returnedValue, 2, "month check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getNextDSTTransition</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>
<script>
//==== TEST: TZDate_getNextDSTTransition
-//==== LABEL: Check if method getNextDSTTransition of TZDate works properly.
+//==== LABEL Check if TZDate::getNextDSTTransition() returns a either date or null
//==== SPEC: Tizen Web API:System:Time:TZDate:getNextDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getNextDSTTransition();
assert_true(returnedValue instanceof tizen.TZDate || returnedValue === null, "data check");
-}, "TZDate_getNextDSTTransition");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getNextDSTTransition_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getNextDSTTransition_exist
-//==== LABEL: Check if getNextDSTTransition method exists in TimeManager.
+//==== LABEL Check if getNextDSTTransition() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getNextDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getNextDSTTransition" in currentTZDate, "getNextDSTTransition method exists");
check_method_exists(currentTZDate, "getNextDSTTransition");
-}, "TZDate_getNextDSTTransition_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getNextDSTTransition_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>
<script>
//==== TEST: TZDate_getNextDSTTransition_extra_argument
-//==== LABEL: Check if method getNextDSTTransition of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getNextDSTTransition() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getNextDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getNextDSTTransition");
-}, "TZDate_getNextDSTTransition_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getPreviousDSTTransition</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>
<script>
//==== TEST: TZDate_getPreviousDSTTransition
-//==== LABEL: Check if method getPreviousDSTTransition of TZDate works properly.
+//==== LABEL Check if TZDate::getPreviousDSTTransition() returns a either date or null
//==== SPEC: Tizen Web API:System:Time:TZDate:getPreviousDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getPreviousDSTTransition();
assert_true(returnedValue instanceof tizen.TZDate || returnedValue === null, "data check");
-}, "TZDate_getPreviousDSTTransition");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getPreviousDSTTransition_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getPreviousDSTTransition_exist
-//==== LABEL: Check if getPreviousDSTTransition method exists in TimeManager.
+//==== LABEL Check if getPreviousDSTTransition() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getPreviousDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getPreviousDSTTransition" in currentTZDate, "getPreviousDSTTransition method exists");
check_method_exists(currentTZDate, "getPreviousDSTTransition");
-}, "TZDate_getPreviousDSTTransition_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getPreviousDSTTransition_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>
<script>
//==== TEST: TZDate_getPreviousDSTTransition_extra_argument
-//==== LABEL: Check if method getPreviousDSTTransition of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getPreviousDSTTransition() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getPreviousDSTTransition M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getPreviousDSTTransition");
-}, "TZDate_getPreviousDSTTransition_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getSeconds</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>
<script>
//==== TEST: TZDate_getSeconds
-//==== LABEL: Check if method getSeconds of TZDate works properly.
+//==== LABEL Check if TZDate::getSeconds() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getSeconds() >= 0 && date.getSeconds() <= 59, "data check");
- assert_type(date.getSeconds(), "number", "type check");
-}, "TZDate_getSeconds");
+ assert_type(date.getSeconds(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getSeconds_checkEqualWithSetSeconds
-//==== LABEL check if getSeconds value is equal to setSeconds
+//==== LABEL Check if getSeconds value is equal to setSeconds
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt = tizen.time.getCurrentDateTime();
current_dt.setSeconds(0);
second = current_dt.getSeconds();
- assert_equals(second,0, "second check");
-}, "TZDate_getSeconds_checkEqualWithSetSeconds");
+ assert_equals(second, 0, "second check");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getSeconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getSeconds_exist
-//==== LABEL: Check if getSeconds method exists in TimeManager.
+//==== LABEL Check if getSeconds() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getSeconds" in currentTZDate, "getSeconds method exists");
check_method_exists(currentTZDate, "getSeconds");
-}, "TZDate_getSeconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getSeconds_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>
<script>
//==== TEST: TZDate_getSeconds_extra_argument
-//==== LABEL: Check if method getSeconds of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getSeconds() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getSeconds");
-}, "TZDate_getSeconds_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getSeconds_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getSeconds_for_specific_date
-//==== LABEL tizen.TZDate.getSeconds()
+//==== LABEL Check whether Tizen.TZDate.getSeconds() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getSeconds();
assert_equals(returnedValue, 25, "seconds check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezone</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>
<script>
//==== TEST: TZDate_getTimezone
-//==== LABEL: Check if method getTimezone of TZDate works properly.
+//==== LABEL Check if TZDate::getTimezone() returns a string
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA
test(function () {
var date = new tizen.TZDate();
assert_type(date.getTimezone(), "string", "type check");
-}, "TZDate_getTimezone");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezoneAbbreviation</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>
<script>
//==== TEST: TZDate_getTimezoneAbbreviation
-//==== LABEL: Check if method getTimezoneAbbreviation of TZDate works properly.
+//==== LABEL Check if TZDate::getTimezoneAbbreviation() returns a string
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA
returnedValue = currentTZDate.getTimezoneAbbreviation();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, null, "null check");
-}, "TZDate_getTimezoneAbbreviation");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezoneAbbreviation_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getTimezoneAbbreviation_exist
-//==== LABEL: Check if getTimezoneAbbreviation method exists in TimeManager.
+//==== LABEL Check if getTimezoneAbbreviation() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getTimezoneAbbreviation" in currentTZDate, "getTimezoneAbbreviation method exists");
check_method_exists(currentTZDate, "getTimezoneAbbreviation");
-}, "TZDate_getTimezoneAbbreviation_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezoneAbbreviation_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>
<script>
//==== TEST: TZDate_getTimezoneAbbreviation_extra_argument
-//==== LABEL: Check if method getTimezoneAbbreviation of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getTimezoneAbbreviation() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezoneAbbreviation M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getTimezoneAbbreviation");
-}, "TZDate_getTimezoneAbbreviation_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezone_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getTimezone_exist
-//==== LABEL: Check if getTimezone method exists in TimeManager.
+//==== LABEL Check if getTimezone() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getTimezone" in currentTZDate, "getTimezone method exists");
check_method_exists(currentTZDate, "getTimezone");
-}, "TZDate_getTimezone_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezone_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>
<script>
//==== TEST: TZDate_getTimezone_extra_argument
-//==== LABEL: Check if method getTimezone of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getTimezone() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getTimezone");
-}, "TZDate_getTimezone_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getTimezone_for_specific_timezone</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getTimezone_for_specific_timezone
-//==== LABEL tizen.TZDate.getTimezone()
+//==== LABEL Check whether Tizen.TZDate.getTimezone() for specific timezone
//==== SPEC Tizen Web API:System:Time:TZDate:getTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
currentTZDate = new tizen.TZDate(null, "Europe/Berlin");
returnedValue = currentTZDate.getTimezone();
assert_equals(returnedValue, "Europe/Berlin", "timezone check");
-}, "TZDate_getTimezone_for_specific_timezone");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDate</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>
<script>
//==== TEST: TZDate_getUTCDate
-//==== LABEL: Check if method getUTCDate of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCDate() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCDate() >= 1 && date.getUTCDate() <= 31, "data check");
- assert_type(date.getUTCDate(), "number", "type check");
-}, "TZDate_getUTCDate");
+ assert_type(date.getUTCDate(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCDate_checkEqualWithSetUTCDate
-//==== LABEL check if getUTCDate value is equal to setUTCDate
+//==== LABEL Check if getUTCDate value is equal to setUTCDate
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCDate(9);
day = current_dt.getUTCDate();
assert_equals(day, 9, "day check");
-}, "TZDate_getUTCDate_checkEqualWithSetUTCDate");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDate_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCDate_exist
-//==== LABEL: Check if getUTCDate method exists in TimeManager.
+//==== LABEL Check if getUTCDate() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCDate" in currentTZDate, "getUTCDate method exists");
check_method_exists(currentTZDate, "getUTCDate");
-}, "TZDate_getUTCDate_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDate_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>
<script>
//==== TEST: TZDate_getUTCDate_extra_argument
-//==== LABEL: Check if method getUTCDate of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCDate() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCDate");
-}, "TZDate_getUTCDate_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDate_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCDate_for_specific_date
-//==== LABEL tizen.TZDate.getUTCDate()
+//==== LABEL Check whether Tizen.TZDate.getUTCDate() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCDate();
assert_equals(returnedValue, 26, "date check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDay</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>
<script>
//==== TEST: TZDate_getUTCDay
-//==== LABEL: Check if method getUTCDay of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCDay() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCDay() >= 0 && date.getUTCDay() <= 6, "data check");
- assert_type(date.getUTCDay(), "number", "type check");
-}, "TZDate_getUTCDay");
+ assert_type(date.getUTCDay(), "long", "type check");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDay_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCDay_exist
-//==== LABEL: Check if getUTCDay method exists in TimeManager.
+//==== LABEL Check if getUTCDay() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCDay" in currentTZDate, "getUTCDay method exists");
check_method_exists(currentTZDate, "getUTCDay");
-}, "TZDate_getUTCDay_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDay_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>
<script>
//==== TEST: TZDate_getUTCDay_extra_argument
-//==== LABEL: Check if method getUTCDay of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCDay() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCDay");
-}, "TZDate_getUTCDay_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCDay_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCDay_for_specific_date
-//==== LABEL tizen.TZDate.getUTCDay()
+//==== LABEL Check whether Tizen.TZDate.getUTCDay() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCDay M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCDay();
assert_equals(returnedValue, 2, "day check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCFullYear</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>
<script>
//==== TEST: TZDate_getUTCFullYear
-//==== LABEL: Check if method getUTCFullYear of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCFullYear() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCFullYear() >= 1000 && date.getUTCFullYear() <= 9999, "data check");
- assert_type(date.getUTCFullYear(), "number", "type check");
-}, "TZDate_getUTCFullYear");
+ assert_type(date.getUTCFullYear(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear
-//==== LABEL check if getUTCFullYear value is equal to setUTCFullYear
+//==== LABEL Check if getUTCFullYear value is equal to setUTCFullYear
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCFullYear(2012);
year = current_dt.getUTCFullYear();
assert_equals(year, 2012, "year check");
-}, "TZDate_getUTCFullYear_checkEqualWithSetUTCFullYear");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCFullYear_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCFullYear_exist
-//==== LABEL: Check if getUTCFullYear method exists in TimeManager.
+//==== LABEL Check if getUTCFullYear() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCFullYear" in currentTZDate, "getUTCFullYear method exists");
check_method_exists(currentTZDate, "getUTCFullYear");
-}, "TZDate_getUTCFullYear_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCFullYear_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>
<script>
//==== TEST: TZDate_getUTCFullYear_extra_argument
-//==== LABEL: Check if method getUTCFullYear of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCFullYear() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCFullYear");
-}, "TZDate_getUTCFullYear_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCFullYear_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCFullYear_for_specific_date
-//==== LABEL tizen.TZDate.getUTCFullYear()
+//==== LABEL Check whether Tizen.TZDate.getUTCFullYear() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCFullYear();
assert_equals(returnedValue, 2013, "year check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCHours</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>
<script>
//==== TEST: TZDate_getUTCHours
-//==== LABEL: Check if method getUTCHours of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCHours() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCHours() >= 0 && date.getUTCHours() <= 23, "data check");
- assert_type(date.getUTCHours(), "number", "type check");
-}, "TZDate_getUTCHours");
+ assert_type(date.getUTCHours(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCHours_checkEqualWithSetUTCHours
-//==== LABEL check if getUTCHours value is equal to setUTCHours
+//==== LABEL Check if getUTCHours value is equal to setUTCHours
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCHours(16);
hour = current_dt.getUTCHours();
assert_equals(hour, 16, "hour check");
-}, "TZDate_getUTCHours_checkEqualWithSetUTCHours");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCHours_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCHours_exist
-//==== LABEL: Check if getUTCHours method exists in TimeManager.
+//==== LABEL Check if getUTCHours() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCHours" in currentTZDate, "getUTCHours method exists");
check_method_exists(currentTZDate, "getUTCHours");
-}, "TZDate_getUTCHours_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCHours_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>
<script>
//==== TEST: TZDate_getUTCHours_extra_argument
-//==== LABEL: Check if method getUTCHours of TZDate accepts extra argument
+//==== LABEL Check if method TZDate::getUTCHours() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCHours");
-}, "TZDate_getUTCHours_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCHours_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCHours_for_specific_date
-//==== LABEL tizen.TZDate.getUTCHours()
+//==== LABEL Check whether Tizen.TZDate.getUTCHours() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCHours();
assert_equals(returnedValue, hour - expected_time_zone_offset, "hours check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMilliseconds</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>
<script>
//==== TEST: TZDate_getUTCMilliseconds
-//==== LABEL: Check if method getUTCMilliseconds of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCMilliseconds() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCMilliseconds() >= 0 && date.getUTCMilliseconds() <= 999, "data check");
- assert_type(date.getUTCMilliseconds(), "number", "type check");
-}, "TZDate_getUTCMilliseconds");
+ assert_type(date.getUTCMilliseconds(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds
-//==== LABEL check if getUTCMilliseconds value is equal to setUTCMilliseconds
+//==== LABEL Check if getUTCMilliseconds value is equal to setUTCMilliseconds
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCMilliseconds(666);
milliSeconds = current_dt.getUTCMilliseconds();
assert_equals(milliSeconds, 666, "milliSeconds check");
-}, "TZDate_getUTCMilliseconds_checkEqualWithSetUTCMilliseconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMilliseconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCMilliseconds_exist
-//==== LABEL: Check if getUTCMilliseconds method exists in TimeManager.
+//==== LABEL Check if getUTCMilliseconds() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCMilliseconds" in currentTZDate, "getUTCMilliseconds method exists");
check_method_exists(currentTZDate, "getUTCMilliseconds");
-}, "TZDate_getUTCMilliseconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMilliseconds_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>
<script>
//==== TEST: TZDate_getUTCMilliseconds_extra_argument
-//==== LABEL: Check if method getUTCMilliseconds of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCMilliseconds() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCMilliseconds");
-}, "TZDate_getUTCMilliseconds_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMilliseconds_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCMilliseconds_for_specific_date
-//==== LABEL tizen.TZDate.getUTCMilliseconds()
+//==== LABEL Check whether Tizen.TZDate.getUTCMilliseconds() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCMilliseconds();
assert_equals(returnedValue, 78, "milliseconds check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMinutes</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>
<script>
//==== TEST: TZDate_getUTCMinutes
-//==== LABEL: Check if method getUTCMinutes of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCMinutes() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCMinutes() >= 0 && date.getUTCMinutes() <= 59, "data check");
- assert_type(date.getUTCMinutes(), "number", "type check");
-}, "TZDate_getUTCMinutes");
+ assert_type(date.getUTCMinutes(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes
-//==== LABEL check if getUTCMinutes value is equal to setUTCMinutes
+//==== LABEL Check if getUTCMinutes value is equal to setUTCMinutes
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCMinutes(50);
minute = current_dt.getUTCMinutes();
assert_equals(minute, 50, "minute check");
-}, "TZDate_getUTCMinutes_checkEqualWithSetUTCMinutes");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMinutes_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCMinutes_exist
-//==== LABEL: Check if getUTCMinutes method exists in TimeManager.
+//==== LABEL Check if getUTCMinutes() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCMinutes" in currentTZDate, "getUTCMinutes method exists");
check_method_exists(currentTZDate, "getUTCMinutes");
-}, "TZDate_getUTCMinutes_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMinutes_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>
<script>
//==== TEST: TZDate_getUTCMinutes_extra_argument
-//==== LABEL: Check if method getUTCMinutes of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCMinutes() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCMinutes");
-}, "TZDate_getUTCMinutes_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMinutes_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCMinutes_for_specific_date
-//==== LABEL tizen.TZDate.getUTCMinutes()
+//==== LABEL Check whether Tizen.TZDate.getUTCMinutes() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCMinutes();
assert_equals(returnedValue, 43, "minutes check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMonth</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>
<script>
//==== TEST: TZDate_getUTCMonth
-//==== LABEL: Check if method getUTCMonth of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCMonth() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCMonth() >= 0 && date.getUTCMonth() <= 11, "data check");
- assert_type(date.getUTCMonth(), "number", "type check");
-}, "TZDate_getUTCMonth");
+ assert_type(date.getUTCMonth(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCMonth_checkEqualWithSetUTCMonth
-//==== LABEL check if getUTCMonth value is equal to setUTCMonth
+//==== LABEL Check if getUTCMonth value is equal to setUTCMonth
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCMonth(0);
month = current_dt.getUTCMonth();
assert_equals(month, 0, "month check");
-}, "TZDate_getUTCMonth_checkEqualWithSetUTCMonth");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMonth_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCMonth_exist
-//==== LABEL: Check if getUTCMonth method exists in TimeManager.
+//==== LABEL Check if getUTCMonth() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCMonth" in currentTZDate, "getUTCMonth method exists");
check_method_exists(currentTZDate, "getUTCMonth");
-}, "TZDate_getUTCMonth_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMonth_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>
<script>
//==== TEST: TZDate_getUTCMonth_extra_argument
-//==== LABEL: Check if method getUTCMonth of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCMonth() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCMonth");
-}, "TZDate_getUTCMonth_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCMonth_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCMonth_for_specific_date
-//==== LABEL tizen.TZDate.getUTCMonth()
+//==== LABEL Check whether Tizen.TZDate.getUTCMonth() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCMonth();
assert_equals(returnedValue, 2, "month check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCSeconds</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>
<script>
//==== TEST: TZDate_getUTCSeconds
-//==== LABEL: Check if method getUTCSeconds of TZDate works properly.
+//==== LABEL Check if TZDate::getUTCSeconds() returns valid number
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
assert_true(date.getUTCSeconds() >= 0 && date.getUTCSeconds() <= 59, "data check");
- assert_type(date.getUTCSeconds(), "number", "type check");
-}, "TZDate_getUTCSeconds");
+ assert_type(date.getUTCSeconds(), "long", "type check");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds
-//==== LABEL check if getUTCSeconds value is equal to getUTCSeconds
+//==== LABEL Check if getUTCSeconds value is equal to getUTCSeconds
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
current_dt.setUTCSeconds(0);
second = current_dt.getUTCSeconds();
assert_equals(second, 0, "second check");
-}, "TZDate_getUTCSeconds_checkEqualWithSetUTCSeconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCSeconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_getUTCSeconds_exist
-//==== LABEL: Check if getUTCSeconds method exists in TimeManager.
+//==== LABEL Check if getUTCSeconds() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("getUTCSeconds" in currentTZDate, "getUTCSeconds method exists");
check_method_exists(currentTZDate, "getUTCSeconds");
-}, "TZDate_getUTCSeconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCSeconds_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>
<script>
//==== TEST: TZDate_getUTCSeconds_extra_argument
-//==== LABEL: Check if method getUTCSeconds of TZDate accepts extra argument
+//==== LABEL Check if TZDate::getUTCSeconds() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:getUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "getUTCSeconds");
-}, "TZDate_getUTCSeconds_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_getUTCSeconds_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_getUTCSeconds_for_specific_date
-//==== LABEL tizen.TZDate.getUTCSeconds()
+//==== LABEL Check whether Tizen.TZDate.getUTCSeconds() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:getUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
currentTZDate = new tizen.TZDate(date);
returnedValue = currentTZDate.getUTCSeconds();
assert_equals(returnedValue, 43, "seconds check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_isDST</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>
<script>
//==== TEST: TZDate_isDST
-//==== LABEL: Check if method isDST of TZDate works properly.
+//==== LABEL Check if TZDate::isDST() method returns boolean
//==== SPEC: Tizen Web API:System:Time:TZDate:isDST M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
test(function () {
var date = new tizen.TZDate();
assert_type(date.isDST(), "boolean", "type check");
-}, "TZDate_isDST");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_isDST_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_isDST_exist
-//==== LABEL: Check if isDST method exists in TimeManager.
+//==== LABEL Check if isDST() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:isDST M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("isDST" in currentTZDate, "isDST method exists");
check_method_exists(currentTZDate, "isDST");
-}, "TZDate_isDST_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_isDST_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>
<script>
//==== TEST: TZDate_isDST_extra_argument
-//==== LABEL: Check if method isDST of TZDate accepts extra argument
+//==== LABEL Check if TZDate::isDST() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:isDST M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "isDST");
-}, "TZDate_isDST_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_isDST_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_isDST_for_specific_date
-//==== LABEL tizen.TZDate.isDST()
+//==== LABEL Check whether Tizen.TZDate.isDST() for specific date
//==== SPEC Tizen Web API:System:Time:TZDate:isDST M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MNA
var dateTZDate = new tizen.TZDate(2013, 2, 27, 18, 33), returnedValue;
returnedValue = dateTZDate.isDST();
assert_false(returnedValue, "false check");
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan</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>
<script>
//==== TEST: TZDate_laterThan
-//==== LABEL: Check if method laterThan of TZDate works properly.
+//==== LABEL Check if TZDate::laterThan() method returns that current date after 2013-03-04
//==== SPEC: Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR MMINA
other = new tizen.TZDate(date);
returnedValue = currentTZDate.laterThan(other);
assert_true(returnedValue, "true check");
-}, "TZDate_laterThan");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_laterThan_exist
-//==== LABEL: Check if laterThan method exists in TimeManager.
+//==== LABEL Check if TZDate::laterThan() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("laterThan" in currentTZDate, "laterThan method exists");
check_method_exists(currentTZDate, "laterThan");
-}, "TZDate_laterThan_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_laterThan_missarg
-//==== LABEL: Check if laterThan method with missing non-optional argument works
+//==== LABEL Check if TZDate::laterThan() method accepts extra argument
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate.laterThan();
});
-}, "TZDate_laterThan_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_laterThan_other_TypeMismatch
-//==== LABEL: Check argument laterThan conversions exception.
+//==== LABEL Check if TZDate::laterThan() throws exception when other has wrong type
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTZDate.laterThan(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
- }
-});
+ }
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_laterThan_other_invalid_obj
-//==== LABEL: Check argument validation in laterThan method in TZDate.
+//==== LABEL Check if TZDate::laterThan() throws exception when other is regular object
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTZDate[0] = tizen.time.getCurrentDateTime();
currentTZDate[1] = {};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTZDate[0].laterThan(currentTZDate[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TZDate_laterThan_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_laterThan_with_null</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/time_common.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: TZDate_laterThan_with_null
-//==== LABEL Check argument null validation in laterThan method in TZDate.
+//==== LABEL Check if TZDate::laterThan() throws exception when other is null
//==== SPEC Tizen Web API:System:Time:TZDate:laterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var date = new tizen.TZDate();
- assert_throws({
- name: TYPE_MISMATCH_ERR
- }, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
date.laterThan();
});
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_secondsFromUTC</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>
<script>
//==== TEST: TZDate_secondsFromUTC
-//==== LABEL: Check if method secondsFromUTC of TZDate works properly.
+//==== LABEL Check if TZDate::secondsFromUTC() returns number
//==== SPEC: Tizen Web API:System:Time:TZDate:secondsFromUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue = null;
returnedValue = currentTZDate.secondsFromUTC();
- assert_type(returnedValue, "number", "type check");
+ assert_type(returnedValue, "long", "type check");
assert_not_equals(returnedValue, null, "null check");
-}, "TZDate_secondsFromUTC");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_secondsFromUTC_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_secondsFromUTC_exist
-//==== LABEL: Check if secondsFromUTC method exists in TimeManager.
+//==== LABEL Check if secondsFromUTC() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:secondsFromUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("secondsFromUTC" in currentTZDate, "secondsFromUTC method exists");
check_method_exists(currentTZDate, "secondsFromUTC");
-}, "TZDate_secondsFromUTC_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_secondsFromUTC_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>
<script>
//==== TEST: TZDate_secondsFromUTC_extra_argument
-//==== LABEL: Check if method secondsFromUTC of TZDate accepts extra argument
+//==== LABEL Check if TZDate::secondsFromUTC() method accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:secondsFromUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "secondsFromUTC");
-}, "TZDate_secondsFromUTC_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_secondsFromUTC_for_specific_date</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/time_common.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
-// TESTS
-
//==== TEST: TZDate_secondsFromUTC_for_specific_date
-//==== LABEL check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone
+//==== LABEL Check whether secondsFromUTC() method correctly gets the number of seconds from UTC offset for the time zone
//==== SPEC Tizen Web API:System:Time:TZDate:secondsFromUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MR
for (i = 0; i < testAdditionalParamArray.length; i++) {
assert_equals(date.secondsFromUTC(testAdditionalParamArray[i]), expectedData, "secondsFromUTC check " + i);
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setDate</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>
<script>
//==== TEST: TZDate_setDate
-//==== LABEL: Check if method setDate of TZDate works properly.
+//==== LABEL Check if TZDate::setDate() method sets day of the month and returns nothing
//==== SPEC: Tizen Web API:System:Time:TZDate:setDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setDate(15);
assert_equals(returnedValue, undefined, "setDate() should return undefined.");
assert_equals(currentTZDate.getDate(), 15, "value check");
-}, "TZDate_setDate");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setDate_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setDate_exist
-//==== LABEL: Check if setDate method exists in TimeManager.
+//==== LABEL Check if setDate() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setDate" in currentTZDate, "setDate method exists");
check_method_exists(currentTZDate, "setDate");
-}, "TZDate_setDate_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setDate_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setDate_for_specific_date
-//==== LABEL check various arguments for setDate() method
+//==== LABEL Check various arguments for setDate() method
//==== SPEC Tizen Web API:System:Time:TZDate:setDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MAST MMINA
cmpDate.setDate(testInvalidDataArray[i]);
assert_equals(tmpDate.getDate(), cmpDate.getDate(), testName + " data value " + testInvalidDataArray[i]);
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setFullYear</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>
<script>
//==== TEST: TZDate_setFullYear
-//==== LABEL: Check if method setFullYear of TZDate works properly.
+//==== LABEL Check if TZDate::setFullYear() method sets year and returns nothing
//==== SPEC: Tizen Web API:System:Time:TZDate:setFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setFullYear(2000);
assert_equals(returnedValue, undefined, "setFullYear() should return undefined.");
assert_equals(currentTZDate.getFullYear(), 2000, "value check");
-}, "TZDate_setFullYear");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setFullYear_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setFullYear_exist
-//==== LABEL: Check if setFullYear method exists in TimeManager.
+//==== LABEL Check if setFullYear() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setFullYear" in currentTZDate, "setFullYear method exists");
check_method_exists(currentTZDate, "setFullYear");
-}, "TZDate_setFullYear_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setHours</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>
<script>
//==== TEST: TZDate_setHours
-//==== LABEL: Check if method setHours of TZDate works properly.
+//==== LABEL Check if TZDate::setHours() method sets hour and returns nothing
//==== SPEC: Tizen Web API:System:Time:TZDate:setHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setHours(11);
assert_equals(returnedValue, undefined, "setHours() should return undefined.");
assert_equals(currentTZDate.getHours(), 11, "value check");
-}, "TZDate_setHours");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setHours_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setHours_exist
-//==== LABEL: Check if setHours method exists in TimeManager.
+//==== LABEL Check if setHours() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setHours" in currentTZDate, "setHours method exists");
check_method_exists(currentTZDate, "setHours");
-}, "TZDate_setHours_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMilliseconds</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>
<script>
//==== TEST: TZDate_setMilliseconds
-//==== LABEL: Check if method setMilliseconds of TZDate works properly.
+//==== LABEL Check if TZDate::setMilliseconds() method sets milliseconds and returns nothing
//==== SPEC: Tizen Web API:System:Time:TZDate:setMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setMilliseconds(431);
assert_equals(returnedValue, undefined, "setMilliseconds() should return undefined.");
assert_equals(currentTZDate.getMilliseconds(), 431, "value check");
-}, "TZDate_setMilliseconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMilliseconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setMilliseconds_exist
-//==== LABEL: Check if setMilliseconds method exists in TimeManager.
+//==== LABEL Check if setMilliseconds() method exists in TZDate
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setMilliseconds" in currentTZDate, "setMilliseconds method exists");
check_method_exists(currentTZDate, "setMilliseconds");
-}, "TZDate_setMilliseconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMinutes</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>
<script>
//==== TEST: TZDate_setMinutes
-//==== LABEL: Check if method setMinutes of TZDate works properly.
+//==== LABEL Check if method setMinutes of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setMinutes(31);
assert_equals(returnedValue, undefined, "setMinutes() should return undefined.");
assert_equals(currentTZDate.getMinutes(), 31, "value check");
-}, "TZDate_setMinutes");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMinutes_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setMinutes_exist
-//==== LABEL: Check if setMinutes method exists in TimeManager.
+//==== LABEL Check if setMinutes method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setMinutes" in currentTZDate, "setMinutes method exists");
check_method_exists(currentTZDate, "setMinutes");
-}, "TZDate_setMinutes_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMonth</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>
<script>
//==== TEST: TZDate_setMonth
-//==== LABEL: Check if method setMonth of TZDate works properly.
+//==== LABEL Check if method setMonth of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setMonth(5);
assert_equals(returnedValue, undefined, "setMonth() should return undefined.");
assert_equals(currentTZDate.getMonth(), 5, "value check");
-}, "TZDate_setMonth");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setMonth_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setMonth_exist
-//==== LABEL: Check if setMonth method exists in TimeManager.
+//==== LABEL Check if setMonth method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setMonth" in currentTZDate, "setMonth method exists");
check_method_exists(currentTZDate, "setMonth");
-}, "TZDate_setMonth_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setSeconds</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>
<script>
//==== TEST: TZDate_setSeconds
-//==== LABEL: Check if method setSeconds of TZDate works properly.
+//==== LABEL Check if method setSeconds of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setSeconds(5);
assert_equals(returnedValue, undefined, "setSeconds() should return undefined.");
assert_equals(currentTZDate.getSeconds(), 5, "value check");
-}, "TZDate_setSeconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setSeconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setSeconds_exist
-//==== LABEL: Check if setSeconds method exists in TimeManager.
+//==== LABEL Check if setSeconds method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setSeconds" in currentTZDate, "setSeconds method exists");
check_method_exists(currentTZDate, "setSeconds");
-}, "TZDate_setSeconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCDate</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>
<script>
//==== TEST: TZDate_setUTCDate
-//==== LABEL: Check if method setUTCDate of TZDate works properly.
+//==== LABEL Check if method setUTCDate of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCDate(31);
assert_equals(returnedValue, undefined, "setUTCDate() should return undefined.");
assert_equals(currentTZDate.getUTCDate(), 31, "value check");
-}, "TZDate_setUTCDate");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCDate_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCDate_exist
-//==== LABEL: Check if setUTCDate method exists in TimeManager.
+//==== LABEL Check if setUTCDate method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCDate M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCDate" in currentTZDate, "setUTCDate method exists");
check_method_exists(currentTZDate, "setUTCDate");
-}, "TZDate_setUTCDate_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCFullYear</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>
<script>
//==== TEST: TZDate_setUTCFullYear
-//==== LABEL: Check if method setUTCFullYear of TZDate works properly.
+//==== LABEL Check if method setUTCFullYear of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCFullYear(1999);
assert_equals(returnedValue, undefined, "setUTCFullYear() should return undefined.");
assert_equals(currentTZDate.getUTCFullYear(), 1999, "value check");
-}, "TZDate_setUTCFullYear");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCFullYear_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCFullYear_exist
-//==== LABEL: Check if setUTCFullYear method exists in TimeManager.
+//==== LABEL Check if setUTCFullYear method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCFullYear" in currentTZDate, "setUTCFullYear method exists");
check_method_exists(currentTZDate, "setUTCFullYear");
-}, "TZDate_setUTCFullYear_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCHours</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>
<script>
//==== TEST: TZDate_setUTCHours
-//==== LABEL: Check if method setUTCHours of TZDate works properly.
+//==== LABEL Check if method setUTCHours of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCHours(23);
assert_equals(returnedValue, undefined, "setUTCHours() should return undefined.");
assert_equals(currentTZDate.getUTCHours(), 23, "value check");
-}, "TZDate_setUTCHours");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCHours_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCHours_exist
-//==== LABEL: Check if setUTCHours method exists in TimeManager.
+//==== LABEL Check if setUTCHours method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCHours M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCHours" in currentTZDate, "setUTCHours method exists");
check_method_exists(currentTZDate, "setUTCHours");
-}, "TZDate_setUTCHours_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMilliseconds</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>
<script>
//==== TEST: TZDate_setUTCMilliseconds
-//==== LABEL: Check if method setUTCMilliseconds of TZDate works properly.
+//==== LABEL Check if method setUTCMilliseconds of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCMilliseconds(999);
assert_equals(returnedValue, undefined, "setUTCMilliseconds() should return undefined.");
assert_equals(currentTZDate.getUTCMilliseconds(), 999, "value check");
-}, "TZDate_setUTCMilliseconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMilliseconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCMilliseconds_exist
-//==== LABEL: Check if setUTCMilliseconds method exists in TimeManager.
+//==== LABEL Check if setUTCMilliseconds method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMilliseconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCMilliseconds" in currentTZDate, "setUTCMilliseconds method exists");
check_method_exists(currentTZDate, "setUTCMilliseconds");
-}, "TZDate_setUTCMilliseconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMinutes</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>
<script>
//==== TEST: TZDate_setUTCMinutes
-//==== LABEL: Check if method setUTCMinutes of TZDate works properly.
+//==== LABEL Check if method setUTCMinutes of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCMinutes(59);
assert_equals(returnedValue, undefined, "setUTCMinutes() should return undefined.");
assert_equals(currentTZDate.getUTCMinutes(), 59, "value check");
-}, "TZDate_setUTCMinutes");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMinutes_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCMinutes_exist
-//==== LABEL: Check if setUTCMinutes method exists in TimeManager.
+//==== LABEL Check if setUTCMinutes method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCMinutes" in currentTZDate, "setUTCMinutes method exists");
check_method_exists(currentTZDate, "setUTCMinutes");
-}, "TZDate_setUTCMinutes_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMonth</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>
<script>
//==== TEST: TZDate_setUTCMonth
-//==== LABEL: Check if method setUTCMonth of TZDate works properly.
+//==== LABEL Check if method setUTCMonth of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCMonth(11);
assert_equals(returnedValue, undefined, "setUTCMonth() should return undefined.");
assert_equals(currentTZDate.getUTCMonth(), 11, "value check");
-}, "TZDate_setUTCMonth");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCMonth_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCMonth_exist
-//==== LABEL: Check if setUTCMonth method exists in TimeManager.
+//==== LABEL Check if setUTCMonth method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCMonth" in currentTZDate, "setUTCMonth method exists");
check_method_exists(currentTZDate, "setUTCMonth");
-}, "TZDate_setUTCMonth_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCSeconds</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>
<script>
//==== TEST: TZDate_setUTCSeconds
-//==== LABEL: Check if method setUTCSeconds of TZDate works properly.
+//==== LABEL Check if method setUTCSeconds of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MAST MR
returnedValue = currentTZDate.setUTCSeconds(0);
assert_equals(returnedValue, undefined, "setUTCSeconds() should return undefined.");
assert_equals(currentTZDate.getUTCSeconds(), 0, "value check");
-}, "TZDate_setUTCSeconds");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_setUTCSeconds_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_setUTCSeconds_exist
-//==== LABEL: Check if setUTCSeconds method exists in TimeManager.
+//==== LABEL Check if setUTCSeconds method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("setUTCSeconds" in currentTZDate, "setUTCSeconds method exists");
check_method_exists(currentTZDate, "setUTCSeconds");
-}, "TZDate_setUTCSeconds_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toDateString</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>
<script>
//==== TEST: TZDate_toDateString
-//==== LABEL: Check if method toDateString of TZDate works properly.
+//==== LABEL Check if TZDate::ToDateString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toDateString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toDateString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toDateString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toDateString_exist
-//==== LABEL: Check if toDateString method exists in TimeManager.
+//==== LABEL Check if toDateString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toDateString" in currentTZDate, "toDateString method exists");
check_method_exists(currentTZDate, "toDateString");
-}, "TZDate_toDateString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toDateString_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>
<script>
//==== TEST: TZDate_toDateString_extra_argument
-//==== LABEL: Check if method toDateString of TZDate accepts extra argument
+//==== LABEL Check if method toDateString of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toDateString");
-}, "TZDate_toDateString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toDateString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toDateString_for_specific_date
-//==== LABEL check whether toDateString() method correctly returns the date portion of a TZDate object as a string
+//==== LABEL Check whether toDateString() method correctly returns the date portion of a TZDate object as a string
//==== SPEC Tizen Web API:System:Time:TZDate:toDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA
for (i = 0; i < testAdditionalParamArray.length; i++) {
assert_equals(date.toDateString(testAdditionalParamArray[i]), expectedDateString, this.name);
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocalTimezone</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>
<script>
//==== TEST: TZDate_toLocalTimezone
-//==== LABEL: Check if method toLocalTimezone of TZDate works properly.
+//==== LABEL Check if method toLocalTimezone of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue = null;
returnedValue = currentTZDate.toLocalTimezone();
assert_true(returnedValue instanceof tizen.TZDate, "TZDate check");
-}, "TZDate_toLocalTimezone");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocalTimezone_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocalTimezone_exist
-//==== LABEL: Check if toLocalTimezone method exists in TimeManager.
+//==== LABEL Check if toLocalTimezone method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toLocalTimezone" in currentTZDate, "toLocalTimezone method exists");
check_method_exists(currentTZDate, "toLocalTimezone");
-}, "TZDate_toLocalTimezone_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocalTimezone_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>
<script>
//==== TEST: TZDate_toLocalTimezone_extra_argument
-//==== LABEL: Check if method toLocalTimezone of TZDate accepts extra argument
+//==== LABEL Check if method toLocalTimezone of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toLocalTimezone");
-}, "TZDate_toLocalTimezone_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocalTimezone_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: TZDate_toLocalTimezone_for_specific_date
-//==== LABEL tizen.TZDate.toLocalTimezone (null) WRONG argument(s)
+//==== LABEL Tizen.TZDate.toLocalTimezone (null) WRONG argument(s)
//==== SPEC Tizen Web API:System:Time:TZDate:toLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var date = new tizen.TZDate();
date.toLocalTimezone(null);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleDateString</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>
<script>
//==== TEST: TZDate_toLocaleDateString
-//==== LABEL: Check if method toLocaleDateString of TZDate works properly.
+//==== LABEL Check if TZDate::ToLocaleDateString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toLocaleDateString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toLocaleDateString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleDateString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleDateString_exist
-//==== LABEL: Check if toLocaleDateString method exists in TimeManager.
+//==== LABEL Check if toLocaleDateString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toLocaleDateString" in currentTZDate, "toLocaleDateString method exists");
check_method_exists(currentTZDate, "toLocaleDateString");
-}, "TZDate_toLocaleDateString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleDateString_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>
<script>
//==== TEST: TZDate_toLocaleDateString_extra_argument
-//==== LABEL: Check if method toLocaleDateString of TZDate accepts extra argument
+//==== LABEL Check if method toLocaleDateString of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toLocaleDateString");
-}, "TZDate_toLocaleDateString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleDateString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleDateString_for_specific_date
-//==== LABEL check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string
+//==== LABEL Check whether toLocaleDateString() method correctly returns the date portion of a TZDate object as a string
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
var expectedLocaleDateString = "Friday, 11 November 2011";
assert_equals(date.toLocaleDateString(), expectedLocaleDateString, this.name);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleString</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>
<script>
//==== TEST: TZDate_toLocaleString
-//==== LABEL: Check if method toLocaleString of TZDate works properly.
+//==== LABEL Check if TZDate::ToLocaleString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toLocaleString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toLocaleString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleString_exist
-//==== LABEL: Check if toLocaleString method exists in TimeManager.
+//==== LABEL Check if toLocaleString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toLocaleString" in currentTZDate, "toLocaleString method exists");
check_method_exists(currentTZDate, "toLocaleString");
-}, "TZDate_toLocaleString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleString_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>
<script>
//==== TEST: TZDate_toLocaleString_extra_argument
-//==== LABEL: Check if method toLocaleString of TZDate accepts extra argument
+//==== LABEL Check if method toLocaleString of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toLocaleString");
-}, "TZDate_toLocaleString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleString_for_specific_date
-//==== LABEL check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions
+//==== LABEL Check whether toLocaleString() method correctly converts a TZDate object to a string, using locale conventions
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
assert_regexp_match(date.toLocaleString(), /Friday, 11 November 2011 4:55:54/, this.name);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleTimeString</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>
<script>
//==== TEST: TZDate_toLocaleTimeString
-//==== LABEL: Check if method toLocaleTimeString of TZDate works properly.
+//==== LABEL Check if TZDate::ToLocaleTimeString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toLocaleTimeString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toLocaleTimeString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleTimeString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleTimeString_exist
-//==== LABEL: Check if toLocaleTimeString method exists in TimeManager.
+//==== LABEL Check if toLocaleTimeString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toLocaleTimeString" in currentTZDate, "toLocaleTimeString method exists");
check_method_exists(currentTZDate, "toLocaleTimeString");
-}, "TZDate_toLocaleTimeString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleTimeString_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>
<script>
//==== TEST: TZDate_toLocaleTimeString_extra_argument
-//==== LABEL: Check if method toLocaleTimeString of TZDate accepts extra argument
+//==== LABEL Check if method toLocaleTimeString of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toLocaleTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toLocaleTimeString");
-}, "TZDate_toLocaleTimeString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toLocaleTimeString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toLocaleTimeString_for_specific_date
-//==== LABEL check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string
+//==== LABEL Check whether toLocaleTimeString() method correctly returns the time portion of a TZDate object as a string
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
assert_regexp_match(date.toLocaleTimeString(), /0?4:55:54/, this.name);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toString</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>
<script>
//==== TEST: TZDate_toString
-//==== LABEL: Check if method toString of TZDate works properly.
+//==== LABEL Check if TZDate::ToString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toString_exist
-//==== LABEL: Check if toString method exists in TimeManager.
+//==== LABEL Check if toString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toString" in currentTZDate, "toString method exists");
check_method_exists(currentTZDate, "toString");
-}, "TZDate_toString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toString_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>
<script>
//==== TEST: TZDate_toString_extra_argument
-//==== LABEL: Check if method toString of TZDate accepts extra argument
+//==== LABEL Check if method toString of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toString");
-}, "TZDate_toString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toString_for_specific_date
-//==== LABEL check whether toString() method converts a TZDate object to a string correctly
+//==== LABEL toString() method converts a TZDate object to a string correctly
//==== SPEC Tizen Web API:System:Time:TZDate:toString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
assert_regexp_match(date.toString(), /Friday, November 11, 2011 0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimeString</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>
<script>
//==== TEST: TZDate_toTimeString
-//==== LABEL: Check if method toTimeString of TZDate works properly.
+//==== LABEL Check if TZDate::ToTimeString() method returns non-empty string
//==== SPEC: Tizen Web API:System:Time:TZDate:toTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = currentTZDate.toTimeString();
assert_type(returnedValue, "string", "type check");
assert_not_equals(returnedValue, "", "returned");
-}, "TZDate_toTimeString");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimeString_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toTimeString_exist
-//==== LABEL: Check if toTimeString method exists in TimeManager.
+//==== LABEL Check if toTimeString method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toTimeString" in currentTZDate, "toTimeString method exists");
check_method_exists(currentTZDate, "toTimeString");
-}, "TZDate_toTimeString_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimeString_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>
<script>
//==== TEST: TZDate_toTimeString_extra_argument
-//==== LABEL: Check if method toTimeString of TZDate accepts extra argument
+//==== LABEL Check whether Tizen.TZDate.getMonth() extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toTimeString");
-}, "TZDate_toTimeString_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimeString_for_specific_date</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toTimeString_for_specific_date
-//==== LABEL check whether toTimeString() method correctly returns the time portion of a TZDate object as a string
+//==== LABEL Check whether toTimeString() method correctly returns the time portion of a TZDate object as a string
//==== SPEC Tizen Web API:System:Time:TZDate:toTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
test(function () {
assert_regexp_match(date.toTimeString(), /0?4:55:54( AM)? GMT\+0900 South Korea Time/, this.name);
-});
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimezone</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>
<script>
//==== TEST: TZDate_toTimezone
-//==== LABEL: Check if method toTimezone of TZDate works properly.
+//==== LABEL Check if method toTimezone of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:toTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue = null;
returnedValue = currentTZDate.toTimezone("Europe/Berlin");
assert_true(returnedValue instanceof tizen.TZDate, "TZDate check");
-}, "TZDate_toTimezone");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toTimezone_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toTimezone_exist
-//==== LABEL: Check if toTimezone method exists in TimeManager.
+//==== LABEL Check if toTimezone method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toTimezone" in currentTZDate, "toTimezone method exists");
check_method_exists(currentTZDate, "toTimezone");
-}, "TZDate_toTimezone_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toUTC</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>
<script>
//==== TEST: TZDate_toUTC
-//==== LABEL: Check if method toUTC of TZDate works properly.
+//==== LABEL Check if method toUTC of TZDate works properly.
//==== SPEC: Tizen Web API:System:Time:TZDate:toUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
var currentTZDate = tizen.time.getCurrentDateTime(), returnedValue = null;
returnedValue = currentTZDate.toUTC();
assert_true(returnedValue instanceof tizen.TZDate, "TZDate check");
-}, "TZDate_toUTC");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toUTC_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TZDate_toUTC_exist
-//==== LABEL: Check if toUTC method exists in TimeManager.
+//==== LABEL Check if toUTC method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TZDate:toUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTZDate = tizen.time.getCurrentDateTime();
assert_true("toUTC" in currentTZDate, "toUTC method exists");
check_method_exists(currentTZDate, "toUTC");
-}, "TZDate_toUTC_exist");
+}, document.title);
</script>
</body>
<head>
<title>TZDate_toUTC_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>
<script>
//==== TEST: TZDate_toUTC_extra_argument
-//==== LABEL: Check if method toUTC of TZDate accepts extra argument
+//==== LABEL Check if method toUTC of TZDate accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TZDate:toUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
var currentTZDate = tizen.time.getCurrentDateTime();
checkExtraArgument(currentTZDate, "toUTC");
-}, "TZDate_toUTC_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_constructor_maximal</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_constructor_maximal
-//==== LABEL: Test whether the maximal constructor of the TimeDuration interface is defined or not.
+//==== LABEL Test whether the maximal constructor of the TimeDuration interface is defined or not.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
assert_type(timeduration, "object", "type check");
assert_equals(timeduration.length, 20, "length attribute value check");
assert_equals(timeduration.unit, "DAYS", "unit attribute value check");
-}, "TimeDuration_constructor_maximal");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_constructor_minimal</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_constructor_minimal
-//==== LABEL: Test whether the minimal constructor of the TimeDuration interface is defined or not.
+//==== LABEL Test whether the minimal constructor of the TimeDuration interface is defined or not.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
assert_true(timeduration instanceof tizen.TimeDuration, "TimeDuration check");
assert_type(timeduration, "object", "type check");
assert_equals(timeduration.length, 20, "length attribute value check");
-}, "TimeDuration_constructor_minimal");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_difference</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>
<script>
//==== TEST: TimeDuration_difference
-//==== LABEL: Check if method difference of TimeDuration works properly.
+//==== LABEL Check if method difference of TimeDuration works properly.
//==== SPEC: Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
assert_true(returnedValue instanceof tizen.TimeDuration, "TimeDuration check");
assert_equals(returnedValue.length, -59, "length check");
assert_equals(returnedValue.unit, "DAYS", "length check");
-}, "TimeDuration_difference");
+}, document.title);
</script>
</body>
<html>
<head>
<title>TimeDuration_difference_checkDurationDifference</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_difference_checkDurationDifference
-//==== LABEL check difference method TimeDuration interface works successfully
+//==== LABEL Check difference method TimeDuration interface works successfully
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
d1 = new tizen.TimeDuration(1, "DAYS");
d2 = new tizen.TimeDuration(2, "DAYS");
assert_true(d2.difference(d1) instanceof tizen.TimeDuration, "check type tizen.TimeDuration");
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_difference_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_difference_exist
-//==== LABEL: Check if difference method exists in TimeDuration.
+//==== LABEL Check if difference method exists in TimeDuration.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
assert_true("difference" in currentTimeDuration, "difference method exists");
check_method_exists(currentTimeDuration, "difference");
-}, "TimeDuration_difference_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_difference_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_difference_missarg
-//==== LABEL: Check if difference method with missing non-optional argument works in TimeDuration
+//==== LABEL Check if difference method with missing non-optional argument works in TimeDuration
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration.difference();
});
-}, "TimeDuration_difference_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_difference_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_difference_other_TypeMismatch
-//==== LABEL: Check argument difference conversions exception in TimeDuration.
+//==== LABEL Check argument difference conversions exception in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTimeDuration.difference(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_difference_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_difference_other_invalid_obj
-//==== LABEL: Check argument validation in difference method in TimeDuration.
+//==== LABEL Check argument validation in difference method in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:difference M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTimeDuration[0] = new tizen.TimeDuration(1, "DAYS");
currentTimeDuration[1] = {length: 2, unit: "MINS"};
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTimeDuration[0].difference(currentTimeDuration[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TimeDuration_difference_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_equalsTo</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>
<script>
//==== TEST: TimeDuration_equalsTo
-//==== LABEL: Check if method equalsTo of TimeDuration works properly.
+//==== LABEL Check if method equalsTo of TimeDuration works properly.
//==== SPEC: Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
timeDuration2 = new tizen.TimeDuration(60, "DAYS");
returnedValue = timeDuration1.equalsTo(timeDuration2);
assert_equals(returnedValue, false, "equalsTo value check");
-}, "TimeDuration_equalsTo");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_equalsTo_checkDurationEqual
-//==== LABEL check equalsTo method TimeDuration interface works successfully
+//==== LABEL Check equalsTo method TimeDuration interface works successfully
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
d2 = new tizen.TimeDuration(1, "HOURS");
ret = d1.equalsTo(d2);
assert_equals(ret, true, "equalsTo check");
-}, "TimeDuration_equalsTo_checkDurationEqual");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_equalsTo_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_equalsTo_exist
-//==== LABEL: Check if equalsTo method exists in TimeDuration.
+//==== LABEL Check if equalsTo method exists in TimeDuration.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
assert_true("equalsTo" in currentTimeDuration, "equalsTo method exists");
check_method_exists(currentTimeDuration, "equalsTo");
-}, "TimeDuration_equalsTo_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_equalsTo_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_equalsTo_missarg
-//==== LABEL: Check if equalsTo method with missing non-optional argument works in TimeDuration
+//==== LABEL Check if equalsTo method with missing non-optional argument works in TimeDuration
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration.equalsTo();
});
-}, "TimeDuration_equalsTo_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_equalsTo_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_equalsTo_other_TypeMismatch
-//==== LABEL: Check argument equalsTo conversions exception in TimeDuration.
+//==== LABEL Check argument equalsTo conversions exception in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTimeDuration.equalsTo(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_equalsTo_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_equalsTo_other_invalid_obj
-//==== LABEL: Check argument validation in equalsTo method in TimeDuration.
+//==== LABEL Check argument validation in equalsTo method in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:equalsTo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTimeDuration[0] = new tizen.TimeDuration(1, "DAYS");
currentTimeDuration[1] = {length: 2, unit: "MINS"};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration[0].equalsTo(currentTimeDuration[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TimeDuration_equalsTo_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_exist
-//==== LABEL: Test whether the constructor of the TimeDuration interface is defined or not.
+//==== LABEL Test whether the constructor of the TimeDuration interface is defined or not.
//==== PRIORITY: P0
//==== SPEC: Tizen Web API:System:Time:TimeDuration:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA CONSTRF
test(function () {
check_constructor("TimeDuration");
-}, "TimeDuration_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_extend</title>
<script src="support/time_dcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: TimeDuration_extend
-//==== LABEL: test whether TimeDuration the object can have new attribute added
+//==== LABEL Test whether TimeDuration the object can have new attribute added
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:System:Time:TimeDuration:TimeDuration U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
check_extensibility(currentTimeDuration);
-}, "TimeDuration_extend");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_greaterThan</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>
<script>
//==== TEST: TimeDuration_greaterThan
-//==== LABEL: Check if method greaterThan of TimeDuration works properly.
+//==== LABEL Check if method greaterThan of TimeDuration works properly.
//==== SPEC: Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
timeDuration2 = new tizen.TimeDuration(60, "DAYS");
returnedValue = timeDuration1.greaterThan(timeDuration2);
assert_equals(returnedValue, false, "equalsTo value check");
-}, "TimeDuration_greaterThan");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_greaterThan_checkDurationGreater
-//==== LABEL check greaterThan method TimeDuration interface works successfully
+//==== LABEL Check greaterThan method TimeDuration interface works successfully
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
d2 = new tizen.TimeDuration(1, "HOURS"); // 1 hour
ret = d1.greaterThan(d2);
assert_equals(ret, true, "greaterThan check");
-}, "TimeDuration_greaterThan_checkDurationGreater");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_greaterThan_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_greaterThan_exist
-//==== LABEL: Check if greaterThan method exists in TimeManager.
+//==== LABEL Check if greaterThan method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
assert_true("greaterThan" in currentTimeDuration, "greaterThan method exists");
check_method_exists(currentTimeDuration, "greaterThan");
-}, "TimeDuration_greaterThan_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_greaterThan_missarg</title>
<script src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_greaterThan_missarg
-//==== LABEL: Check if greaterThan method with missing non-optional argument works
+//==== LABEL Check if greaterThan method with missing non-optional argument works
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
- assert_throws({name: TYPE_MISMATCH_ERR},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration.greaterThan();
});
-}, "TimeDuration_greaterThan_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_greaterThan_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_greaterThan_other_TypeMismatch
-//==== LABEL: Check argument greaterThan conversions exception.
+//==== LABEL Check argument greaterThan conversions exception.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTimeDuration.greaterThan(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_greaterThan_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_greaterThan_other_invalid_obj
-//==== LABEL: Check argument validation in greaterThan method in TimeDuration.
+//==== LABEL Check argument validation in greaterThan method in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:greaterThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTimeDuration[0] = new tizen.TimeDuration(1, "DAYS");
currentTimeDuration[1] = {length: 2, unit: "MINS"};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration[0].greaterThan(currentTimeDuration[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TimeDuration_greaterThan_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_length_attribute</title>
<script src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: TimeDuration_length_attribute
-//==== LABEL: check attribute length
+//==== LABEL Check existent and type attribute length
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:length A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
check_attribute(timeDuration, "length", 1, "number", 5);
timeDuration.length = null;
assert_not_equals(timeDuration.length, null, "operation no accept null");
-}, "TimeDuration_length_attribute");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_lessThan</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>
<script>
//==== TEST: TimeDuration_lessThan
-//==== LABEL: Check if method lessThan of TimeDuration works properly.
+//==== LABEL Check if method lessThan of TimeDuration works properly.
//==== SPEC: Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
timeDuration2 = new tizen.TimeDuration(60, "DAYS");
returnedValue = timeDuration1.lessThan(timeDuration2);
assert_equals(returnedValue, true, "equalsTo value check");
-}, "TimeDuration_lessThan");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_lessThan_checkDurationLower
-//==== LABEL check lessThan method TimeDuration interface works successfully
+//==== LABEL Check lessThan method TimeDuration interface works successfully
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
d2 = new tizen.TimeDuration(1, "MINS");
ret = d1.lessThan(d2);
assert_equals(ret, false, "lessThan check");
-}, "TimeDuration_lessThan_checkDurationLower");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_lessThan_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_lessThan_exist
-//==== LABEL: Check if lessThan method exists in TimeManager.
+//==== LABEL Check if lessThan method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
assert_true("lessThan" in currentTimeDuration, "lessThan method exists");
check_method_exists(currentTimeDuration, "lessThan");
-}, "TimeDuration_lessThan_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_lessThan_missarg</title>
<script src="support/downloadcommon.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<p><a href="https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html" >spec reference</a></p>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_lessThan_missarg
-//==== LABEL: Check if lessThan method with missing non-optional argument works
+//==== LABEL Check if lessThan method with missing non-optional argument works
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMA
test(function () {
var currentTimeDuration = new tizen.TimeDuration(1, "DAYS");
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration.lessThan();
});
-}, "TimeDuration_lessThan_missarg");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_lessThan_other_TypeMismatch</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_lessThan_other_TypeMismatch
-//==== LABEL: Check argument lessThan conversions exception.
+//==== LABEL Check argument lessThan conversions exception.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
other = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
currentTimeDuration.lessThan(other);
}, exceptionName + " should be thrown - given incorrect successCallback.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_lessThan_other_invalid_obj</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeDuration_lessThan_other_invalid_obj
-//==== LABEL: Check argument validation in lessThan method in TimeDuration.
+//==== LABEL Check argument validation in lessThan method in TimeDuration.
//==== PRIORITY: P2
//==== SPEC: Tizen Web API:System:Time:TimeDuration:lessThan M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
currentTimeDuration[0] = new tizen.TimeDuration(1, "DAYS");
currentTimeDuration[1] = {length: 2, unit: "MINS"};
- assert_throws({name : exceptionName},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
currentTimeDuration[0].lessThan(currentTimeDuration[1]);
}, exceptionName + " should be thrown - given incorrect argument.");
-}, "TimeDuration_lessThan_other_invalid_obj");
+}, document.title);
</script>
</body>
<head>
<title>TimeDuration_unit_attribute</title>
<script src="support/time_common.js"></script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: TimeDuration_unit_attribute
-//==== LABEL: check attribute unit
+//==== LABEL Check existent and type attribute unit
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeDuration:unit A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
check_attribute(timeDuration, "unit", "DAYS", "string", "SECS");
timeDuration.unit = null;
assert_not_equals(timeDuration.unit, null, "operation no accept null");
-}, "TimeDuration_unit_attribute");
+}, document.title);
</script>
</body>
<head>
<title>TimeManagerObject_notexist</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/time_common.js"></script>
</head>
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("TimeManagerObject");
-}, "TimeManagerObject_notexist");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_extend</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_extend
-//==== LABEL: test whether the TimeManager object can have new attribute added
+//==== LABEL Test whether the TimeManager object can have new attribute added
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:System:Time:TimeUtil:TimeUtil U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA OBX
test(function () {
check_extensibility(tizen.time);
-}, "TimeUtil_extend");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getAvailableTimezones</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>
<script>
//==== TEST: TimeUtil_getAvailableTimezones
-//==== LABEL: Check if method getAvailableTimezones of TimeUtil works properly.
+//==== LABEL Check if method getAvailableTimezones of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getAvailableTimezones M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
for (i = 0; i < returnedValue.length; i++) {
assert_type(returnedValue[i], "string", "Timezone type - " + i);
}
-}, "TimeUtil_getAvailableTimezones");
+}, document.title);
</script>
</body>
<html>
<head>
<title>TimeUtil_getAvailableTimezones_checkEuropeBerlin</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getAvailableTimezones_checkEuropeBerlin
-//==== LABEL check EuropeBerlin is included in available timezones
+//==== LABEL Check EuropeBerlin is included in available timezones
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeUtil:getAvailableTimezones M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
break;
}
}
- assert_true(time_zone,"Europe/Berlin is a time zone");
-}, "TimeUtil_getAvailableTimezones_checkEuropeBerlin");
+ assert_true(time_zone, "Europe/Berlin is a time zone");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getAvailableTimezones_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getAvailableTimezones_exist
-//==== LABEL: Check if getAvailableTimezones method exists in TimeManager.
+//==== LABEL Check if getAvailableTimezones method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getAvailableTimezones M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("getAvailableTimezones" in tizen.time, "getAvailableTimezones method exists");
check_method_exists(tizen.time, "getAvailableTimezones");
-}, "TimeUtil_getAvailableTimezones_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getAvailableTimezones_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>
<script>
//==== TEST: TimeUtil_getAvailableTimezones_extra_argument
-//==== LABEL: Check if method getAvailableTimezones of TimeUtil accepts extra argument
+//==== LABEL Check if method getAvailableTimezones of TimeUtil accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getAvailableTimezones M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
checkExtraArgument(tizen.time, "getAvailableTimezones");
-}, "TimeUtil_getAvailableTimezones_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getCurrentDateTime</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>
<script>
//==== TEST: TimeUtil_getCurrentDateTime
-//==== LABEL: Check if method getCurrentDateTime of TimeUtil works properly.
+//==== LABEL Check if method getCurrentDateTime of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getCurrentDateTime M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA
returnedValue = tizen.time.getCurrentDateTime();
assert_type(returnedValue, "object", "value type");
assert_not_equals(returnedValue, null, "null check");
-}, "TimeUtil_getCurrentDateTime");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getCurrentDateTime_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getCurrentDateTime_exist
-//==== LABEL: Check if getCurrentDateTime method exists in TimeManager.
+//==== LABEL Check if getCurrentDateTime method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getCurrentDateTime M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("getCurrentDateTime" in tizen.time, "getCurrentDateTime method exists");
check_method_exists(tizen.time, "getCurrentDateTime");
-}, "TimeUtil_getCurrentDateTime_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getCurrentDateTime_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>
<script>
//==== TEST: TimeUtil_getCurrentDateTime_extra_argument
-//==== LABEL: Check if method getCurrentDateTime of TimeUtil accepts extra argument
+//==== LABEL Check if method getCurrentDateTime of TimeUtil accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getCurrentDateTime M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
checkExtraArgument(tizen.time, "getCurrentDateTime");
-}, "TimeUtil_getCurrentDateTime_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getCurrentDateTime_instanceof</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getCurrentDateTime_instanceof
-//==== LABEL check whether getCurrentDateTime() method returns the current date / time correctly
+//==== LABEL Check whether getCurrentDateTime() method returns the current date / time correctly
//==== SPEC Tizen Web API:System:Time:TimeUtil:getCurrentDateTime M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
for (i = 0; i < testAdditionalParamArray.length; i++) {
assert_true(tizen.time.getCurrentDateTime(testAdditionalParamArray[i]) instanceof tizen.TZDate, "testGetCurrentDateTime() date:");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getDateFormat</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>
<script>
//==== TEST: TimeUtil_getDateFormat
-//==== LABEL: Check if method getDateFormat of TimeUtil works properly.
+//==== LABEL Check if method getDateFormat of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getDateFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MOA MR
returnedValue = tizen.time.getDateFormat(shortformat);
assert_type(returnedValue, "string", "Timezone type");
assert_equals(returnedValue, def, "Date format");
-}, "TimeUtil_getDateFormat");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getDateFormat_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getDateFormat_exist
-//==== LABEL: Check if getDateFormat method exists in TimeManager.
+//==== LABEL Check if getDateFormat method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getDateFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("getDateFormat" in tizen.time, "getDateFormat method exists");
check_method_exists(tizen.time, "getDateFormat");
-}, "TimeUtil_getDateFormat_exist");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getDateFormat_valid
-//==== LABEL check if date format is valid
+//==== LABEL Check if date format is valid
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeUtil:getDateFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
dateFormat = tizen.time.getDateFormat();
assert_true(dateFormat === "d/m/y" || dateFormat === "y-d-m" || dateFormat === "D, M d y" ||
dateFormat === "D, d M y" || dateFormat === "D, M d, y", "format is valid");
-}, "TimeUtil_getDateFormat_valid");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getLocalTimezone</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>
<script>
//==== TEST: TimeUtil_getLocalTimezone
-//==== LABEL: Check if method getLocalTimezone of TimeUtil works properly.
+//==== LABEL Check if method getLocalTimezone of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = tizen.time.getLocalTimezone();
assert_type(returnedValue, "string", "Value type");
assert_equals(returnedValue, "Asia/Seoul", "Local timezone value");
-}, "TimeUtil_getLocalTimezone");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getLocalTimezone_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getLocalTimezone_exist
-//==== LABEL: Check if getLocalTimezone method exists in TimeManager.
+//==== LABEL Check if getLocalTimezone method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("getLocalTimezone" in tizen.time, "getLocalTimezone method exists");
check_method_exists(tizen.time, "getLocalTimezone");
-}, "TimeUtil_getLocalTimezone_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getLocalTimezone_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>
<script>
//==== TEST: TimeUtil_getLocalTimezone_extra_argument
-//==== LABEL: Check if method getLocalTimezone of TimeUtil accepts extra argument
+//==== LABEL Check if method getLocalTimezone of TimeUtil accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getLocalTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
checkExtraArgument(tizen.time, "getLocalTimezone");
-}, "TimeUtil_getLocalTimezone_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getTimeFormat</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>
<script>
//==== TEST: TimeUtil_getTimeFormat
-//==== LABEL: Check if method getTimeFormat of TimeUtil works properly.
+//==== LABEL Check if method getTimeFormat of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getTimeFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
returnedValue = tizen.time.getTimeFormat();
assert_type(returnedValue, "string", "Time format type");
assert_equals(returnedValue, def, "Time format");
-}, "TimeUtil_getTimeFormat");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getTimeFormat_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_getTimeFormat_exist
-//==== LABEL: Check if getTimeFormat method exists in TimeManager.
+//==== LABEL Check if getTimeFormat method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getTimeFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("getTimeFormat" in tizen.time, "getTimeFormat method exists");
check_method_exists(tizen.time, "getTimeFormat");
-}, "TimeUtil_getTimeFormat_exist");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_getTimeFormat_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>
<script>
//==== TEST: TimeUtil_getTimeFormat_extra_argument
-//==== LABEL: Check if method getTimeFormat of TimeUtil accepts extra argument
+//==== LABEL Check if method getTimeFormat of TimeUtil accepts extra argument
//==== SPEC: Tizen Web API:System:Time:TimeUtil:getTimeFormat M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNAEX
test(function () {
checkExtraArgument(tizen.time, "getTimeFormat");
-}, "TimeUtil_getTimeFormat_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_isLeapYear</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>
<script>
//==== TEST: TimeUtil_isLeapYear
-//==== LABEL: Check if method isLeapYear of TimeUtil works properly.
+//==== LABEL Check if method isLeapYear of TimeUtil works properly.
//==== SPEC: Tizen Web API:System:Time:TimeUtil:isLeapYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
assert_equals(returnedValue, true, "Is leap year");
returnedValue = tizen.time.isLeapYear(year_nl);
assert_equals(returnedValue, false, "Is not leap year");
-}, "TimeUtil_isLeapYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>TimeUtil_isLeapYear_allZero</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_isLeapYear_allZero
-//==== LABEL check TimeUtil interface isLeapYear method with parameter zero
+//==== LABEL Check TimeUtil interface isLeapYear method with parameter zero
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeUtil:isLeapYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var is_leap = null;
is_leap = tizen.time.isLeapYear(0);
assert_true(is_leap, "check is_leap");
-}, "TimeUtil_isLeapYear_allZero");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_isLeapYear_exist</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_isLeapYear_exist
-//==== LABEL: Check if isLeapYear method exists in TimeManager.
+//==== LABEL Check if isLeapYear method exists in TimeManager.
//==== PRIORITY: P1
//==== SPEC: Tizen Web API:System:Time:TimeUtil:isLeapYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("isLeapYear" in tizen.time, "isLeapYear method exists");
check_method_exists(tizen.time, "isLeapYear");
-}, "TimeUtil_isLeapYear_exist");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: TimeUtil_isLeapYear_negative
-//==== LABEL check TimeUtil interface isLeapYear method with parameter negative
+//==== LABEL Check TimeUtil interface isLeapYear method with parameter negative
//==== PRIORITY P1
//==== SPEC Tizen Web API:System:Time:TimeUtil:isLeapYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var is_leap = null;
is_leap = tizen.time.isLeapYear(-2000);
assert_true(is_leap, "check is_leap");
-}, "TimeUtil_isLeapYear_negative");
+}, document.title);
</script>
</body>
<head>
<title>TimeUtil_notexist</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/time_common.js"></script>
</head>
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("TimeUtil");
-}, "TimeUtil_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithCharacter</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().difference("abcd");
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_difference_compareWithCharacter");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithEqual</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tzEqual1 = tzEqual;
diff = tzEqual1.difference(tzEqual);
assert_equals(diff.length, 0, "time should be equal");
-}, "Time_TZDate_difference_compareWithEqual");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithFutureDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzFuture);
- assert_equals(diff.length, -2);
- assert_equals(diff.unit, "DAYS");
-});
+ assert_equals(diff.length, -2, "diff.length check");
+ assert_equals(diff.unit, "DAYS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithFutureHour</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzFuture);
- assert_equals(diff.length, -3600000);
- assert_equals(diff.unit, "MSECS");
-}, "Time_TZDate_difference_compareWithFutureHour");
+ assert_equals(diff.length, -3600000, "diff.unit check");
+ assert_equals(diff.unit, "MSECS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithFutureSeconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzFuture);
- assert_equals(diff.length, -20000);
- assert_equals(diff.unit, "MSECS");
-}, "Time_TZDate_difference_compareWithFutureSeconds");
+ assert_equals(diff.length, -20000, "diff.length check");
+ assert_equals(diff.unit, "MSECS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithFutureYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzFuture);
- assert_equals(diff.length, -365);
- assert_equals(diff.unit, "DAYS");
-}, "Time_TZDate_difference_compareWithFutureYear");
+ assert_equals(diff.length, -365, "diff.length check");
+ assert_equals(diff.unit, "DAYS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithPastDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzPast);
- assert_equals(diff.length, 2);
- assert_equals(diff.unit, "DAYS");
-}, "Time_TZDate_difference_compareWithPastDate");
+ assert_equals(diff.length, 2, "diff.length check");
+ assert_equals(diff.unit, "DAYS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithPastHour</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzPast);
- assert_equals(diff.length, 18000000); // 5 hours in msecs
- assert_equals(diff.unit, "MSECS");
-}, "Time_TZDate_difference_compareWithPastHour");
+ assert_equals(diff.length, 18000000, "diff.length check"); // 5 hours in msecs
+ assert_equals(diff.unit, "MSECS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithPastSeconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzPast);
- assert_equals(diff.length, 20000);
- assert_equals(diff.unit, "MSECS");
-}, "Time_TZDate_difference_compareWithPastSeconds");
+ assert_equals(diff.length, 20000, "diff.length check");
+ assert_equals(diff.unit, "MSECS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_difference_compareWithPastYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
diff;
diff = tzNow.difference(tzPast);
- assert_equals(diff.length, 365);
- assert_equals(diff.unit, "DAYS");
-}, "Time_TZDate_difference_compareWithPastSeconds");
+ assert_equals(diff.length, 365, "diff.length check");
+ assert_equals(diff.unit, "DAYS", "diff.unit check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_character</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().earlierThan("abcd");
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_earlierThan_character");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_falseEqual</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
res = tzOther.earlierThan(tzOther);
assert_equals(res, false, "TZDate is equal to another, result should be false");
-}, "Time_TZDate_earlierThan_falseEqual");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_falseLater</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tzyOther = tzOther.getFullYear();
res = tizen.time.getCurrentDateTime().earlierThan(tzOther);
- assert_equals(tzyCur-1, tzyOther);
+ assert_equals(tzyCur - 1, tzyOther, "getFullYear check");
assert_equals(res, false, "TZDate is later than another, result should be false");
-}, "Time_TZDate_earlierThan_falseLater");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_number</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().earlierThan(123);
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_earlierThan_number");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_stringTZDate</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/time_common.js"></script>
</head>
//==== TEST_CRITERIA MC
test(function () {
var tzStr = tizen.time.getCurrentDateTime().toString();
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().earlierThan(tzStr);
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_earlierThan_stringTZDate");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_timezone</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
res = tizen.time.getCurrentDateTime().earlierThan(tzOther);
assert_false(res, "earlierThan check");
-}, "Time_TZDate_earlierThan_timezone");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_earlierThan_true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
res = tizen.time.getCurrentDateTime().earlierThan(tzOther);
assert_equals(res, true, "TZDate is earlier than another, result should be true");
-}, "Time_TZDate_earlierThan_true");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_equalsTo_character</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().equalsTo("abcd");
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_equalsTo_character");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_equalsTo_diff</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/time_common.js"></script>
</head>
res = tizen.time.getCurrentDateTime().equalsTo(tzDiff);
assert_equals(res, false, "Two different tzDate obj compare should be different.");
-}, "Time_TZDate_equalsTo_diff");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_equalsTo_equal</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/time_common.js"></script>
</head>
tzEqual1 = tzEqual;
res = tzEqual1.equalsTo(tzEqual);
assert_equals(res, true, "Two same tzDate obj compare result should be true");
-}, "Time_TZDate_equalsTo_equal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_equalsTo_number</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().equalsTo(123);
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_equalsTo_number");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_date = myDate.getDate();
assert_equals(act_date, exp_date, "data check");
-}, "Time_TZDate_getDate");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getDay</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_day = myDate.getDay();
day = tizen.time.getCurrentDateTime().getDay();
assert_equals(day, exp_day, "day check");
-}, "Time_TZDate_getDay");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getFullYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_fullYear = myDate.getFullYear();
fullYear = tizen.time.getCurrentDateTime().getFullYear();
assert_equals(fullYear, exp_fullYear, "fullYear check");
-}, "Time_TZDate_getFullYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getHours</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_hours = myDate.getHours();
hours = tizen.time.getCurrentDateTime().getHours();
- assert_equals(hours,exp_hours, "hours check");
-}, "Time_TZDate_getHours");
+ assert_equals(hours, exp_hours, "hours check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getMilliseconds</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/time_common.js"></script>
</head>
exp_ms = myDate.getMilliseconds();
ms = tizen.time.getCurrentDateTime().getMilliseconds();
assert_approx_equals(ms, exp_ms, 10, "getMilliseconds()");
-}, "Time_TZDate_getMilliseconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getMinutes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_mins = myDate.getMinutes();
mins = tizen.time.getCurrentDateTime().getMinutes();
- assert_equals(mins,exp_mins, "minutes check");
-}, "Time_TZDate_getMinutes");
+ assert_equals(mins, exp_mins, "minutes check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_month = myDate.getMonth();
month = tizen.time.getCurrentDateTime().getMonth();
assert_equals(month, exp_month, "month check");
-}, "Time_TZDate_getMonth");
+}, document.title);
</script>
</body>
month = nextTr.getMonth();
assert_equals(month, 2, "month check");
assert_equals(day, 25, "day check");
-}, "Time_TZDate_getNextDSTTransition");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getNextDSTTransition_character</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/time_common.js"></script>
</head>
month = nextTr.getMonth();
assert_equals(month, 2, "month check");
assert_equals(day, 25, "day check");
-}, "Time_TZDate_getNextDSTTransition_character");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getNextDSTTransition_number</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/time_common.js"></script>
</head>
month = nextTr.getMonth();
assert_equals(month, 2, "month check");
assert_equals(day, 25, "day check");
-}, "Time_TZDate_getNextDSTTransition_number");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getPreviousDSTTransition</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
month = prevTr.getMonth();
assert_equals(month, 9, "month check");
assert_equals(day, 28, "day check");
-}, "Time_TZDate_getPreviousDSTTransition");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getPreviousDSTTransition_character</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/time_common.js"></script>
</head>
month = prevTr.getMonth();
assert_equals(month, 9, "month check");
assert_equals(day, 28, "day check");
-}, "Time_TZDate_getPreviousDSTTransition_character");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getPreviousDSTTransition_number</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/time_common.js"></script>
</head>
month = prevTr.getMonth();
assert_equals(month, 9, "month check");
assert_equals(day, 28, "day check");
-}, "Time_TZDate_getPreviousDSTTransition_number");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getSeconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secs = tizen.time.getCurrentDateTime().getSeconds(),
date2 = new Date();
assert_true(secs === date1.getSeconds() || secs === date2.getSeconds(), "seconds check");
-}, "Time_TZDate_Time_TZDate_getSeconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getTimezone</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var tzs = tizen.time.getCurrentDateTime().getTimezone();
assert_regexp_match(tzs, /(.+?)\/(.+?)/, "timezone check");
-}, "Time_TZDate_getTimezone");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getTimezoneAbbreviation_summerMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var td = new tizen.TZDate(2013, 8, 1, 1, 1, 1, 1, "America/New_York");
assert_equals(td.getTimezoneAbbreviation(), "EDT", "timezoneAbbreviation check");
-}, "Time_TZDate_getTimezoneAbbreviation_summerMonth");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
act_UTCdate = tizen.time.getCurrentDateTime().getUTCDate();
assert_equals(act_UTCdate, exp_UTCdate, "date check");
-}, "Time_TZDate_getUTCDate");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCDay</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCday = tizen.time.getCurrentDateTime().getUTCDay();
assert_equals(UTCday, exp_UTCday, "day check");
-}, "Time_TZDate_getUTCDay");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCFullYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCFullYear = tizen.time.getCurrentDateTime().getUTCFullYear();
assert_equals(UTCFullYear, exp_UTCFullYear, "fullYear check");
-}, "Time_TZDate_getUTCFullYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCHours</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_UTCHours = myDate.getUTCHours();
UTCHours = tizen.time.getCurrentDateTime().getUTCHours();
- assert_equals(UTCHours,exp_UTCHours, "hours check");
-}, "Time_TZDate_getUTCHours");
+ assert_equals(UTCHours, exp_UTCHours, "hours check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCMilliseconds</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/time_common.js"></script>
</head>
UTCMs = tizen.time.getCurrentDateTime().getUTCMilliseconds();
assert_approx_equals(UTCMs, exp_UTCMs, 10, "milliseconds check");
-}, "Time_TZDate_getUTCMilliseconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCMinutes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMins = tizen.time.getCurrentDateTime().getUTCMinutes();
assert_equals(UTCMins, exp_UTCMins, "minutes check");
-}, "Time_TZDate_getUTCMinutes");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_UTCMonth = myDate.getUTCMonth();
UTCMonth = tizen.time.getCurrentDateTime().getUTCMonth();
- assert_equals(UTCMonth,exp_UTCMonth, "month check");
-}, "Time_TZDate_getUTCMonth");
+ assert_equals(UTCMonth, exp_UTCMonth, "month check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_getUTCSeconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secs = tizen.time.getCurrentDateTime().getUTCSeconds(),
date2 = new Date();
assert_true(secs === date1.getUTCSeconds() || secs === date2.getUTCSeconds(), "seconds check");
-}, "Time_TZDate_getUTCSeconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_isDST_boundaryLowerLimit-true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var td = new tizen.TZDate(2012, 2, 25, 2, 0, 0, 0, "Europe/Berlin");
assert_true(td.isDST(), "isDST check");
-}, "Time_TZDate_isDST_boundaryLowerLimit-true");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_isDST_boundaryUpperLimit-true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var td = new tizen.TZDate(2012, 9, 28, 1, 1, 1, 1, "Europe/Berlin");
assert_true(td.isDST(), "isDST check");
-}, "Time_TZDate_isDST_boundaryUpperLimit-true");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_isDST_false</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var td = new tizen.TZDate(2012, 1, 1, 1, 1, 1, 1, "Europe/Berlin");
assert_false(td.isDST(), "isDST check");
-}, "Time_TZDate_isDST_false");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_isDST_true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var td = new tizen.TZDate(2012, 5, 1, 1, 1, 1, 1, "Europe/Berlin");
assert_true(td.isDST(), "isDST check");
-}, "Time_TZDate_isDST_true");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_character</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MC
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().laterThan("abcd");
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_laterThan_character");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_falseEarlier</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(tzyCur+1, tzyOther, "laterThan check");
assert_false(res, "TZDate is earlier than another, result should be false");
-}, "Time_TZDate_laterThan_falseEarlier");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_falseEqual</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
var td1 = new tizen.TZDate(2012, 5, 1, 1, 1, 1, 1),
td2 = new tizen.TZDate(2012, 5, 1, 1, 1, 1, 1);
assert_false(td2.laterThan(td1), "date should not be later than the same date");
-}, "Time_TZDate_laterThan_falseEqual");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_number</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/time_common.js"></script>
</head>
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
test(function () {
- assert_throws({name: "TypeMismatchError"},
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
function () {
tizen.time.getCurrentDateTime().laterThan(123);
}, "Specific TypeMismatchError exception.");
-}, "Time_TZDate_laterThan_number");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_timezone</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setSeconds(tz.getSeconds() + 1);
res = tz.laterThan(tzOther);
- assert_true(res,"laterThan check");
-}, "Time_TZDate_laterThan_timezone");
+ assert_true(res, "laterThan check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_laterThan_true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
res = tizen.time.getCurrentDateTime().laterThan(tzOther);
assert_equals(tzyCur-1, tzyOther, "laterThan check");
- assert_true(res,"laterThan check");
-}, "Time_TZDate_laterThan_true");
+ assert_true(res, "laterThan check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_secondsFromUTC</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_offset = myDate.getTimezoneOffset() * 60;
assert_equals(offset, exp_offset, "secondsFromUTC check");
-}, "Time_TZDate_secondsFromUTC");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_d = tz.getDate();
assert_not_equals(exp_d, set_date, "decimal 15.5 shouldn't be set to system date");
-}, "Time_TZDate_setDate_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setDate(set_date);
afterd = tz.getDate();
- assert_not_equals(afterd,set_date, "32 shouldn't be set to system date");
-}, "Time_TZDate_setDate_boundaryBiggerThanUpper");
+ assert_not_equals(afterd, set_date, "32 shouldn't be set to system date");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setDate(set_date);
afterd = tz.getDate();
- assert_not_equals(afterd,set_date, "-1 shouldn't be set to system date");
-}, "Time_TZDate_setDate_boundaryLessThanLower");
+ assert_not_equals(afterd, set_date, "-1 shouldn't be set to system date");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setDate(set_date);
dateAfterSet = tz.getDate();
- assert_equals(dateAfterSet, set_date);
-}, "Time_TZDate_setDate_boundaryLowerLimit");
+ assert_equals(dateAfterSet, set_date, "getDate check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = tz.getMonth();
dateAfterSet = tz.getDate();
- assert_equals(monthAfterSet, set_month);
- assert_equals(dateAfterSet, set_date);
-}, "Time_TZDate_setDate_boundaryUpperLimit");
+ assert_equals(monthAfterSet, set_month, "monthAfterSet check");
+ assert_equals(dateAfterSet, set_date, "dateAfterSet check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_invalidDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
dateAfterSet = tz.getDate();
assert_not_equals(dateAfterSet, set_date, "a shouldn't be set to system date");
-}, "Time_TZDate_setDate_invalidDate");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setDate(set_date);
expd = tz.getDate();
- assert_equals(expd, set_date);
-}, "Time_TZDate_setDate_normal");
+ assert_equals(expd, set_date, "expd check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_notExistDayForCertainMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "year should not change");
assert_equals(monthAfterSet, set_month + 1, "month shoult be a next month");
assert_equals(dateAfterSet, 1, "date should be 1");
-}, "Time_TZDate_setDate_notExistDayForCertainMonth");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_notExistDayForFebruaryLeapYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "years should be equal");
assert_equals(monthAfterSet, set_month + 1, "month should be next-one");
assert_equals(dateAfterSet, 1, "date should be 1st");
-}, "Time_TZDate_setDate_notExistDayForFebruaryLeapYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setDate_notExistDayForFebruaryNotLeapYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "years should be equal");
assert_equals(monthAfterSet, set_month + 1, "month should be next-one");
assert_equals(dateAfterSet, 1, "date should be 1st");
-}, "Time_TZDate_setDate_notExistDayForFebruaryNotLeapYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_not_equals(yearAfterSet, exp_fullYear, "years should not be equal");
assert_not_equals(yearAfterSet, set_fullYear, "years should be integer number");
-}, "Time_TZDate_setFullYear_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_not_equals(yearAfterSet, exp_fullYear, "years should change");
assert_equals(yearAfterSet, set_fullYear, "years should be equal");
-}, "Time_TZDate_setFullYear_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_fullYear = myDate.getFullYear();
assert_not_equals(exp_fullYear, yearAfterSet, "1 is a invalid year");
-}, "Time_TZDate_setFullYear_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_not_equals(yearAfterSet, exp_fullYear, "years should be not equal");
assert_equals(yearAfterSet, set_fullYear, "year should be current one");
-}, "Time_TZDate_setFullYear_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_invalidCharYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
myDate = new Date();
exp_fullYear = myDate.getFullYear();
- assert_not_equals(yearAfterSet, exp_fullYear);
- assert_not_equals(yearAfterSet, set_fullYear);
-}, "Time_TZDate_setFullYear_invalidCharYear");
+ assert_not_equals(yearAfterSet, exp_fullYear, "exp_fullYear check");
+ assert_not_equals(yearAfterSet, set_fullYear, "set_fullYear check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_invalidYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
exp_fullYear = myDate.getFullYear();
assert_not_equals(exp_fullYear, set_fullYear, "-1 is a invalid year");
-}, "Time_TZDate_setFullYear_invalidYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setFullYear_normal</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>
<script type="text/javascript">
//==== TEST: Time_TZDate_setFullYear_normal
-//==== LABEL Time_TZDate_setFullYear_normal
+//==== LABEL Check if TZDate.setFullYear_normal() works properly
//==== SPEC Tizen Web API:System:Time:TZDate:setFullYear M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
yearAfterSet = tizenDate.getFullYear();
assert_equals(yearAfterSet, set_fullYear, "year after set should be equal to set one");
-}, "Time_TZDate_setFullYear_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
myDate = new Date();
hoursAfterSet = myDate.getHours();
assert_not_equals(hoursAfterSet, set_hours, "decimal shouldn't be set to system's hour");
-}, "Time_TZDate_setHours_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
hoursAfterSet = myDate.getHours();
assert_not_equals(hoursAfterSet, set_hours, "24 shouldn't be set to system's hour");
-}, "Time_TZDate_setHours_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
hoursAfterSet = myDate.getHours();
assert_not_equals(hoursAfterSet, set_hours, "-1 shouldn't be set to system's hour");
-}, "Time_TZDate_setHours_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setHours(set_hours);
hoursAfterSet = tz.getHours();
assert_equals(hoursAfterSet, set_hours, "hours should be set");
-}, "Time_TZDate_setHours_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setHours(set_hours);
hoursAfterSet = tz.getHours();
assert_equals(hoursAfterSet, set_hours, "hours should be set");
-}, "Time_TZDate_setHours_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_invalidHours</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setHours(set_hours);
hoursAfterSet = tz.getHours();
assert_not_equals(hoursAfterSet, set_hours, "string abcd shouldn't be set to system's hour");
-}, "Time_TZDate_setHours_invalidHours");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setHours_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tizenDate.setHours(set_hours);
hoursAfterSet = tizenDate.getHours();
assert_equals(hoursAfterSet, set_hours, "hours should be set");
-}, "Time_TZDate_setHours_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_not_equals(msAfterSet, set_ms, "decimal shouldn't be set to system's ms");
-}, "Time_TZDate_setMilliseconds_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_not_equals(msAfterSet, set_ms, "1000 shouldn't be set to system's ms");
-}, "Time_TZDate_setMilliseconds_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_not_equals(msAfterSet, set_ms, "-1 shouldn't be set to system's ms");
-}, "Time_TZDate_setMilliseconds_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_equals(msAfterSet, set_ms, "value after set sould be equal to set one");
-}, "Time_TZDate_setMilliseconds_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_equals(msAfterSet, set_ms, "value after set sould be equal to set one");
-}, "Time_TZDate_setMilliseconds_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_invalidMilliseconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setMilliseconds(set_ms);
msAfterSet = tz.getMilliseconds();
assert_not_equals(msAfterSet, set_ms, "abcd shouldn't be set to system's ms");
-}, "Time_TZDate_setMilliseconds_invalidMilliseconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMilliseconds_normal</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/time_common.js"></script>
</head>
dt.setMilliseconds(set_ms);
msAfterSet = dt.getMilliseconds();
assert_approx_equals(msAfterSet, set_ms, 10, "getMilliseconds()");
-}, "Time_TZDate_setMilliseconds_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
minsAfterSet = myDate.getMinutes();
assert_not_equals(minsAfterSet, set_mins, "decimal shouldn't be set to system's minute");
-}, "Time_TZDate_setMinutes_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
myDate = new Date();
minsAfterSet = myDate.getMinutes();
- assert_not_equals(minsAfterSet,set_mins,"-1 shouldn't be set to system's minute");
-}, "Time_TZDate_setMinutes_boundaryLessThanLower");
+ assert_not_equals(minsAfterSet, set_mins, "-1 shouldn't be set to system's minute");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
minsAfterSet = tz.getMinutes();
assert_equals(minsAfterSet, set_mins, "Lower limit minutes 0 could be set correctly");
-}, "Time_TZDate_setMinutes_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
minsAfterSet = tz.getMinutes();
assert_equals(minsAfterSet, set_mins, "Lower limit minutes 0 could be set correctly");
-}, "Time_TZDate_setMinutes_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_invalidMinutes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
minsAfterSet = myDate.getMinutes();
assert_not_equals(minsAfterSet, set_mins, "ab shouldn't be set to system's minute");
-}, "Time_TZDate_setMinutes_invalidMinutes");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMinutes_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
minsAfterSet = dt.getMinutes();
assert_equals(minsAfterSet, set_mins, "minutes should be equals");
-}, "Time_TZDate_setMinutes_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = myDate.getMonth();
assert_not_equals(monthAfterSet, set_month, "decimal shouldn't be set to system's month");
-}, "Time_TZDate_setMonth_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = myDate.getMonth();
assert_not_equals(monthAfterSet, set_month, "12 shouldn't be set to system's month");
-}, "Time_TZDate_setMonth_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = myDate.getMonth();
assert_not_equals(monthAfterSet, set_month, "-1 shouldn't be set to system's month");
-}, "Time_TZDate_setMonth_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = tz.getMonth();
assert_equals(monthAfterSet, set_month, "Lower limit 0 month could be set correctly");
-}, "Time_TZDate_setMonth_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = tz.getMonth();
assert_equals(monthAfterSet, set_month, "getMonth check");
-}, "Time_TZDate_setMonth_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_invalidMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = myDate.getMonth();
assert_not_equals(monthAfterSet, set_month, "0100 shouldn't be set to system's month");
-}, "Time_TZDate_setMonth_invalidMonth");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setMonth_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
monthAfterSet = dt.getMonth();
assert_equals(monthAfterSet, set_month, "normal month could be set correctly");
-}, "Time_TZDate_setMonth_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = myDate.getSeconds();
assert_not_equals(secsAfterSet, set_secs, "decimal shouldn't be set to system's seconds");
-}, "Time_TZDate_setSeconds_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = myDate.getSeconds();
assert_not_equals(secsAfterSet, set_secs, "BiggerThanUpper boundary value 60 shouldn't be set to system's seconds");
-}, "Time_TZDate_setSeconds_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = myDate.getSeconds();
assert_not_equals(secsAfterSet, set_secs, "LessThanLower boundary value -1 shouldn't be set to system's seconds");
-}, "Time_TZDate_setSeconds_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = dt.getSeconds();
assert_equals(secsAfterSet, set_secs, "lower secs could be set correctly");
-}, "Time_TZDate_setSeconds_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
dt.setSeconds(set_secs);
secsAfterSet = dt.getSeconds();
assert_equals(secsAfterSet, set_secs, "upper secs could be set correctly");
-}, "Time_TZDate_setSeconds_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_invalidSeconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = myDate.getSeconds();
assert_not_equals(secsAfterSet, set_secs, "getSeconds check");
-}, "Time_TZDate_setSeconds_invalidSeconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setSeconds_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
secsAfterSet = dt.getSeconds();
assert_equals(secsAfterSet, set_secs, "normal secs could be set correctly");
-}, "Time_TZDate_setSeconds_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_not_equals(UTCdateAfterSet, set_UTCdate, "decimal 15.5 shouldn't be set to system UTCdate");
-}, "Time_TZDate_setUTCDate_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_not_equals(UTCdateAfterSet, set_UTCdate, "decimal 32 shouldn't be set to system UTCdate");
-}, "Time_TZDate_setUTCDate_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_not_equals(UTCdateAfterSet, set_UTCdate, "decimal -1 shouldn't be set to system UTCdate");
-}, "Time_TZDate_setUTCDate_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_equals(UTCdateAfterSet, set_UTCdate, "dates should be equal");
-}, "Time_TZDate_setUTCDate_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_equals(UTCdateAfterSet, set_UTCdate, "dates should be equal");
-}, "Time_TZDate_setUTCDate_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_invalidDate</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tz.getUTCDate();
assert_not_equals(UTCdateAfterSet, set_UTCdate, "decimal a shouldn't be set to system UTCdate");
-}, "Time_TZDate_setUTCDate_invalidDate");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCdateAfterSet = tizenDate.getUTCDate();
assert_equals(UTCdateAfterSet, set_UTCdate, "dates should be equal");
-}, "Time_TZDate_setUTCDate_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_notExistDayForCertainMonth</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "year should be set");
assert_equals(monthAfterSet, set_month + 1, "month should be set to next one");
assert_equals(dateAfterSet, 1, "date should be set to 1st of next month");
-}, "Time_TZDate_setUTCDate_notExistDayForCertainMonth");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_notExistDayForFebruaryLeapYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "year should be set");
assert_equals(monthAfterSet, set_month + 1, "month should be the next one");
assert_equals(dateAfterSet, 1, "date should be 1st of next month");
-}, "Time_TZDate_setUTCDate_notExistDayForFebruaryLeapYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCDate_notExistDayForFebruaryNotLeapYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(yearAfterSet, set_year, "year should be set");
assert_equals(monthAfterSet, set_month + 1, "month should be the next one");
assert_equals(dateAfterSet, 1, "day should be 1st of next month");
-}, "Time_TZDate_setUTCDate_notExistDayForFebruaryNotLeapYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = tz.getUTCFullYear();
assert_not_equals(yearAfterSet, set_UTCFullYear, "decimal shouldn't be set to system date's year");
-}, "Time_TZDate_setUTCFullYear_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = tz.getUTCFullYear();
assert_equals(yearAfterSet, set_UTCFullYear, "10000 should be set to system date's year");
-}, "Time_TZDate_setUTCFullYear_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = tz.getUTCFullYear();
assert_equals(yearAfterSet, set_UTCFullYear, "years should be equal");
-}, "Time_TZDate_setUTCFullYear_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = tz.getUTCFullYear();
assert_equals(yearAfterSet, set_UTCFullYear, "year should be equal");
-}, "Time_TZDate_setUTCFullYear_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_invalidCharYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = tz.getUTCFullYear();
assert_not_equals(yearAfterSet, set_UTCFullYear, "a shouldn't be set to system date's year");
-}, "Time_TZDate_setUTCFullYear_invalidCharYear");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_invalidYear</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setUTCFullYear(set_UTCFullYear);
yearAfterSet = tz.getUTCFullYear();
- assert_not_equals(yearAfterSet, set_UTCFullYear,"getUTCFullYear check");
-}, "Time_TZDate_setUTCFullYear_invalidYear");
+ assert_not_equals(yearAfterSet, set_UTCFullYear, "getUTCFullYear check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCFullYear_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
yearAfterSet = dt.getUTCFullYear();
assert_equals(yearAfterSet, set_UTCFullYear, "years should be equal");
-}, "Time_TZDate_setUTCFullYear_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_abnormalDecimal</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/time_common.js"></script>
</head>
UTCHoursAfterSet = tz.getUTCHours();
assert_not_equals(UTCHoursAfterSet, set_UTCHours, "decimal shouldn't be set to system's UTCHour");
-}, "Time_TZDate_setUTCHours_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
tz.setUTCHours(set_UTCHours);
UTCHoursAfterSet = tz.getUTCHours();
- assert_not_equals(UTCHoursAfterSet,set_UTCHours,"24 shouldn't be set to system's UTCHour");
-}, "Time_TZDate_setUTCHours_boundaryBiggerThanUpper");
+ assert_not_equals(UTCHoursAfterSet, set_UTCHours, "24 shouldn't be set to system's UTCHour");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCHoursAfterSet = tz.getUTCHours();
assert_not_equals(UTCHoursAfterSet, set_UTCHours, "-1 shouldn't be set to system's UTCHour");
-}, "Time_TZDate_setUTCHours_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCHoursAfterSet = tz.getUTCHours();
assert_equals(UTCHoursAfterSet, set_UTCHours, "hours should be equal");
-}, "Time_TZDate_setUTCHours_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCHoursAfterSet = tz.getUTCHours();
assert_equals(UTCHoursAfterSet, set_UTCHours, "hours should be equal");
-}, "Time_TZDate_setUTCHours_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_invalidHours</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCHoursAfterSet = tz.getUTCHours();
assert_not_equals(UTCHoursAfterSet, set_UTCHours, "abcd shouldn't be set to system's UTCHour");
-}, "Time_TZDate_setUTCHours_invalidHours");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCHours_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCHoursAfterSet = dt.getUTCHours();
assert_equals(UTCHoursAfterSet, set_UTCHours, "hours should be equal");
-}, "Time_TZDate_setUTCHours_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_abnormalDecimal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_not_equals(UTCMsAfterSet, set_UTCMs, "decimal shouldn't be set to system's UTCMs");
-}, "Time_TZDate_setUTCMilliseconds_abnormalDecimal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_not_equals(UTCMsAfterSet, set_UTCMs, "1000 shouldn't be set to system's UTCMs");
-}, "Time_TZDate_setUTCMilliseconds_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_not_equals(UTCMsAfterSet, set_UTCMs, "-1 shouldn't be set to system's UTCMs");
-}, "Time_TZDate_setUTCMilliseconds_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_equals(UTCMsAfterSet, set_UTCMs, "milliseconds should be equal");
-}, "Time_TZDate_setUTCMilliseconds_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_equals(UTCMsAfterSet, set_UTCMs, "milliseconds should be equal");
-}, "Time_TZDate_setUTCMilliseconds_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_invalidMilliseconds</title>
-<script type="text/javascript" src="../resources/unitcommon.js">X</script>
+<script type="text/javascript" src="support/unitcommon.js">X</script>
</head>
<body>
UTCMsAfterSet = tz.getUTCMilliseconds();
assert_not_equals(UTCMsAfterSet, set_UTCMs, "abcd shouldn't be set to system's UTCMs");
-}, "Time_TZDate_setUTCMilliseconds_invalidMilliseconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMilliseconds_normal</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/time_common.js"></script>
</head>
UTCMsAfterSet = dt.getUTCMilliseconds();
assert_equals(UTCMsAfterSet, set_UTCMs, "getUTCMilliseconds check");
-}, "Time_TZDate_setUTCMilliseconds_normal");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_abnormalDecimal</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>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMinutes_abnormalDecimal
-//==== LABEL Time_TZDate_setUTCMinutes_abnormalDecimal
+//==== LABEL Check if TZDate.setUTCMinutes() called with decimal don't set the milliseconds
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMinutes M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
myDate = new Date();
UTCMinsAfterSet = myDate.getUTCMinutes();
- assert_not_equals(UTCMinsAfterSet,set_UTCMins,"decimal shouldn't be set to system's UTCMinute");
-}, "");
+ assert_not_equals(UTCMinsAfterSet, set_UTCMins, "decimal shouldn't be set to system's UTCMinute");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_boundaryBiggerThanUpper</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = myDate.getUTCMinutes();
assert_not_equals(UTCMinsAfterSet, set_UTCMins, "60 shouldn't be set to system's UTCMinute");
-}, "Time_TZDate_setUTCMinutes_boundaryBiggerThanUpper");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_boundaryLessThanLower</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = myDate.getUTCMinutes();
assert_not_equals(UTCMinsAfterSet, set_UTCMins, "getUTCMinutes check");
-}, "Time_TZDate_setUTCMinutes_boundaryLessThanLower");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_boundaryLowerLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = tz.getUTCMinutes();
assert_equals(UTCMinsAfterSet, set_UTCMins, "Lower limit UTCMinutes 0 could be set correctly");
-}, "Time_TZDate_setUTCMinutes_boundaryLowerLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_boundaryUpperLimit</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = tz.getUTCMinutes();
assert_equals(UTCMinsAfterSet, set_UTCMins, "uppeer limit UTCMinutes 59 could be set correctly");
-}, "Time_TZDate_setUTCMinutes_boundaryUpperLimit");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_invalidMinutes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = tz.getUTCMinutes();
assert_not_equals(UTCMinsAfterSet, set_UTCMins, "Invalid value ab shouldn't be set to system's UTCMinute");
-}, "Time_TZDate_setUTCMinutes_invalidMinutes");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCMinutes_normal</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
UTCMinsAfterSet = dt.getUTCMinutes();
assert_equals(UTCMinsAfterSet, set_UTCMins, "minutes should be equal");
-}, "Time_TZDate_setUTCMinutes_normal");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_abnormalDecimal
-//==== LABEL Time_TZDate_setUTCMonth_abnormalDecimal
+//==== LABEL Check if TZDate.setUTCMonth() called with decimal don't set the milliseconds
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz = tizen.time.getCurrentDateTime();
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_not_equals(UTCMonthAfterSet,set_UTCMonth,"Invalid UTCMonth 5.5 shouldn't be set to system's UTCMonth");
-});
+ assert_not_equals(UTCMonthAfterSet, set_UTCMonth, "Invalid UTCMonth 5.5 shouldn't be set to system's UTCMonth");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_boundaryBiggerThanUpper
-//==== LABEL Time_TZDate_setUTCMonth_boundaryBiggerThanUpper
+//==== LABEL Check if TZDate.setUTCMonth() called with value greater than upper limit don't set the minutes
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
var set_UTCMonth = 12, tz = tizen.time.getCurrentDateTime(), UTCMonthAfterSet;
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_not_equals(UTCMonthAfterSet,set_UTCMonth,"Invalid UTCMonth 12 shouldn't be set to system's UTCMonth");
-});
+ assert_not_equals(UTCMonthAfterSet, set_UTCMonth, "Invalid UTCMonth 12 shouldn't be set to system's UTCMonth");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_boundaryLessThanLower
-//==== LABEL Time_TZDate_setUTCMonth_boundaryLessThanLower
+//==== LABEL Check if TZDate.setUTCMonth() called with number less than lower boundary doesn't set the date
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz = tizen.time.getCurrentDateTime();
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_not_equals(UTCMonthAfterSet,set_UTCMonth,"Invalid UTCMonth -1 shouldn't be set to system's UTCMonth");
-});
+ assert_not_equals(UTCMonthAfterSet, set_UTCMonth, "Invalid UTCMonth -1 shouldn't be set to system's UTCMonth");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_boundaryLowerLimit
-//==== LABEL Time_TZDate_setUTCMonth_boundaryLowerLimit
+//==== LABEL Check if TZDate.setUTCMonth() called with lowest value possible works properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz = tizen.time.getCurrentDateTime();
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_equals(UTCMonthAfterSet,set_UTCMonth,"Lower limit 0 UTCMonth could be set correctly");
-});
+ assert_equals(UTCMonthAfterSet, set_UTCMonth, "Lower limit 0 UTCMonth could be set correctly");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_boundaryUpperLimit
-//==== LABEL Time_TZDate_setUTCMonth_boundaryUpperLimit
+//==== LABEL Check if TZDate.setUTCMonth() called with highest value possible works properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz = tizen.time.getCurrentDateTime();
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_equals(UTCMonthAfterSet,set_UTCMonth,"upper limit 11 UTCMonth could be set correctly");
-});
+ assert_equals(UTCMonthAfterSet, set_UTCMonth, "upper limit 11 UTCMonth could be set correctly");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_invalidMonth
-//==== LABEL Time_TZDate_setUTCMonth_invalidMonth
+//==== LABEL Check if TZDate.setUTCMonth() called with invalid string argument don't set the month
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = tz.getUTCMonth();
- assert_not_equals(UTCMonthAfterSet, set_UTCMonth,"Invalid UTCMonth 0100 shouldn't be set to system's UTCMonth");
-});
+ assert_not_equals(UTCMonthAfterSet, set_UTCMonth, "Invalid UTCMonth 0100 shouldn't be set to system's UTCMonth");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCMonth_normal
-//==== LABEL Time_TZDate_setUTCMonth_normal
+//==== LABEL Check if TZDate.setUTCMonth() works properly
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCMonth M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
dt = tizen.time.getCurrentDateTime();
dt.setUTCMonth(set_UTCMonth);
UTCMonthAfterSet = dt.getUTCMonth();
- assert_equals(UTCMonthAfterSet,set_UTCMonth,"normal UTCMonth could be set correctly");
-});
+ assert_equals(UTCMonthAfterSet, set_UTCMonth, "normal UTCMonth could be set correctly");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_abnormalDecimal
-//==== LABEL Time_TZDate_setUTCSeconds_abnormalDecimal
+//==== LABEL Check if TZDate.setUTCSeconds() called with decimal don't set the milliseconds
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz.setUTCSeconds(set_UTCSecs);
UTCSecsAfterSet = tz.getUTCSeconds();
assert_not_equals(UTCSecsAfterSet, set_UTCSecs, "decimal shouldn't be set to system's UTCSeconds");
-});
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper
-//==== LABEL Time_TZDate_setUTCSeconds_boundaryBiggerThanUpper
+//==== LABEL Check if TZDate.setUTCSeconds() called with value greater than upper limit don't set the minutes
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA
test(function () {
var set_UTCSecs = 59, UTCSecsAfterSet,
- tz = tizen.time.getCurrentDateTime();
+ tz = tizen.time.getCurrentDateTime();
tz.setUTCSeconds(set_UTCSecs);
UTCSecsAfterSet = tz.getUTCSeconds();
assert_equals(UTCSecsAfterSet, set_UTCSecs, "BiggerThanUpper boundary value 60 shouldn't be set to system's UTCSeconds");
-});
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_boundaryLessThanLower
-//==== LABEL Time_TZDate_setUTCSeconds_boundaryLessThanLower
+//==== LABEL Check if TZDate.setUTCSeconds() called with number less than lower boundary doesn't set the date
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tizen.time.getCurrentDateTime().setUTCSeconds(set_UTCSecs);
myDate = new Date();
UTCSecsAfterSet = myDate.getUTCSeconds();
- assert_not_equals(UTCSecsAfterSet,set_UTCSecs,"LessThanLower boundary value -1 shouldn't be set to system's UTCSeconds");
-});
+ assert_not_equals(UTCSecsAfterSet, set_UTCSecs, "LessThanLower boundary value -1 shouldn't be set to system's UTCSeconds");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCSeconds_boundaryLowerLimit</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_boundaryLowerLimit
-//==== LABEL Time_TZDate_setUTCSeconds_boundaryLowerLimit
+//==== LABEL Check if TZDate.setUTCSeconds() called with lowest value possible works properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz.setUTCSeconds(0);
UTCSecsAfterSet = tz.getUTCSeconds();
assert_equals(UTCSecsAfterSet, set_UTCSecs, "Lower limit UTCSecs 0 could be set correctly");
- assert_type(UTCSecsAfterSet, "number", "type check");
-});
+ assert_type(UTCSecsAfterSet, "long", "type check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCSeconds_boundaryUpperLimit</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_boundaryUpperLimit
-//==== LABEL Time_TZDate_setUTCSeconds_boundaryUpperLimit
+//==== LABEL Check if TZDate.setUTCSeconds() called with highest value possible works properly
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz.setUTCSeconds(59);
UTCSecsAfterSet = tz.getUTCSeconds();
assert_equals(UTCSecsAfterSet, set_UTCSecs, "upper limit UTCSecs 59 could be set correctly");
- assert_type(UTCSecsAfterSet, "number", "type check");
-});
+ assert_type(UTCSecsAfterSet, "long", "type check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCSeconds_invalidSeconds</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_invalidSeconds
-//==== LABEL Time_TZDate_setUTCSeconds_invalidSeconds
+//==== LABEL Check if TZDate.setUTCSeconds() called with invalid string argument don't set the seconds
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
tz.setUTCSeconds(set_UTCSecs);
UTCSecsAfterSet = tz.getUTCSeconds();
assert_not_equals(UTCSecsAfterSet, set_UTCSecs, "Invalid UTCSeconds abc01 shouldn't be set to system's UTCSeconds");
- assert_type(UTCSecsAfterSet, "number", "type check");
-});
+ assert_type(UTCSecsAfterSet, "long", "type check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_setUTCSeconds_normal</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_setUTCSeconds_normal
-//==== LABEL Time_TZDate_setUTCSeconds_normal
+//==== LABEL Check if TZDate.setUTCSeconds() works properly
//==== SPEC Tizen Web API:System:Time:TZDate:setUTCSeconds M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA
dt.setUTCSeconds(set_UTCSecs);
UTCSecsAfterSet = dt.getUTCSeconds();
assert_equals(UTCSecsAfterSet, set_UTCSecs, "normal UTCSecs could be set correctly");
- assert_type(UTCSecsAfterSet, "number", "type check");
-});
+ assert_type(UTCSecsAfterSet, "long", "type check");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toDateString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toDateString
-//==== LABEL Time_TZDate_toDateString
+//==== LABEL Check if TZDate::ToDateString() method returns string
//==== PRIORITY P0
//==== SPEC Tizen Web API:System:Time:TZDate:toDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
dateS = tz.toDateString();
assert_not_equals(dateS, null, "null check");
assert_type(dateS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toLocaleDateString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toLocaleDateString
-//==== LABEL Time_TZDate_toLocaleDateString
+//==== LABEL Check if TZDate::ToLocaleDateString() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleDateString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
ldateS = tz.toLocaleDateString();
assert_not_equals(ldateS, null, "null check");
assert_type(ldateS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toLocaleString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toLocaleString
-//==== LABEL Time_TZDate_toLocaleString
+//==== LABEL Check if TZDate::ToLocaleString() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
localS = tz.toLocaleString();
assert_not_equals(localS, null, "null check");
assert_type(localS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toLocaleTimeString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toLocaleTimeString
-//==== LABEL Time_TZDate_toLocaleTimeString
+//==== LABEL Check if TZDate::ToLocaleTimeString() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toLocaleTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
ltimeS = tz.toLocaleTimeString();
assert_not_equals(ltimeS, null, "null check");
assert_type(ltimeS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toString
-//==== LABEL Time_TZDate_toString
+//==== LABEL Check if TZDate::ToString() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
toS = tz.toString();
assert_not_equals(toS, null, "null check");
assert_type(toS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toTimeString</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toTimeString
-//==== LABEL Time_TZDate_toTimeString
+//==== LABEL Check if TZDate::ToTimeString() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toTimeString M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
timeS = tz.toTimeString();
assert_not_equals(timeS, null, "null check");
assert_type(timeS, "string", "type check");
-});
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toTimezone</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toTimezone
-//==== LABEL Time_TZDate_toTimezone
+//==== LABEL Check if TZDate::toTimezone() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MMINA MR
tz = tizen.time.getCurrentDateTime().toTimezone(tzID);
assert_equals(tz.getTimezone(), tzID, "check getTimezone");
assert_type(tz.getTimezone(), "string", "type check");
-}, "Time_TZDate_toTimezone");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toTimezone_invalid</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toTimezone_invalid
-//==== LABEL Time_TZDate_toTimezone_invalid
+//==== LABEL Check if TZDate::toTimezone(invalid) method reports error
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:toTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA
test(function () {
var tzid, timezone;
- assert_throws({ name: INVALID_VALUES_ERR }, function () {
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
tzid = "ab";
timezone = tizen.time.getCurrentDateTime().toTimezone(tzid);
});
-}, "Time_TZDate_toTimezone_invalid");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toTimezone_null</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toTimezone_null
-//==== LABEL Time_TZDate_toTimezone_null
+//==== LABEL Check if TZDate::toTimezone(null) method reports error
//==== PRIORITY P2
//==== SPEC Tizen Web API:System:Time:TZDate:toTimezone M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA
test(function () {
var tzid, timezone;
- assert_throws({ name: INVALID_VALUES_ERR }, function () {
+ assert_throws(INVALID_VALUES_EXCEPTION, function () {
tzid = null;
timezone = tizen.time.getCurrentDateTime().toTimezone(tzid);
});
-}, "Time_TZDate_toTimezone_null");
+}, document.title);
</script>
</body>
<html>
<head>
<title>Time_TZDate_toUTC</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/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_TZDate_toUTC
-//==== LABEL Time_TZDate_toUTC
+//==== LABEL Check if TZDate::toUTC() method returns string
//==== SPEC Tizen Web API:System:Time:TZDate:toUTC M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
//==== TEST_CRITERIA MNA MR
assert_equals(utzd, exp_ud, "day check");
assert_equals(utzy, exp_uy, "year check");
assert_equals(utzm, exp_um, "month check");
- assert_type(utzd, "number", "type getUTCDate check");
- assert_type(utzy, "number", "type getUTCFullYear check");
- assert_type(utzm, "number", "type getUTCMonth check");
-}, "Time_TZDate_toUTC");
+ assert_type(utzd, "long", "type getUTCDate check");
+ assert_type(utzy, "long", "type getUTCFullYear check");
+ assert_type(utzm, "long", "type getUTCMonth check");
+}, document.title);
</script>
</body>
<head>
<title>Time_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>
<script type="text/javascript" src="support/time_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: Time_in_tizen
-//==== LABEL: check attribute time
+//==== LABEL Check existent and type attribute time
//==== PRIORITY: P3
//==== SPEC: Tizen Web API:System:Time:TimeUtil:TimeUtil U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html
test(function () {
assert_true("time" in tizen, "No time in tizen.");
check_readonly(tizen, "time", tizen.time, "object", "Tizen");
-}, "Time_in_tizen");
+}, 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;
+}