<head>
<title>ApplicationCertificate_extend</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: ApplicationCertificate_extend
-//==== LABEL check if ApplicationCertificate possible extend
+//==== LABEL Check if ApplicationCertificate possible extend
//==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:ApplicationCertificate U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
var appCertificateArray = tizen.application.getAppCerts();
check_extensibility(appCertificateArray[0]);
-}, "ApplicationCertificate_extend");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationCertificate_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationCertificate_notexist
-//==== LABEL check if ApplicationCertificate notexist
+//==== LABEL Check if ApplicationCertificate notexist
//==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:ApplicationCertificate U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationCertificate");
-}, "ApplicationCertificate_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationCertificate_type_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationCertificate_type_attribute
-//==== LABEL check ApplicationCertificate.type attribute
+//==== LABEL Check attribute ApplicationCertificate::type existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("type" in appCertificateArray[i], "type doesn't exist in provided object.");
check_readonly(appCertificateArray[i], "type", appCertificateArray[i].type, "string", "dummyValue");
}
-}, "ApplicationCertificate_type_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationCertificate_value_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationCertificate_value_attribute
-//==== LABEL check ApplicationCertificate.value attribute
+//==== LABEL Check attribute ApplicationCertificate::value existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationCertificate:value A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("value" in appCertificateArray[i], "value doesn't exist in provided object.");
check_readonly(appCertificateArray[i], "value", appCertificateArray[i].value, "string", "dummyValue");
}
-}, "ApplicationCertificate_value_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationContextArraySuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("ApplicationContextArraySuccessCallback");
-}, "ApplicationContextArraySuccessCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<meta charset="utf-8">
<title>ApplicationContextArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationContextArraySuccessCallback_onsuccess
-//==== LABEL: Check if ApplicationContextArraySuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if ApplicationContextArraySuccessCallback onsuccess is called and if its arguments have proper type
//==== ONLOAD_DELAY 30
//==== SPEC: Tizen Web API:Application:Application:ApplicationContextArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var t = async_test("ApplicationContextArraySuccessCallback_onsuccess", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
getSuccess, getError, context;
t.step(function () {
<head>
<title>ApplicationContext_appId_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationContext_appId_attribute
-//==== LABEL check ApplicationContext.appId attribute
+//==== LABEL Check attribute ApplicationContext::appId existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationContext:appId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
var appContext = tizen.application.getAppContext(null);
assert_true("appId" in appContext, "id doesn't exist in provided object.");
check_readonly(appContext, "appId", appContext.appId, "string", 1);
-}, "ApplicationContext_appId_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationContext_extend</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: ApplicationContext_extend
-//==== LABEL check if ApplicationContext possible extend
+//==== LABEL Check if ApplicationContext possible extend
//==== SPEC Tizen Web API:Application:Application:ApplicationContext:ApplicationContext U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
var appContext = tizen.application.getAppContext(null);
check_extensibility(appContext);
-}, "ApplicationContext_extend");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationContext_id_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationContext_id_attribute
-//==== LABEL check ApplicationContext.id attribute
+//==== LABEL Check attribute ApplicationContext::id existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationContext:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
var appContext = tizen.application.getAppContext(null);
assert_true("id" in appContext, "id doesn't exist in provided object.");
check_readonly(appContext, "id", appContext.id, "string", 1);
-}, "ApplicationContext_id_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationContext_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationContext_notexist
-//==== LABEL check if ApplicationContext notexist
+//==== LABEL Check if ApplicationContext notexist
//==== SPEC Tizen Web API:Application:Application:ApplicationContext:ApplicationContext U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationContext");
-}, "ApplicationContext_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControlDataArrayReplyCallback_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControlDataArrayReplyCallback_notexist
-//==== LABEL check if ApplicationControlDataArrayReplyCallback notexist
+//==== LABEL Check if ApplicationControlDataArrayReplyCallback notexist
//==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:ApplicationControlDataArrayReplyCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationControlDataArrayReplyCallback");
-}, "ApplicationControlDataArrayReplyCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControlDataArrayReplyCallback_onfailure</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationControlDataArrayReplyCallback_onfailure
-//==== LABEL check onfailure listener in ApplicationControlDataArrayReplyCallback
+//==== LABEL Check onfailure listener in ApplicationControlDataArrayReplyCallback
//==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:onfailure M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA CBOA
setup({timeout: 30000});
-var this_test = async_test("ApplicationControlDataArrayReplyCallback_onfailure", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchError, appControl, replyCB;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- launchError = this_test.step_func(function (error) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ launchError = t.step_func(function (error) {
assert_unreached("launchAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
});
appControl = new tizen.ApplicationControl(TCT_APPCONTROL_REPLY_FAILURE_OPERATION);
replyCB = {
- onsuccess: this_test.step_func(function () {
+ onsuccess: t.step_func(function () {
assert_unreached("onsuccess callback called");
}),
- onfailure: this_test.step_func(function () {
- this_test.done();
+ onfailure: t.step_func(function () {
+ t.done();
})
};
<head>
<title>ApplicationControlDataArrayReplyCallback_onsuccess</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationControlDataArrayReplyCallback_onsuccess
-//==== LABEL check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback
+//==== LABEL Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback
//==== SPEC Tizen Web API:Application:Application:ApplicationControlDataArrayReplyCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var this_test = async_test("ApplicationControlDataArrayReplyCallback_onsuccess", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchError, dataSent, appControl, replyCB;
function create_appcontrol_data(size) {
valueArray = data.value;
assert_true(data instanceof tizen.ApplicationControlData, "wrong type of array element");
- assert_equals(valueArray.length, parseInt(data.key), "wrong length of value array");
+ assert_equals(valueArray.length, parseInt(data.key, 10), "wrong length of value array");
sum = 0;
sumExpected = 0;
for (value=0; value < valueArray.length; value++) {
sumExpected = sumExpected + value + 1;
- sum += parseInt(valueArray[value]);
+ sum += parseInt(valueArray[value], 10);
}
assert_equals(sum, sumExpected, "unexpected value array");
}
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- launchError = this_test.step_func(function (error) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ launchError = t.step_func(function (error) {
assert_unreached("launchAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
});
null, null, null, dataSent);
replyCB = {
- onsuccess: this_test.step_func(function (dataReceived) {
- assert_appcontrol_data(this_test, dataReceived, dataSent);
- this_test.done();
+ onsuccess: t.step_func(function (dataReceived) {
+ assert_appcontrol_data(t, dataReceived, dataSent);
+ t.done();
}),
- onfailure: this_test.step_func(function () {
+ onfailure: t.step_func(function () {
assert_unreached("onfailure callback called");
})
};
<script type="text/javascript">
//==== TEST: ApplicationControlData_constructor
-//==== LABEL: Check if ApplicationControlData constructor works
+//==== LABEL Check if ApplicationControlData constructor works
//==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appControlData.key, key, "key is different");
assert_equals(appControlData.value.length, value.length, "value is different");
assert_equals(appControlData.value[0], value[0], "value is different");
-}, "ApplicationControlData_constructor");
+}, document.title);
</script>
</html>
<html>
<head>
<title>ApplicationControlData_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControlData_exist
-//==== LABEL: Check if ApplicationControlData exist and is a constructor
+//==== LABEL Check if ApplicationControlData exist and is a constructor
//==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
test(function () {
check_constructor("ApplicationControlData");
-}, "ApplicationControlData_exist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationControlData_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControlData_extend
-//==== LABEL: Check if ApplicationControlData can have new properties added
+//==== LABEL Check if ApplicationControlData can have new properties added
//==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:ApplicationControlData U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
var key = "image", value = ["photo.jpg"], appControlData;
appControlData = new tizen.ApplicationControlData(key, value);
check_extensibility(appControlData);
-}, "ApplicationControlData_extend");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationControlData_key_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControlData_key_attribute
-//==== LABEL: Check if ApplicationControlData have key attribute with proper type, writable, not null
+//==== LABEL Check if ApplicationControlData have key attribute with proper type, writable, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:key A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
appControlData.key = newKey;
assert_equals(appControlData.key, newKey, "can not assign a valid value");
-}, "ApplicationControlData_key_attribute");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationControlData_value_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControlData_value_attribute
-//==== LABEL: Check if ApplicationControlData have value attribute with proper type, writable, not null
+//==== LABEL Check if ApplicationControlData have value attribute with proper type, writable, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationControlData:value A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
appControlData.value = ["one", "two"];
assert_not_equals(appControlData.value.length, tmp.length, "value is readonly");
-}, "ApplicationControlData_value_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_category_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControl_category_attribute
-//==== LABEL check ApplicationControl.category attribute
+//==== LABEL Check attribute ApplicationControl::category existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:category A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appControl2.category, category, "category passed as constructor parameter is different than category in the object");
appControl2.category = newCategory;
assert_equals(appControl2.category, newCategory, "category can not be assigned a valid value");
-}, "ApplicationControl_category_attribute");
+}, document.title);
</script>
</body>
<script type="text/javascript">
//==== TEST: ApplicationControl_constructor
-//==== LABEL test whether constructor with all arguments are supported
+//==== LABEL Test whether constructor with all arguments are supported
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
for (i = 0; i < data[0].value.length; i++) {
assert_equals(appControl.data[0].value[i], data[0].value[i], "data passed as constructor parameter is different than data in the object");
}
-}, "ApplicationControl_constructor");
+}, document.title);
</script>
</body>
<script type="text/javascript">
//==== TEST: ApplicationControl_constructor_minargs
-//==== LABEL test whether constructor with non-optional argument are supported
+//==== LABEL Test whether constructor with non-optional argument are supported
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appControl.operation, operation,
"the operation argument passed as constructor parameter is different than the operation attribute in the object");
-}, "ApplicationControl_constructor_minargs");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_data_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControl_data_attribute
-//==== LABEL check ApplicationControl.data attribute
+//==== LABEL Check attribute ApplicationControl::data existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:data A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
for (i = 0; i < appControl2.data[0].length; i++) {
assert_equals(appControl2.data[0].value[i], newData[0].value[i], "data can not be assigned a valid value");
}
-}, "ApplicationControl_data_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_exist</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 type="text/javascript">
//==== TEST: ApplicationControl_exist
-//==== LABEL check if ApplicationControl exist
+//==== LABEL Check if ApplicationControl exist
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
test(function () {
check_constructor("ApplicationControl");
-}, "ApplicationControl_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_extend</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: ApplicationControl_extend
-//==== LABEL check if ApplicationControl possible extend
+//==== LABEL Check if ApplicationControl possible extend
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:ApplicationControl U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/share");
check_extensibility(appControl);
-}, "ApplicationControl_extend");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_mime_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControl_mime_attribute
-//==== LABEL check ApplicationControl.mime attribute
+//==== LABEL Check attribute ApplicationControl::mime existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:mime A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appControl2.mime, mime, "mime passed as constructor parameter is different than mime in the object");
appControl2.mime = newMime;
assert_equals(appControl2.mime, newMime, "mime can not be assigned a valid value");
-}, "ApplicationControl_mime_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_operation_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControl_operation_attribute
-//==== LABEL check ApplicationControl.operation attribute
+//==== LABEL Check attribute ApplicationControl::operation existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:operation A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_not_equals(appControl.operation, null, "can assign a null value");
appControl.operation = operationNewValue;
assert_equals(appControl.operation, operationNewValue, "can not assign a valid value");
-}, "ApplicationControl_operation_attribute");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationControl_uri_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationControl_uri_attribute
-//==== LABEL check ApplicationControl.uri attribute
+//==== LABEL Check attribute ApplicationControl::uri existence and type
//==== SPEC Tizen Web API:Application:Application:ApplicationControl:uri A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appControl2.uri, uri, "uri passed as constructor parameter is different than uri in the object");
appControl2.uri = newUri;
assert_equals(appControl2.uri, newUri, "uri can not be assigned a valid value");
-}, "ApplicationControl_uri_attribute");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationInformationArraySuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("ApplicationInformationArraySuccessCallback");
-}, "ApplicationInformationArraySuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationInformationArraySuccessCallback_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationInformationArraySuccessCallback_onsuccess
-//==== LABEL: Check if ApplicationInformationArraySuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if ApplicationInformationArraySuccessCallback onsuccess is called and if its arguments have proper type
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformationArraySuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA CBT CBOA
setup({timeout: 90000});
-var t = async_test("ApplicationInformationArraySuccessCallback_onsuccess", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError;
t.step(function () {
<head>
<title>ApplicationInformationEventCallback_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformationEventCallback_notexist
-//==== LABEL check if ApplicationInformationEventCallback notexist
+//==== LABEL Check if ApplicationInformationEventCallback notexist
//==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:ApplicationInformationEventCallback U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationInformationEventCallback");
-}, "ApplicationInformationEventCallback_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationInformationEventCallback_oninstalled</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationInformationEventCallback_oninstalled
-//==== LABEL check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback
//==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:oninstalled M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
setup({timeout: 300000});
-var this_test = async_test("ApplicationInformationEventCallback_oninstalled", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-this_test.step(function () {
- var appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function (appInfo) {
+ oninstalled: t.step_func(function (appInfo) {
assert_type(appInfo, "object", "wrong type of received value");
assert_true("id" in appInfo, "no id in returned value");
assert_true("name" in appInfo, "no name in returned value");
assert_true("size" in appInfo, "no size in returned value");
assert_true("packageId" in appInfo, "no packageId in returned value");
assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned");
- this_test.done();
+ t.done();
}),
- onupdated: this_test.step_func(function () {
+ onupdated: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onuninstalled: this_test.step_func(function () {
+ onuninstalled: t.step_func(function () {
assert_unreached("This function (onuninstalled) should not be used");
})
};
watchId = tizen.application.addAppInfoEventListener(appEventCallback);
- assert_type(watchId, "number", "wrong listener ID");
+ assert_type(watchId, "long", "wrong listener ID");
});
<head>
<title>ApplicationInformationEventCallback_onuninstalled</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationInformationEventCallback_onuninstalled
-//==== LABEL check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback
//==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onuninstalled M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
setup({timeout: 300000});
-var this_test = async_test("ApplicationInformationEventCallback_onuninstalled", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-this_test.step(function () {
- var appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
+ oninstalled: t.step_func(function () {
assert_unreached("This function (oninstalled) should not be used");
}),
- onupdated: this_test.step_func(function () {
+ onupdated: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onuninstalled: this_test.step_func(function (appId) {
+ onuninstalled: t.step_func(function (appId) {
assert_type(appId, "string", "wrong type of received value");
assert_equals(appId, APP_INFO_TEST_APP_ID, "wrong ApplicationId was returned");
- this_test.done();
+ t.done();
})
};
watchId = tizen.application.addAppInfoEventListener(appEventCallback);
- assert_type(watchId, "number", "wrong listener ID");
+ assert_type(watchId, "long", "wrong listener ID");
});
<head>
<title>ApplicationInformationEventCallback_onupdated</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationInformationEventCallback_onupdated
-//==== LABEL check argument passed into method which is onupdated listener in ApplicationInformationEventCallback
+//==== LABEL Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback
//==== SPEC Tizen Web API:Application:Application:ApplicationInformationEventCallback:onupdated M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
setup({timeout: 300000});
-var this_test = async_test("ApplicationInformationEventCallback_onupdated", {timeout: 300000});
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
-this_test.step(function () {
- var appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
+ oninstalled: t.step_func(function () {
assert_unreached("This function (oninstalled) should not be used");
}),
- onupdated: this_test.step_func(function (appInfo) {
+ onupdated: t.step_func(function (appInfo) {
assert_type(appInfo, "object", "wrong type of received value");
assert_true("id" in appInfo, "no id in returned value");
assert_true("name" in appInfo, "no name in returned value");
assert_true("size" in appInfo, "no size in returned value");
assert_true("packageId" in appInfo, "no packageId in returned value");
assert_equals(appInfo.id, APP_INFO_TEST_APP_ID, "wrong ApplicationInformation was returned");
- this_test.done();
+ t.done();
}),
- onuninstalled: this_test.step_func(function () {
+ onuninstalled: t.step_func(function () {
assert_unreached("This function (onuninstalled) should not be used");
})
};
watchId = tizen.application.addAppInfoEventListener(appEventCallback);
- assert_type(watchId, "number", "wrong listener ID");
+ assert_type(watchId, "long", "wrong listener ID");
});
<html>
<head>
<title>ApplicationInformation_categories_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_categories_attribute
-//==== LABEL: Check if ApplicationInformation have categories attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have categories attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:categories A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_categories_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info, tmp, i;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_extend
-//==== LABEL: Check if ApplicationInformation can have new properties added
+//==== LABEL Check if ApplicationInformation can have new properties added
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:ApplicationInformation U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
//==== TEST_CRITERIA OBX
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_extend", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_iconPath_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_iconPath_attribute
-//==== LABEL: Check if ApplicationInformation have iconPath attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have iconPath attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:iconPath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_iconPath_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_id_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationInformation_id_attribute
-//==== LABEL: Check if ApplicationInformation have id attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have id attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_id_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_installDate_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_installDate_attribute
-//==== LABEL: Check if ApplicationInformation have installDate attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have installDate attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:installDate A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_installDate_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info, tmp;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_name_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_name_attribute
-//==== LABEL: Check if ApplicationInformation have name attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have name attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:name A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_name_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("ApplicationInformation");
-}, "ApplicationInformation_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationInformation_packageId_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_packageId_attribute
-//==== LABEL: Check if ApplicationInformation have packageId attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have packageId attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:packageId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_packageId_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_show_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_show_attribute
-//==== LABEL: Check if ApplicationInformation have show attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have show attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:show A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_show_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_size_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_size_attribute
-//==== LABEL: Check if ApplicationInformation have size attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have size attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:size A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_size_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<html>
<head>
<title>ApplicationInformation_version_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationInformation_version_attribute
-//==== LABEL: Check if ApplicationInformation have version attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationInformation have version attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationInformation:version A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
setup({timeout: 90000});
-var t = async_test("ApplicationInformation_version_attribute", {timeout: 90000}),
+var t = async_test(document.title, {timeout: 90000}),
getSuccess, getError, info;
t.step(function () {
<head>
<title>ApplicationManagerObject_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManagerObject_notexist
-//==== LABEL check if ApplicationManagerObject not exist
+//==== LABEL Check if ApplicationManagerObject not exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManagerObject:ApplicationManagerObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationManagerObject");
-}, "ApplicationManagerObject_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch
-//==== LABEL check non-optional argument 'ApplicationInformationEventCallback' type conversion
+//==== LABEL Check non-optional argument 'ApplicationInformationEventCallback' type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
}, "exception should be thrown");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
+//==== LABEL Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MTL
test(function () {
- var i, conversionTable = getListenerConversionExceptions(["oninstalled","onupdated","onuninstalled"]);
+ var i, conversionTable = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
for (i = 0; i < conversionTable.length; i++) {
assert_throws({name: conversionTable[i][1]}, function () {
}, "an exception should be thrown");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_addAppInfoEventListener_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_exist
-//==== LABEL check if method addAppInfoEventListener exist
+//==== LABEL Check if method addAppInfoEventListener exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "addAppInfoEventListener");
-}, "ApplicationManager_addAppInfoEventListener_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_addAppInfoEventListener_missarg</title>
<meta charset="utf-8">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_missarg
-//==== LABEL check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
+//==== LABEL Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.addAppInfoEventListener();
}, "method was called without ApplicationInformationEventCallback but exception was not thrown");
-}, "ApplicationManager_addAppInfoEventListener_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_addAppInfoEventListener_oninstalled</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_oninstalled
-//==== LABEL check using addAppInfoEventListener method (installation process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (installation process) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)
setup({timeout: 300000});
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_oninstalled", {timeout: 300000});
-this_test.step(function () {
- var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
- this_test.done();
+ oninstalled: t.step_func(function () {
+ t.done();
}),
- onupdated: this_test.step_func(function () {
+ onupdated: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onuninstalled: this_test.step_func(function () {
+ onuninstalled: t.step_func(function () {
assert_unreached("This function (onuninstalled) should not be used");
})
};
<head>
<title>ApplicationManager_addAppInfoEventListener_onuninstalled</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_onuninstalled
-//==== LABEL check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
setup({timeout: 300000});
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_onuninstalled", {timeout: 300000});
-this_test.step(function () {
- var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
+ oninstalled: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onupdated: this_test.step_func(function () {
+ onupdated: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onuninstalled: this_test.step_func(function () {
- this_test.done();
+ onuninstalled: t.step_func(function () {
+ t.done();
})
};
<head>
<title>ApplicationManager_addAppInfoEventListener_onupdated</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_addAppInfoEventListener_onupdated
-//==== LABEL check using addAppInfoEventListener method (updating process) in ApplicationManager interface
+//==== LABEL Check using addAppInfoEventListener method (updating process) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:addAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRE Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).
setup({timeout: 300000});
-var this_test = async_test("ApplicationManager_addAppInfoEventListener_onupdated", {timeout: 300000});
-this_test.step(function () {
- var appEventCallback, watchId;
+var t = async_test(document.title, {timeout: 300000}), appEventCallback, watchId;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
+ oninstalled: t.step_func(function () {
assert_unreached("This function (oninstalled) should not be used");
}),
- onupdated: this_test.step_func(function () {
- this_test.done();
+ onupdated: t.step_func(function () {
+ t.done();
}),
- onuninstalled: this_test.step_func(function () {
+ onuninstalled: t.step_func(function () {
assert_unreached("This function (onuninstalled) should not be used");
})
};
<head>
<title>ApplicationManager_extend</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: ApplicationManager_extend
-//==== LABEL check if ApplicationManager possible extend
+//==== LABEL Check if ApplicationManager possible extend
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_extensibility(tizen.application);
-}, "ApplicationManager_extend");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_findAppControl</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl
-//==== LABEL check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control
+//==== LABEL Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl", {timeout: 30000}), i, findSuccess, appControl, retVal = null;
+var t = async_test(document.title, {timeout: 30000}), i, findSuccess, appControl, retVal = null;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION,
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI,
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME
);
- findSuccess = this_test.step_func(function (appInfos, appControl) {
+ findSuccess = t.step_func(function (appInfos, appControl) {
assert_equals(retVal, undefined, "incorrect returned value");
assert_type(appInfos, "array", "incorrect type of the received value");
assert_equals(appInfos.length, 2, "incorrect length of the received array");
}
}
assert_true(appControl instanceof tizen.ApplicationControl, "wrong ApplicationControl");
- this_test.done();
+ t.done();
});
retVal = tizen.application.findAppControl(appControl, findSuccess);
<head>
<title>ApplicationManager_findAppControl_appControl_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_appControl_TypeMismatch
-//==== LABEL check non-optional argument ApplicationControl (findAppControl method) type conversion
+//==== LABEL Check non-optional argument ApplicationControl (findAppControl method) type conversion
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_appControl_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
i, findSuccess, conversionTable = getTypeConversionExceptions("object");
-this_test.step(function () {
- findSuccess = this_test.step_func(function () {
+t.step(function () {
+ findSuccess = t.step_func(function () {
assert_unreached("this function should not be run");
});
}, "exception should be thrown");
}
- this_test.done();
+ t.done();
}, "ApplicationManager_findAppControl_appControl_TypeMismatch");
<head>
<title>ApplicationManager_findAppControl_appControl_invalid_obj</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_appControl_invalid_obj
-//==== LABEL check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_appControl_invalid_obj", {timeout: 30000}), findSuccess, appControl;
-this_test.step(function () {
+var t = async_test(document.title, {timeout: 30000}), findSuccess, appControl;
+t.step(function () {
appControl = {
operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
- mime : TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
- category : "/opt",
- data : [new tizen.ApplicationControlData("key", ["value1", "value2"])]
+ mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
+ category: "/opt",
+ data: [new tizen.ApplicationControlData("key", ["value1", "value2"])]
};
- findSuccess = this_test.step_func(function () {
+ findSuccess = t.step_func(function () {
assert_unreached("this function should not be run");
});
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.findAppControl(appControl, findSuccess);
}, "exception should be thrown");
- this_test.done();
+ t.done();
}, "ApplicationManager_findAppControl_appControl_invalid_obj");
</script>
<head>
<title>ApplicationManager_findAppControl_errorCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (findAppControl method) type conversion
+//==== LABEL Check optional argument errorCallback (findAppControl method) type conversion
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_errorCallback_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
i, findSuccess, conversionTable = getTypeConversionExceptions("functionObject", true), appControl;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
- findSuccess = this_test.step_func(function () {
+ findSuccess = t.step_func(function () {
assert_unreached("this function should not be run");
});
}, "exception should be thrown");
}
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_findAppControl_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_errorCallback_invalid_cb", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
findSuccess, findErrorFunc, findError, appControl;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
- findSuccess = this_test.step_func(function () {
+ findSuccess = t.step_func(function () {
assert_unreached("this function should not be run");
});
- findErrorFunc = this_test.step_func(function (error) {
+ findErrorFunc = t.step_func(function (error) {
assert_unreached("findAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
});
onerror: findErrorFunc
};
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.findAppControl(appControl, findSuccess, findError);
}, "exception should be thrown");
- this_test.done();
+ t.done();
});
</script>
<head>
<title>ApplicationManager_findAppControl_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_exist
-//==== LABEL check if method findAppControl exist
+//==== LABEL Check if method findAppControl exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "findAppControl");
-}, "ApplicationManager_findAppControl_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_findAppControl_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_missarg
-//==== LABEL check findAppControl with missing non-optional argument
+//==== LABEL Check findAppControl with missing non-optional argument
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.findAppControl();
}, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_findAppControl_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_findAppControl_successCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (findAppControl method) type conversion
+//==== LABEL Check non-optional argument successCallback (findAppControl method) type conversion
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_successCallback_TypeMismatch", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
i, conversionTable = getTypeConversionExceptions("functionObject"), appControl;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
}, "exception should be thrown");
}
- this_test.done();
+ t.done();
}, "ApplicationManager_findAppControl_successCallback_TypeMismatch");
<head>
<title>ApplicationManager_findAppControl_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_successCallback_invalid_cb", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
findSuccess, findSuccessFunc, appControl;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
- findSuccessFunc = this_test.step_func(function () {
+ findSuccessFunc = t.step_func(function () {
assert_unreached("this function should not be used");
});
findSuccess = { onsuccess: findSuccessFunc };
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.findAppControl(appControl, findSuccess);
}, "exception should be thrown");
- this_test.done();
+ t.done();
}, "ApplicationManager_findAppControl_successCallback_invalid_cb");
<head>
<title>ApplicationManager_findAppControl_successCallback_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_successCallback_missarg
-//==== LABEL check findAppControl with missing non-optional successCallback argument
+//==== LABEL Check findAppControl with missing non-optional successCallback argument
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
test(function () {
var appControl = new tizen.ApplicationControl(TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION);
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.findAppControl(appControl);
}, "Method was called without successCallback but exception was not thrown");
-}, "ApplicationManager_findAppControl_successCallback_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_findAppControl_with_errorCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_findAppControl_with_errorCallback
-//==== LABEL check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:findAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_findAppControl_with_errorCallback", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
i, findSuccess, findError, appControl;
-this_test.step(function () {
+t.step(function () {
appControl = new tizen.ApplicationControl(
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_OPERATION,
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_URI,
TCT_APPCONTROL_LAUNCH_APPCONTROL_EXPLICIT_MIME
);
- findSuccess = this_test.step_func(function (appInfos, appControl) {
+ findSuccess = t.step_func(function (appInfos, appControl) {
assert_type(appInfos, "array", "incorrect type of the received value");
assert_equals(appInfos.length, 2, "incorrect length of the received array");
for (i = 0; i < appInfos.length; i++) {
}
}
assert_true(appControl instanceof tizen.ApplicationControl, "wrong ApplicationControl");
- this_test.done();
+ t.done();
});
- findError = this_test.step_func(function (error) {
+ findError = t.step_func(function (error) {
assert_unreached("findAppControl() error callback invoked: name:" + error.name + "msg:" + error.message);
});
<head>
<title>ApplicationManager_getAppCerts</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppCerts
-//==== LABEL check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application
+//==== LABEL Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("type" in appCerts[i], "no type in returned value");
assert_true("value" in appCerts[i], "no value in returned value");
}
-}, "ApplicationManager_getAppCerts");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppCerts_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppCerts_exist
-//==== LABEL check if method getAppCerts exist
+//==== LABEL Check if method getAppCerts exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppCerts");
-}, "ApplicationManager_getAppCerts_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppCerts_with_id</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppCerts_with_id
-//==== LABEL check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates
+//==== LABEL Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppCerts M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("type" in appCerts[i], "no type in returned value");
assert_true("value" in appCerts[i], "no value in returned value");
}
-}, "ApplicationManager_getAppCerts_with_id");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppContext</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppContext
-//==== LABEL check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application
+//==== LABEL Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("id" in appContext, "no id in returned value");
assert_true("appId" in appContext, "no appId in returned value");
assert_equals(appContext.appId, THIS_APP_ID, "wrong ApplicationContext was returned");
-}, "ApplicationManager_getAppContext");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppContext_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppContext_exist
-//==== LABEL check if method getAppContext exist
+//==== LABEL Check if method getAppContext exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppContext");
-}, "ApplicationManager_getAppContext_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppContext_with_contextId</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppContext_with_contextId
-//==== LABEL check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId
+//==== LABEL Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(appContext1.id, appContext2.id, "wrong ApplicationContext was found");
assert_equals(appContext1.appId, appContext2.appId, "wrong ApplicationContext was found");
-}, "ApplicationManager_getAppContext_with_contextId");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppInfo</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppInfo
-//==== LABEL check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application
+//==== LABEL Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("size" in appInfo, "no size in returned value");
assert_true("packageId" in appInfo, "no packageId in returned value");
assert_equals(appInfo.id, THIS_APP_ID, "wrong ApplicationInformation was returned");
-}, "ApplicationManager_getAppInfo");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppInfo_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppInfo_exist
-//==== LABEL check if method getAppInfo exist
+//==== LABEL Check if method getAppInfo exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppInfo");
-}, "ApplicationManager_getAppInfo_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppInfo_with_id</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppInfo_with_id
-//==== LABEL check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId
+//==== LABEL Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
}
}
-}, "ApplicationManager_getAppInfo_with_id");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppMetaData</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/app_common.js"></script>
</head>
assert_equals(appMetaData.length, 1, "Incorrect number of metadata.");
assert_equals(appMetaData[0].key, METADATA_KEY, "Incorrect metadata key");
assert_equals(appMetaData[0].value, METADATA_VALUE, "Incorrect metadata value");
-}, "ApplicationManager_getAppMetaData");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppMetaData_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppMetaData_exist
-//==== LABEL check if method ApplicationManager::getAppMetaData exists
+//==== LABEL Check if method ApplicationManager::getAppMetaData exists
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppMetaData M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppMetaData");
-}, "ApplicationManager_getAppMetaData_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppMetaData_with_id</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/app_common.js"></script>
</head>
assert_equals(appMetaData[i].value, TCT_APPCONTROL_APPID_METADATA[key], "Incorrect value");
delete TCT_APPCONTROL_APPID_METADATA[key];
}
-}, "ApplicationManager_getAppMetaData_with_id");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppSharedURI</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppSharedURI
-//==== LABEL check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application
+//==== LABEL Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
test(function () {
var sharedDir = tizen.application.getAppSharedURI();
assert_type(sharedDir, "string", "type of the found value is not properly");
-}, "ApplicationManager_getAppSharedURI");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppSharedURI_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppSharedURI_exist
-//==== LABEL check if method getAppSharedURI exist
+//==== LABEL Check if method getAppSharedURI exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppSharedURI");
-}, "ApplicationManager_getAppSharedURI_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppSharedURI_with_id</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppSharedURI_with_id
-//==== LABEL check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId
+//==== LABEL Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppSharedURI M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
test(function () {
var sharedDir = tizen.application.getAppSharedURI(TCT_APPCONTROL_APPID);
assert_type(sharedDir, "string", "type of the found value is not properly");
-}, "ApplicationManager_getAppSharedURI_with_id");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsContext</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext
-//==== LABEL check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device
+//==== LABEL Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsContext", {timeout: 30000});
+var t = async_test(document.title, {timeout: 30000}), getSuccess, i, foundCurrentApplication = false, retVal = null;
-this_test.step(function () {
- var getSuccess, i, foundCurrentApplication = false, retVal = null;
+t.step(function () {
- getSuccess = this_test.step_func(function (appContextArray) {
+ getSuccess = t.step_func(function (appContextArray) {
assert_equals(retVal, undefined, "incorrect returned value");
- assert_type(appContextArray ,"array", "type of the found value is not properly");
+ assert_type(appContextArray , "array", "type of the found value is not properly");
for (i = 0; i < appContextArray.length; i++) {
assert_type(appContextArray[i], "object", "type of the found value is not properly");
assert_true("id" in appContextArray[i], "no id in returned value");
assert_unreached("current application context wasn't found");
}
- this_test.done();
+ t.done();
});
retVal = tizen.application.getAppsContext(getSuccess);
<head>
<title>ApplicationManager_getAppsContext_errorCallback_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (getAppsContext method) type conversion
+//==== LABEL Check optional argument errorCallback (getAppsContext method) type conversion
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsContext_errorCallback_TypeMismatch", {timeout: 30000});
-this_test.step(function () {
- var i, getCallback, conversionTable = getTypeConversionExceptions("functionObject", true);
+var t = async_test(document.title, {timeout: 30000}), i, getCallback, conversionTable = getTypeConversionExceptions("functionObject",
+ true);
+t.step(function () {
- getCallback = this_test.step_func(function () {
+ getCallback = t.step_func(function () {
assert_unreached("this function should not be run");
});
}, "exception should be thrown");
}
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsContext_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsContext_errorCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
- var getSuccess, getError, getErrorFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, getErrorFunc;
+t.step(function () {
- getSuccess = this_test.step_func(function () {
+ getSuccess = t.step_func(function () {
assert_unreached("application should not be run");
});
- getErrorFunc = this_test.step_func(function (error) {
+ getErrorFunc = t.step_func(function (error) {
assert_unreached("getAppsContext() error callback invoked: name:" + error.name + "msg:" + error.message);
});
onerror: getErrorFunc
};
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsContext(getSuccess, getError);
}, "exception should be thrown");
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsContext_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_exist
-//==== LABEL check if method getAppsContext exist and can be overriden
+//==== LABEL Check if method getAppsContext exist and can be overriden
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppsContext");
-}, "ApplicationManager_getAppsContext_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsContext_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_missarg
-//==== LABEL getAppsContext - check with missing non-optional argument
+//==== LABEL GetAppsContext - check with missing non-optional argument
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsContext();
}, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_getAppsContext_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsContext_successCallback_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (getAppsContext method) type conversion
+//==== LABEL Check non-optional argument successCallback (getAppsContext method) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
tizen.application.getAppsContext(conversionTable[i][0]);
}, "exception should be thrown");
}
-}, "ApplicationManager_getAppsContext_successCallback_TypeMismatch");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsContext_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsContext_successCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
- var getSuccess, getSuccessFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getSuccessFunc;
+t.step(function () {
- getSuccessFunc = this_test.step_func(function () {
+ getSuccessFunc = t.step_func(function () {
assert_unreached("this function should not be used");
});
onsuccess: getSuccessFunc
};
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsContext(getSuccess);
}, "exception should be thrown");
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsContext_with_errorCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsContext_with_errorCallback
-//==== LABEL check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsContext_with_errorCallback", {timeout: 30000});
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, i, foundCurrentApplication = false;
-this_test.step(function () {
- var getSuccess, getError, i, foundCurrentApplication = false;
+t.step(function () {
- getSuccess = this_test.step_func(function (appContextArray) {
- assert_type(appContextArray ,"array", "type of the found value is not properly");
+ getSuccess = t.step_func(function (appContextArray) {
+ assert_type(appContextArray , "array", "type of the found value is not properly");
for (i = 0; i < appContextArray.length; i++) {
assert_type(appContextArray[i], "object", "type of the found value is not properly");
assert_true("id" in appContextArray[i], "no id in returned value");
if (!foundCurrentApplication) {
assert_unreached("current application context wasn't found");
}
- this_test.done();
+ t.done();
});
- getError = this_test.step_func(function (error) {
+ getError = t.step_func(function (error) {
assert_unreached("getAppsContext() error callback invoked: name:" + error.name + "msg:" + error.message);
});
<head>
<title>ApplicationManager_getAppsInfo</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo
-//==== LABEL check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MR
setup({timeout: 90000});
-var this_test=async_test("ApplicationManager_getAppsInfo", {timeout: 90000});
-this_test.step(function () {
- var getSuccess, retVal = null;
+var t=async_test(document.title, {timeout: 90000}), getSuccess, retVal = null;
+t.step(function () {
- getSuccess = this_test.step_func(function (appInfo) {
+ getSuccess = t.step_func(function (appInfo) {
assert_equals(retVal, undefined, "incorrect returned value");
assert_type(appInfo, "array", "type of the found value is not properly");
assert_true(appInfo.length > 0, "information was not found");
- this_test.done();
+ t.done();
});
retVal = tizen.application.getAppsInfo(getSuccess);
<head>
<title>ApplicationManager_getAppsInfo_errorCallback_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_errorCallback_TypeMismatch
-//==== LABEL check optional argument errorCallback (getAppsInfo method) type conversion
+//==== LABEL Check optional argument errorCallback (getAppsInfo method) type conversion
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsInfo_errorCallback_TypeMismatch", {timeout: 30000});
-this_test.step(function () {
- var i, getSuccess, conversionTable = getTypeConversionExceptions("functionObject", true);
+var t = async_test(document.title, {timeout: 30000}), i, getSuccess, conversionTable = getTypeConversionExceptions("functionObject",
+ true);
+t.step(function () {
- getSuccess = this_test.step_func(function () {
+ getSuccess = t.step_func(function () {
assert_unreached("this function should not be used");
});
}, "exception should be thrown");
}
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsInfo_errorCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method
+//==== LABEL Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsInfo_errorCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
- var getSuccess, getError, getErrorFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getError, getErrorFunc;
+t.step(function () {
- getSuccess = this_test.step_func(function () {
+ getSuccess = t.step_func(function () {
assert_unreached("application should not be run");
});
- getErrorFunc = this_test.step_func(function (error) {
+ getErrorFunc = t.step_func(function (error) {
assert_unreached("getAppsInfo() error callback invoked: name:" + error.name + "msg:" + error.message);
});
onerror: getErrorFunc
};
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsInfo(getSuccess, getError);
}, "exception should be thrown");
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsInfo_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_exist
-//==== LABEL check if method getAppsInfo exist
+//==== LABEL Check if method getAppsInfo exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getAppsInfo");
-}, "ApplicationManager_getAppsInfo_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsInfo_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsInfo();
}, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_getAppsInfo_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsInfo_successCallback_TypeMismatch</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_successCallback_TypeMismatch
-//==== LABEL check non-optional argument successCallback (getAppsInfo method) type conversion
+//==== LABEL Check non-optional argument successCallback (getAppsInfo method) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsContext M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
tizen.application.getAppsInfo(conversionTable[i][0]);
}, "exception should be thrown");
}
-}, "ApplicationManager_getAppsInfo_successCallback_TypeMismatch");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getAppsInfo_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_getAppsInfo_successCallback_invalid_cb", {timeout: 30000});
-this_test.step(function () {
- var getSuccess, getSuccessFunc;
+var t = async_test(document.title, {timeout: 30000}), getSuccess, getSuccessFunc;
+t.step(function () {
- getSuccessFunc = this_test.step_func(function () {
+ getSuccessFunc = t.step_func(function () {
assert_unreached("this function should not be used");
});
onsuccess: getSuccessFunc
};
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.getAppsInfo(getSuccess);
}, "exception should be thrown");
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_getAppsInfo_with_errorCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_getAppsInfo_with_errorCallback
-//==== LABEL check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getAppsInfo M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA MOA
setup({timeout: 90000});
-var this_test = async_test("ApplicationManager_getAppsInfo_with_errorCallback", {timeout: 90000});
+var t = async_test(document.title, {timeout: 90000}), getSuccess, getError;
-this_test.step(function () {
- var getSuccess, getError;
+t.step(function () {
- getSuccess = this_test.step_func(function (appInfo) {
+ getSuccess = t.step_func(function (appInfo) {
assert_type(appInfo, "array", "type of the found value is not properly");
assert_true(appInfo.length > 0, "information was not found");
- this_test.done();
+ t.done();
});
- getError = this_test.step_func(function (error) {
+ getError = t.step_func(function (error) {
assert_unreached("getAppsInfo() error callback invoked: name:" + error.name + "msg:" + error.message);
});
<head>
<title>ApplicationManager_getCurrentApplication</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getCurrentApplication
-//==== LABEL check using getCurrentApplication method in ApplicationManager interface to get current Application object
+//==== LABEL Check using getCurrentApplication method in ApplicationManager interface to get current Application object
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_true("exit" in app, "no exit in returned value");
assert_true("hide" in app, "no hide in returned value");
assert_true("getRequestedAppControl" in app, "no getRequestedAppControl in returned value");
-}, "ApplicationManager_getCurrentApplication");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getCurrentApplication_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getCurrentApplication_exist
-//==== LABEL check if method getCurrentApplication exist
+//==== LABEL Check if method getCurrentApplication exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "getCurrentApplication");
-}, "ApplicationManager_getCurrentApplication_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_getCurrentApplication_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>
<script type="text/javascript">
//==== TEST: ApplicationManager_getCurrentApplication_extra_argument
-//==== LABEL check using getCurrentApplication with extra argument to get current Application object
+//==== LABEL Check using getCurrentApplication with extra argument to get current Application object
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:getCurrentApplication M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
test(function () {
checkExtraArgument(tizen.application, "getCurrentApplication");
-}, "ApplicationManager_getCurrentApplication_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_in_tizen</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_in_tizen
-//==== LABEL check if ApplicationManager exist in tizen
+//==== LABEL Check if ApplicationManager exist in tizen
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
//==== TEST_CRITERIA OBME
test(function () {
- assert_true("application" in tizen,"no ApplicationManager in tizen");
+ assert_true("application" in tizen, "no ApplicationManager in tizen");
check_readonly(tizen, "application", tizen.application, "object", "dummyValue");
-}, "ApplicationManager_in_tizen");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_kill</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill
-//==== LABEL check using kill method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using kill method (with non-optional arguments) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchError, retVal = null;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
retVal = tizen.application.kill(context.id);
- assert_kill(this_test, TCT_APPCONTROL_APPID, function () {
+ assert_kill(t, TCT_APPCONTROL_APPID, function () {
assert_equals(retVal, undefined, "incorrect returned value");
- this_test.done();
+ t.done();
});
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_kill_errorCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (kill) type conversion
+//==== LABEL Check optional argument 'onError' (kill) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MC
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_errorCallback_TypeMismatch", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, killSuccess, launchSuccess, launchError, conversionTable = getTypeConversionExceptions("functionObject", true);
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- killSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ killSuccess = t.step_func(function () {
assert_unreached("This function should not be used");
});
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
for (i = 0; i < conversionTable.length; i++) {
assert_throws({name: conversionTable[i][1]}, function () {
tizen.application.kill(context.id, killSuccess, conversionTable[i][0]);
}, "exception should be thrown");
}
- assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+ assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_kill_errorCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onError) was passed into kill method
+//==== LABEL Check if an exception was thrown when a fake callback (onError) was passed into kill method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MTCB
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_errorCallback_invalid_cb", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
killSuccess, killError, killErrorFunc, launchSuccess, launchError;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
- killSuccess = this_test.step_func(function () {
+ killSuccess = t.step_func(function () {
assert_unreached("This function (killSuccess) should not be used");
});
- killErrorFunc = this_test.step_func(function (error) {
+ killErrorFunc = t.step_func(function (error) {
assert_unreached("kill() error callback invoked: name:" + error.name + "msg:" + error.message);
});
killError = { onsuccess: killErrorFunc };
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.kill(context.id, killSuccess, killError);
}, "exception should be thrown");
- assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+ assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_kill_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_exist
-//==== LABEL check if method kill exist
+//==== LABEL Check if method kill exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "kill");
-}, "ApplicationManager_kill_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_kill_successCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (kill) type conversion
+//==== LABEL Check optional argument 'onSuccess' (kill) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_successCallback_TypeMismatch", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, launchSuccess, launchError,
conversionTable = getTypeConversionExceptions("functionObject", true);
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
for (i = 0; i < conversionTable.length; i++) {
assert_throws({name: conversionTable[i][1]}, function () {
tizen.application.kill(context.id, conversionTable[i][0]);
}, "exception should be thrown");
}
- assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+ assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_kill_successCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into kill method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_successCallback_invalid_cb", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
killSuccessFunc, killSuccess, launchSuccess, launchError;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- killSuccessFunc = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ killSuccessFunc = t.step_func(function () {
assert_unreached("this function should not be used");
});
killSuccess = { onsuccess: killSuccessFunc };
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.kill(context.id, killSuccess);
}, "exception should be thrown");
- assert_not_kill(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+ assert_not_kill(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_kill_with_errorCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_with_errorCallback
-//==== LABEL check using kill method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using kill method (with optional argument errorCallback) in ApplicationManager interface
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_with_errorCallback", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
killSuccess, killError, currentApplication;
-this_test.step(function () {
- killSuccess = this_test.step_func(function () {
+t.step(function () {
+ killSuccess = t.step_func(function () {
assert_unreached("This function should not be used");
});
- killError = this_test.step_func(function (error) {
+ killError = t.step_func(function (error) {
assert_equals(error.name, "InvalidValuesError", "InvalidValuesError must be thrown");
- this_test.done();
+ t.done();
});
currentApplication = tizen.application.getCurrentApplication();
<head>
<title>ApplicationManager_kill_with_successCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_kill_with_successCallback
-//==== LABEL check using kill method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using kill method (with optional argument successCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:kill M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_kill_with_successCallback", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
killSuccess, launchSuccess, launchError;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- killSuccess = this_test.step_func(function () {
- assert_kill(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ killSuccess = t.step_func(function () {
+ assert_kill(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
- launchSuccess = this_test.step_func(function () {
- assert_launch(this_test, TCT_APPCONTROL_APPID, function (context) {
+ launchSuccess = t.step_func(function () {
+ assert_launch(t, TCT_APPCONTROL_APPID, function (context) {
tizen.application.kill(context.id, killSuccess);
});
});
- launchError = this_test.step_func(function (error) {
+ launchError = t.step_func(function (error) {
assert_unreached("launch fails: " + error.name + " with message: " + error.message);
});
<head>
<title>ApplicationManager_launch</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch
-//==== LABEL check using launch method (with non-optional arguments) in ApplicationManager interface
+//==== LABEL Check using launch method (with non-optional arguments) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
//==== TEST_CRITERIA MMINA MAST MR
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch", { timeout : 30000 }), retVal = null;
+var t = async_test(document.title, {timeout: 30000}), retVal = null;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
retVal = tizen.application.launch(TCT_APPCONTROL_APPID);
<head>
<title>ApplicationManager_launchAppControl_appControl_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_appControl_TypeMismatch
-//==== LABEL check non-optional argument ApplicationControl type conversion
+//==== LABEL Check non-optional argument ApplicationControl type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_appControl_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, conversionTable = getTypeConversionExceptions("object");
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launchAppControl_appControl_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_appControl_invalid_obj
-//==== LABEL check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_appControl_invalid_obj", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), appControl;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
- var appControl = {
- operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
- uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
- mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
- category: "",
- data: []
- };
-
- assert_throws(TYPE_MISMATCH_ERR, function () {
+
+ appControl = {
+ operation: TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION,
+ uri: TCT_APPCONTROL_LAUNCH_APPCONTROL_URI,
+ mime: TCT_APPCONTROL_LAUNCH_APPCONTROL_MIME,
+ category: "",
+ data: []
+ };
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launchAppControl(appControl);
}, "exception should be thrown");
<head>
<title>ApplicationManager_launchAppControl_errorCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (launchAppControl) type conversion
+//==== LABEL Check optional argument 'onError' (launchAppControl) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_errorCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, launchSuccess, appcontrol, conversionTable = getTypeConversionExceptions("functionObject", true);
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launchAppControl_errorCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_errorCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchError, launchErrorFunc, appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launchAppControl(appcontrol, null, launchSuccess, launchError);
}, "exception should be thrown");
<head>
<title>ApplicationManager_launchAppControl_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_exist
-//==== LABEL check if method launchAppControl exist
+//==== LABEL Check if method launchAppControl exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "launchAppControl");
-}, "ApplicationManager_launchAppControl_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_launchAppControl_missarg</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_missarg
-//==== LABEL launchAppControl - check with missing non-optional argument
+//==== LABEL LaunchAppControl - check with missing non-optional argument
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
//==== TEST_CRITERIA MMA
test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launchAppControl();
}, "Method was called without arguments but exception was not thrown");
-}, "ApplicationManager_launchAppControl_missarg");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_launchAppControl_replyCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_replyCallback_TypeMismatch
-//==== LABEL check optional argument 'onReply' type conversion
+//==== LABEL Check optional argument 'onReply' type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_replyCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, launchSuccess, launchError, appcontrol, conversionTable = getTypeConversionExceptions("object", true);
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launchAppControl_replyCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_replyCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_replyCallback_invalid_cb", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), i, launchSuccess, launchError, appcontrol, conversionTable;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
- var i, launchSuccess, launchError, appcontrol, conversionTable = getListenerConversionExceptions(["onsuccess","onfailure"]);
launchSuccess = t.step_func(function () {
assert_unreached("application should not be run");
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
+ conversionTable = getListenerConversionExceptions(["onsuccess", "onfailure"]);
+
for (i = 0; i < conversionTable.length; i++) {
assert_throws({name: conversionTable[i][1]}, function () {
tizen.application.launchAppControl(appcontrol, null, launchSuccess, launchError, conversionTable[i][0]);
<head>
<title>ApplicationManager_launchAppControl_successCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (launchAppControl) type conversion
+//==== LABEL Check optional argument 'onSuccess' (launchAppControl) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_successCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, appcontrol, conversionTable = getTypeConversionExceptions("functionObject", true);
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launchAppControl_successCallback_invalid_cb</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method
+//==== LABEL Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_successCallback_invalid_cb", { timeout : 30000 });
+var t = async_test(document.title, {timeout: 30000}), launchSuccess, launchSuccessFunc, appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
- var launchSuccess, launchSuccessFunc, appcontrol;
launchSuccessFunc = t.step_func(function () {
assert_unreached("this function should not be used");
TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
);
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launchAppControl(appcontrol, null, launchSuccess);
}, "exception should be thrown");
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_appControl_operation
-//==== LABEL check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_mime
-//==== LABEL check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_mime", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_uri
-//==== LABEL check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_uri", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_appControl_operation_uri_mime
-//==== LABEL check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation_uri_mime", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_errorCallback
-//==== LABEL check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_errorCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchError, appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_id
-//==== LABEL check using launchAppControl method with explicit application ID in ApplicationManager interface
+//==== LABEL Check using launchAppControl method with explicit application ID in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_id", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appcontrol;
setup_launch(t, TCT_APPCONTROL_MOCK_APPID, function () {
<head>
<title>ApplicationManager_launchAppControl_with_replyCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_replyCallback
-//==== LABEL check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launchAppControl_with_replyCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
replyCallback, launchError, appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<script type="text/javascript">
//==== TEST: ApplicationManager_launchAppControl_with_successCallback
-//==== LABEL check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_launchAppControl_with_successCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, appcontrol, retVal = null;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- launchSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ launchSuccess = t.step_func(function () {
assert_equals(retVal, undefined, "incorrect returned value");
- assert_launch(this_test, TCT_APPCONTROL_APPID, function () {
- this_test.done();
+ assert_launch(t, TCT_APPCONTROL_APPID, function () {
+ t.done();
});
});
<head>
<title>ApplicationManager_launch_errorCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_errorCallback_TypeMismatch
-//==== LABEL check optional argument 'onError' (launch) type conversion
+//==== LABEL Check optional argument 'onError' (launch) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch_errorCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, launchSuccess, conversionTable = getTypeConversionExceptions("functionObject", true);
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launch_errorCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_errorCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (on error) was passed
+//==== LABEL Check if an exception was thrown when a fake callback (on error) was passed
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch_errorCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchError, launchErrorFunc;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
launchError = {onerror: launchErrorFunc};
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launch(TCT_APPCONTROL_APPID, launchSuccess, launchError);
}, "exception should be thrown");
<head>
<title>ApplicationManager_launch_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_exist
-//==== LABEL check if method launch exist
+//==== LABEL Check if method launch exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "launch");
-}, "ApplicationManager_launch_exist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_launch_successCallback_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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_successCallback_TypeMismatch
-//==== LABEL check optional argument 'onSuccess' (launch) type conversion
+//==== LABEL Check optional argument 'onSuccess' (launch) type conversion
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch_successCallback_TypeMismatch", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
i, conversionTable = getTypeConversionExceptions("functionObject", true);
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_launch_successCallback_invalid_cb</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_successCallback_invalid_cb
-//==== LABEL check if an exception was thrown when a fake callback (on success) was passed
+//==== LABEL Check if an exception was thrown when a fake callback (on success) was passed
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P2
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch_successCallback_invalid_cb", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchSuccessFunc;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
launchSuccess = { onsuccess: launchSuccessFunc };
- assert_throws(TYPE_MISMATCH_ERR, function () {
+ assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
tizen.application.launch(TCT_APPCONTROL_APPID, launchSuccess);
}, "exception should be thrown");
<head>
<title>ApplicationManager_launch_with_errorCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_with_errorCallback
-//==== LABEL check using launch method (with optional argument errorCallback) in ApplicationManager interface
+//==== LABEL Check using launch method (with optional argument errorCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_launch_with_errorCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess, launchError;
-setup_launch(this_test, TCT_APPCONTROL_APPID, function () {
- launchSuccess = this_test.step_func(function () {
+setup_launch(t, TCT_APPCONTROL_APPID, function () {
+ launchSuccess = t.step_func(function () {
assert_unreached("this function should not be used");
});
- launchError = this_test.step_func(function () {
- this_test.done();
+ launchError = t.step_func(function () {
+ t.done();
});
tizen.application.launch(INVALID_APP_ID, launchSuccess, launchError);
<head>
<title>ApplicationManager_launch_with_successCallback</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationManager_launch_with_successCallback
-//==== LABEL check using launch method (with optional argument successCallback) in ApplicationManager interface
+//==== LABEL Check using launch method (with optional argument successCallback) in ApplicationManager interface
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:launch M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("ApplicationManager_launch_with_successCallback", { timeout : 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
launchSuccess;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>ApplicationManager_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: ApplicationManager_notexist
-//==== LABEL check if ApplicationManager notexist
+//==== LABEL Check if ApplicationManager notexist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:ApplicationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("ApplicationManager");
-}, "ApplicationManager_notexist");
+}, document.title);
</script>
</body>
<head>
<title>ApplicationManager_removeAppInfoEventListener</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_removeAppInfoEventListener
-//==== LABEL check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
+//==== LABEL Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface
//==== ONLOAD_DELAY 30
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var this_test = async_test("ApplicationManager_removeAppInfoEventListener", {timeout: 30000});
-this_test.step(function () {
- var appEventCallback, watchId, retVal;
+var t = async_test(document.title, {timeout: 30000}), appEventCallback, watchId, retVal;
+t.step(function () {
appEventCallback = {
- oninstalled: this_test.step_func(function () {
+ oninstalled: t.step_func(function () {
assert_unreached("This function (oninstalled) should not be used");
}),
- onupdated: this_test.step_func(function () {
+ onupdated: t.step_func(function () {
assert_unreached("This function (onupdated) should not be used");
}),
- onuninstalled: this_test.step_func(function () {
+ onuninstalled: t.step_func(function () {
assert_unreached("This function (onuninstalled) should not be used");
})
};
watchId = tizen.application.addAppInfoEventListener(appEventCallback);
- assert_type(watchId, "number", "wrong listener ID");
+ assert_type(watchId, "long", "wrong listener ID");
retVal = tizen.application.removeAppInfoEventListener(watchId);
assert_type(retVal, "undefined", "this method should return nothing");
- this_test.done();
+ t.done();
});
<head>
<title>ApplicationManager_removeAppInfoEventListener_exist</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>
<script type="text/javascript">
//==== TEST: ApplicationManager_removeAppInfoEventListener_exist
-//==== LABEL check if method removeAppInfoEventListener exist
+//==== LABEL Check if method removeAppInfoEventListener exist
//==== SPEC Tizen Web API:Application:Application:ApplicationManager:removeAppInfoEventListener M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
check_method_exists(tizen.application, "removeAppInfoEventListener");
-}, "ApplicationManager_removeAppInfoEventListener_exist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationMetaData_extend</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationMetaData_extend
-//==== LABEL: Check if ApplicationMetaData can have new properties added
+//==== LABEL Check if ApplicationMetaData can have new properties added
//==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:ApplicationMetaData U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
assert_equals(metadata.length, 1, "Incorrect number of metadata.");
check_extensibility(metadata[0]);
-}, "ApplicationMetaData_extend");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationMetaData_key_attribute</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationMetaData_key_attribute
-//==== LABEL: Check if ApplicationMetaData have key attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationMetaData have key attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:key A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== TEST_CRITERIA AE AT ARO
assert_true("key" in metadata[0], "AplicationInformation should have iconPath attribute");
check_readonly(metadata[0], "key", METADATA_KEY, "string", "dummy");
-}, "ApplicationMetaData_key_attribute");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationMetaData_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("ApplicationMetaData");
-}, "ApplicationMetaData_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>ApplicationMetaData_value_attribute</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: ApplicationMetaData_value_attribute
-//==== LABEL: Check if ApplicationMetaData have value attribute with proper type, readonly, not null
+//==== LABEL Check if ApplicationMetaData have value attribute with proper type, readonly, not null
//==== SPEC: Tizen Web API:Application:Application:ApplicationMetaData:value A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== TEST_CRITERIA AE AT ARO
assert_true("value" in metadata[0], "ApplicationMetaData should have value attribute");
check_readonly(metadata[0], "value", METADATA_VALUE, "string", "dummy");
-}, "ApplicationMetaData_value_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Application_ContextId_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: Application_ContextId_attribute
-//==== LABEL check Application.ContextId attribute
+//==== LABEL Check attribute Application::ContextId existence and type
//==== SPEC Tizen Web API:Application:Application:Application:contextId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
var app = tizen.application.getCurrentApplication();
assert_true("contextId" in app, "contextId doesn't exist in provided object");
check_readonly(app, "contextId", app.contextId, "string", "dummyValue");
-}, "Application_ContextId_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Application_appInfo_attribute</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Application_appInfo_attribute
-//==== LABEL check Application.appInfo attribute
+//==== LABEL Check attribute Application::appInfo existence and type
//==== SPEC Tizen Web API:Application:Application:Application:appInfo A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
assert_equals(app.appInfo.id, THIS_APP_ID, "wrong ApplicationInformation");
app.appInfo = tizen.application.getAppInfo(TCT_APPCONTROL_APPID);
assert_equals(app.appInfo.id, THIS_APP_ID, "ApplicationInformation can be modified");
-}, "Application_appInfo_attribute");
+}, document.title);
</script>
</body>
<script type="text/javascript">
//==== TEST: Application_exit
-//==== LABEL check using exit method (with non-optional arguments) in Application interface
+//==== LABEL Check using exit method (with non-optional arguments) in Application interface
//==== SPEC Tizen Web API:Application:Application:Application:exit M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("Application_exit", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
timeout = 1000, replyCallback, launchError, appcontrol;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<head>
<title>Application_exit_exist</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>
<script type="text/javascript">
//==== TEST: Application_exit_exist
-//==== LABEL check if method Application.exit exist
+//==== LABEL Check if method Application.exit exist
//==== SPEC Tizen Web API:Application:Application:Application:exit M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
var app = tizen.application.getCurrentApplication();
check_method_exists(app, "exit");
-}, "Application_exit_exist");
+}, document.title);
</script>
</body>
<head>
<title>Application_extend</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script>
//==== TEST: Application_extend
-//==== LABEL check if Application possible extend
+//==== LABEL Check if Application possible extend
//==== SPEC Tizen Web API:Application:Application:Application:Application U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
var app = tizen.application.getCurrentApplication();
check_extensibility(app);
-}, "Application_extend");
+}, document.title);
</script>
</body>
<script type="text/javascript">
//==== TEST: Application_getRequestedAppControl
-//==== LABEL check using getRequestedAppControl method (with non-optional arguments) in Application interface
+//==== LABEL Check using getRequestedAppControl method (with non-optional arguments) in Application interface
//==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<head>
<title>Application_getRequestedAppControl_exist</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>
<script type="text/javascript">
//==== TEST: Application_getRequestedAppControl_exist
-//==== LABEL check if method Application.getRequestedAppControl exist
+//==== LABEL Check if method Application.getRequestedAppControl exist
//==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
var app = tizen.application.getCurrentApplication();
check_method_exists(app, "getRequestedAppControl");
-}, "Application_getRequestedAppControl_exist");
+}, document.title);
</script>
</body>
<head>
<title>Application_getRequestedAppControl_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>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Application_getRequestedAppControl_extra_argument
-//==== LABEL check using getRequestedAppControl method (with extra argument) in Application interface
+//==== LABEL Check using getRequestedAppControl method (with extra argument) in Application interface
//==== SPEC Tizen Web API:Application:Application:Application:getRequestedAppControl M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<script type="text/javascript">
//==== TEST: Application_hide
-//==== LABEL check using hide method (with non-optional arguments) in Application interface
+//==== LABEL Check using hide method (with non-optional arguments) in Application interface
//==== SPEC Tizen Web API:Application:Application:Application:hide M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<head>
<title>Application_hide_exist</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>
<script type="text/javascript">
//==== TEST: Application_hide_exist
-//==== LABEL check if method Application.hide exist
+//==== LABEL Check if method Application.hide exist
//==== SPEC Tizen Web API:Application:Application:Application:hide M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P0
test(function () {
var app = tizen.application.getCurrentApplication();
check_method_exists(app, "hide");
-}, "Application_hide_exist");
+}, document.title);
</script>
</body>
<head>
<title>Application_hide_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>
<script type="text/javascript" src="support/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Application_hide_extra_argument
-//==== LABEL check using hide method (with extra arguments) in Application interface
+//==== LABEL Check using hide method (with extra arguments) in Application interface
//==== SPEC Tizen Web API:Application:Application:Application:hide M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<head>
<title>Application_notexist</title>
<meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: Application_notexist
-//==== LABEL check if Application notexist
+//==== LABEL Check if Application notexist
//==== SPEC Tizen Web API:Application:Application:Application:Application U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("Application");
-}, "Application_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FindAppControlSuccessCallback_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("FindAppControlSuccessCallback");
-}, "FindAppControlSuccessCallback_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>FindAppControlSuccessCallback_onsuccess</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: FindAppControlSuccessCallback_onsuccess
-//==== LABEL: Check if FindAppControlSuccessCallback onsuccess is called and if its arguments have proper type
+//==== LABEL Check if FindAppControlSuccessCallback onsuccess is called and if its arguments have proper type
//==== ONLOAD_DELAY 30
//==== SPEC: Tizen Web API:Application:Application:FindAppControlSuccessCallback:onsuccess M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
setup({timeout: 30000});
-var t = async_test("FindAppControlSuccessCallback_onsuccess", {timeout: 30000}),
+var t = async_test(document.title, {timeout: 30000}),
findSuccess, findError, info, control, tmp, i;
t.step(function () {
<html>
<head>
<title>RequestedApplicationControl_appControl_attribute</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_appControl_attribute
-//==== LABEL: Check if RequestedApplicationControl have appControl attribute with proper type, writable, not null
+//==== LABEL Check if RequestedApplicationControl have appControl attribute with proper type, writable, not null
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:appControl A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<html>
<head>
<title>RequestedApplicationControl_callerAppId_attribute</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_callerAppId_attribute
-//==== LABEL: Check if RequestedApplicationControl have callerAppId attribute with proper type, writable, not null
+//==== LABEL Check if RequestedApplicationControl have callerAppId attribute with proper type, writable, not null
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:callerAppId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<html>
<head>
<title>RequestedApplicationControl_extend</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_extend
-//==== LABEL: Check if RequestedApplicationControl can have new properties added
+//==== LABEL Check if RequestedApplicationControl can have new properties added
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:RequestedApplicationControl U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P3
<html>
<head>
<title>RequestedApplicationControl_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
check_no_interface_object("RequestedApplicationControl");
-}, "RequestedApplicationControl_notexist");
+}, document.title);
</script>
</body>
<html>
<head>
<title>RequestedApplicationControl_replyFailure</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/app_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_replyFailure
-//==== LABEL: check if RequestedApplicationControl method replyFailure works properly
+//==== LABEL Check if RequestedApplicationControl method replyFailure works properly
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyFailure M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("RequestedApplicationControl_replyFailure", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appControl, replyCallback, onError;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<html>
<head>
<title>RequestedApplicationControl_replyFailure_exist</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_replyFailure_exist
-//==== LABEL: Check if replyFailure method exist and cane be overriden
+//==== LABEL Check if replyFailure method exist and cane be overriden
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyFailure M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<html>
<head>
<title>RequestedApplicationControl_replyFailure_extra_argument</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/app_common.js"></script>
</head>
setup({timeout: 30000});
-var t = async_test("RequestedApplicationControl_replyFailure_extra_argument", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appControl, replyCallback, onError;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<html>
<head>
<title>RequestedApplicationControl_replyResult</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_replyResult
-//==== LABEL: Check if RequestedApplicationControl method replyResult works properly
+//==== LABEL Check if RequestedApplicationControl method replyResult works properly
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("RequestedApplicationControl_replyResult", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appControl, replyCallback, onerror;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
<html>
<head>
<title>RequestedApplicationControl_replyResult_data_TypeMismatch</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/app_common.js"></script>
</head>
<html>
<head>
<title>RequestedApplicationControl_replyResult_exist</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/app_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_replyResult_exist
-//==== LABEL: Check if replyResult method exist and cane be overriden
+//==== LABEL Check if replyResult method exist and cane be overriden
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
<html>
<head>
<title>RequestedApplicationControl_replyResult_with_data</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/app_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: RequestedApplicationControl_replyResult_with_data
-//==== LABEL: Check if RequestedApplicationControl method replyCallback called with data param works properly
+//==== LABEL Check if RequestedApplicationControl method replyCallback called with data param works properly
//==== SPEC: Tizen Web API:Application:Application:RequestedApplicationControl:replyResult M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
//==== PRIORITY P1
setup({timeout: 30000});
-var t = async_test("RequestedApplicationControl_replyResult_with_data", { timeout: 30000 }),
+var t = async_test(document.title, {timeout: 30000}),
appControl, replyCallback, onerror, sentData;
setup_launch(t, TCT_APPCONTROL_APPID, function () {
--- /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;
+}
+++ /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-application-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Application">
- <testcase purpose="check if ApplicationCertificate possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_extend">
+ <testcase purpose="Check if ApplicationCertificate possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationCertificate notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_notexist">
+ <testcase purpose="Check if ApplicationCertificate notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationCertificate_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationCertificate.type attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_type_attribute">
+ <testcase purpose="Check attribute ApplicationCertificate::type existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_type_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationCertificate.value attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_value_attribute">
+ <testcase purpose="Check attribute ApplicationCertificate::value existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationCertificate_value_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationContext.appId attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_appId_attribute">
+ <testcase purpose="Check attribute ApplicationContext::appId existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_appId_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationContext possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_extend">
+ <testcase purpose="Check if ApplicationContext possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationContext.id attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_id_attribute">
+ <testcase purpose="Check attribute ApplicationContext::id existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationContext_id_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationContext notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_notexist">
+ <testcase purpose="Check if ApplicationContext notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationContext_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationControlDataArrayReplyCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControlDataArrayReplyCallback_notexist">
+ <testcase purpose="Check if ApplicationControlDataArrayReplyCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControlDataArrayReplyCallback_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check onfailure listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onfailure">
+ <testcase purpose="Check onfailure listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onfailure">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onsuccess">
+ <testcase purpose="Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControlDataArrayReplyCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationControl.category attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_category_attribute">
+ <testcase purpose="Check attribute ApplicationControl::category existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_category_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether constructor with all arguments are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor">
+ <testcase purpose="Test whether constructor with all arguments are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="test whether constructor with non-optional argument are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor_minargs">
+ <testcase purpose="Test whether constructor with non-optional argument are supported" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_constructor_minargs">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationControl.data attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_data_attribute">
+ <testcase purpose="Check attribute ApplicationControl::data existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_data_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_exist">
+ <testcase purpose="Check if ApplicationControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationControl possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControl_extend">
+ <testcase purpose="Check if ApplicationControl possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationControl_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationControl.mime attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_mime_attribute">
+ <testcase purpose="Check attribute ApplicationControl::mime existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_mime_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationControl.operation attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_operation_attribute">
+ <testcase purpose="Check attribute ApplicationControl::operation existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_operation_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check ApplicationControl.uri attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_uri_attribute">
+ <testcase purpose="Check attribute ApplicationControl::uri existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationControl_uri_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationInformationEventCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationInformationEventCallback_notexist">
+ <testcase purpose="Check if ApplicationInformationEventCallback notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationInformationEventCallback_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
+ <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
+ <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
+ <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationManagerObject not exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManagerObject_notexist">
+ <testcase purpose="Check if ApplicationManagerObject not exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
+ <testcase purpose="Check if method addAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_addAppInfoEventListener_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
+ <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_addAppInfoEventListener_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+ <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+ <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+ <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationManager possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_extend">
+ <testcase purpose="Check if ApplicationManager possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl">
+ <testcase purpose="Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument ApplicationControl (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
+ <testcase purpose="Check non-optional argument ApplicationControl (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_invalid_obj">
+ <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_appControl_invalid_obj">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument errorCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method findAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_findAppControl_exist">
+ <testcase purpose="Check if method findAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_findAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check findAppControl with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_missarg">
+ <testcase purpose="Check findAppControl with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument successCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (findAppControl method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check findAppControl with missing non-optional successCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_missarg">
+ <testcase purpose="Check findAppControl with missing non-optional successCallback argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_findAppControl_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl_with_errorCallback">
+ <testcase purpose="Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_findAppControl_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts">
+ <testcase purpose="Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppCerts exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppCerts_exist">
+ <testcase purpose="Check if method getAppCerts exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppCerts_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts_with_id">
+ <testcase purpose="Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppCerts_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext">
+ <testcase purpose="Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppContext exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppContext_exist">
+ <testcase purpose="Check if method getAppContext exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppContext_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext_with_contextId">
+ <testcase purpose="Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppContext_with_contextId">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo">
+ <testcase purpose="Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppInfo_exist">
+ <testcase purpose="Check if method getAppInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppInfo_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo_with_id">
+ <testcase purpose="Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppInfo_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method ApplicationManager::getAppMetaData exists" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppMetaData_exist">
+ <testcase purpose="Check if method ApplicationManager::getAppMetaData exists" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppMetaData_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI">
+ <testcase purpose="Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppSharedURI exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppSharedURI_exist">
+ <testcase purpose="Check if method getAppSharedURI exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppSharedURI_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI_with_id">
+ <testcase purpose="Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppSharedURI_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext">
+ <testcase purpose="Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument errorCallback (getAppsContext method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (getAppsContext method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppsContext exist and can be overriden" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsContext_exist">
+ <testcase purpose="Check if method getAppsContext exist and can be overriden" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsContext_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="getAppsContext - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_missarg">
+ <testcase purpose="GetAppsContext - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument successCallback (getAppsContext method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (getAppsContext method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext_with_errorCallback">
+ <testcase purpose="Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsContext_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo">
+ <testcase purpose="Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument errorCallback (getAppsInfo method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (getAppsInfo method) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAppsInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsInfo_exist">
+ <testcase purpose="Check if method getAppsInfo exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getAppsInfo_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument successCallback (getAppsInfo method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (getAppsInfo method) type conversion" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo_with_errorCallback">
+ <testcase purpose="Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getAppsInfo_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getCurrentApplication method in ApplicationManager interface to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication">
+ <testcase purpose="Check using getCurrentApplication method in ApplicationManager interface to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getCurrentApplication exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getCurrentApplication_exist">
+ <testcase purpose="Check if method getCurrentApplication exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_getCurrentApplication_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getCurrentApplication with extra argument to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication_extra_argument">
+ <testcase purpose="Check using getCurrentApplication with extra argument to get current Application object" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_getCurrentApplication_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationManager exist in tizen" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_in_tizen">
+ <testcase purpose="Check if ApplicationManager exist in tizen" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_in_tizen">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using kill method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill">
+ <testcase purpose="Check using kill method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onError' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method kill exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_kill_exist">
+ <testcase purpose="Check if method kill exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_kill_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (kill) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_kill_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using kill method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_errorCallback">
+ <testcase purpose="Check using kill method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using kill method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_successCallback">
+ <testcase purpose="Check using kill method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_kill_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launch method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch">
+ <testcase purpose="Check using launch method (with non-optional arguments) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check non-optional argument ApplicationControl type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
+ <testcase purpose="Check non-optional argument ApplicationControl type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
+ <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onError' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method launchAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launchAppControl_exist">
+ <testcase purpose="Check if method launchAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launchAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="launchAppControl - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_missarg">
+ <testcase purpose="LaunchAppControl - check with missing non-optional argument" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onReply' type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onReply' type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (launchAppControl) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation">
+ <testcase purpose="Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
+ <testcase purpose="Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
+ <testcase purpose="Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
+ <testcase purpose="Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_errorCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method with explicit application ID in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_id">
+ <testcase purpose="Check using launchAppControl method with explicit application ID in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_replyCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_replyCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_successCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launchAppControl_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onError' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (on error) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (on error) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method launch exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launch_exist">
+ <testcase purpose="Check if method launch exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_launch_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (launch) type conversion" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (on success) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (on success) was passed" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P2" id="ApplicationManager_launch_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launch method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_errorCallback">
+ <testcase purpose="Check using launch method (with optional argument errorCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using launch method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_successCallback">
+ <testcase purpose="Check using launch method (with optional argument successCallback) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_launch_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if ApplicationManager notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_notexist">
+ <testcase purpose="Check if ApplicationManager notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="ApplicationManager_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
+ <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_removeAppInfoEventListener">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
+ <testcase purpose="Check if method removeAppInfoEventListener exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="ApplicationManager_removeAppInfoEventListener_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check Application.ContextId attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_ContextId_attribute">
+ <testcase purpose="Check attribute Application::ContextId existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_ContextId_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check Application.appInfo attribute" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_appInfo_attribute">
+ <testcase purpose="Check attribute Application::appInfo existence and type" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_appInfo_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using exit method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_exit">
+ <testcase purpose="Check using exit method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_exit">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method Application.exit exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_exit_exist">
+ <testcase purpose="Check if method Application.exit exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_exit_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Application possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_extend">
+ <testcase purpose="Check if Application possible extend" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getRequestedAppControl method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl">
+ <testcase purpose="Check using getRequestedAppControl method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method Application.getRequestedAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_getRequestedAppControl_exist">
+ <testcase purpose="Check if method Application.getRequestedAppControl exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_getRequestedAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using getRequestedAppControl method (with extra argument) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl_extra_argument">
+ <testcase purpose="Check using getRequestedAppControl method (with extra argument) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_getRequestedAppControl_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using hide method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide">
+ <testcase purpose="Check using hide method (with non-optional arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method Application.hide exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_hide_exist">
+ <testcase purpose="Check if method Application.hide exist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P0" id="Application_hide_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check using hide method (with extra arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide_extra_argument">
+ <testcase purpose="Check using hide method (with extra arguments) in Application interface" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="Application_hide_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Application notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_notexist">
+ <testcase purpose="Check if Application notexist" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P3" id="Application_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if RequestedApplicationControl method replyFailure works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="RequestedApplicationControl_replyFailure">
+ <testcase purpose="Check if RequestedApplicationControl method replyFailure works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="RequestedApplicationControl_replyFailure">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html</test_script_entry>
</description>
<test_definition>
<suite name="tct-application-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Application">
- <testcase purpose="check if ApplicationCertificate possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_extend">
+ <testcase purpose="Check if ApplicationCertificate possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationCertificate notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_notexist">
+ <testcase purpose="Check if ApplicationCertificate notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationCertificate.type attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_type_attribute">
+ <testcase purpose="Check attribute ApplicationCertificate::type existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_type_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationCertificate.value attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_value_attribute">
+ <testcase purpose="Check attribute ApplicationCertificate::value existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationCertificate_value_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationCertificate_value_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContextArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationContext.appId attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_appId_attribute">
+ <testcase purpose="Check attribute ApplicationContext::appId existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_appId_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_appId_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationContext possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_extend">
+ <testcase purpose="Check if ApplicationContext possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationContext.id attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_id_attribute">
+ <testcase purpose="Check attribute ApplicationContext::id existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_id_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationContext notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_notexist">
+ <testcase purpose="Check if ApplicationContext notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationContext_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationContext_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationControlDataArrayReplyCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_notexist">
+ <testcase purpose="Check if ApplicationControlDataArrayReplyCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check onfailure listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onfailure">
+ <testcase purpose="Check onfailure listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onfailure">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onfailure.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onsuccess">
+ <testcase purpose="Check argument passed into method who is onsuccess listener in ApplicationControlDataArrayReplyCallback" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControlDataArrayReplyCallback_onsuccess">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlDataArrayReplyCallback_onsuccess.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControlData_value_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationControl.category attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_category_attribute">
+ <testcase purpose="Check attribute ApplicationControl::category existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_category_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_category_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether constructor with all arguments are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor">
+ <testcase purpose="Test whether constructor with all arguments are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="test whether constructor with non-optional argument are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor_minargs">
+ <testcase purpose="Test whether constructor with non-optional argument are supported" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_constructor_minargs">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_constructor_minargs.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationControl.data attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_data_attribute">
+ <testcase purpose="Check attribute ApplicationControl::data existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_data_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_data_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_exist">
+ <testcase purpose="Check if ApplicationControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationControl possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_extend">
+ <testcase purpose="Check if ApplicationControl possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationControl.mime attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_mime_attribute">
+ <testcase purpose="Check attribute ApplicationControl::mime existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_mime_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_mime_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationControl.operation attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_operation_attribute">
+ <testcase purpose="Check attribute ApplicationControl::operation existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_operation_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_operation_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check ApplicationControl.uri attribute" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_uri_attribute">
+ <testcase purpose="Check attribute ApplicationControl::uri existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationControl_uri_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationControl_uri_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationInformationEventCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_notexist">
+ <testcase purpose="Check if ApplicationInformationEventCallback notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_oninstalled">
+ <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_oninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onuninstalled">
+ <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onuninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onupdated">
+ <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationInformationEventCallback_onupdated">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformation_version_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationManagerObject not exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManagerObject_notexist">
+ <testcase purpose="Check if ApplicationManagerObject not exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManagerObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument 'ApplicationInformationEventCallback' type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument 'ApplicationInformationEventCallback' type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback was passed into addAppInfoEventListener method" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method addAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist">
+ <testcase purpose="Check if method addAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg">
+ <testcase purpose="Check addAppInfoEventListener with missing non-optional ApplicationInformationEventCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (installation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+ <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_oninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+ <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using addAppInfoEventListener method (updating process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onupdated">
+ <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" component="TizenAPI/Application/Application" execution_type="manual" id="ApplicationManager_addAppInfoEventListener_onupdated">
<description>
<pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it from: My Files/Phone/Others).</pre_condition>
<steps>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationManager possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_extend">
+ <testcase purpose="Check if ApplicationManager possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl">
+ <testcase purpose="Check using findAppControl method (with non-optional arguments) in ApplicationManager interface to get ApplicationsInformation of applications can be launched with the given application control" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument ApplicationControl (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
+ <testcase purpose="Check non-optional argument ApplicationControl (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_invalid_obj">
+ <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_appControl_invalid_obj">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_appControl_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument errorCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method findAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_exist">
+ <testcase purpose="Check if method findAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check findAppControl with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_missarg">
+ <testcase purpose="Check findAppControl with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument successCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (findAppControl method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into findAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check findAppControl with missing non-optional successCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_missarg">
+ <testcase purpose="Check findAppControl with missing non-optional successCallback argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_successCallback_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_successCallback_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_with_errorCallback">
+ <testcase purpose="Check using findAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_findAppControl_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_findAppControl_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts">
+ <testcase purpose="Check using getAppCerts method (with non-optional arguments) in ApplicationManager interface to get application certificates for current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppCerts exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_exist">
+ <testcase purpose="Check if method getAppCerts exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_with_id">
+ <testcase purpose="Check using getAppCerts method (with id argument) in ApplicationManager interface to get application certificates" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppCerts_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppCerts_with_id.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext">
+ <testcase purpose="Check using getAppContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationContext of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppContext exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_exist">
+ <testcase purpose="Check if method getAppContext exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_with_contextId">
+ <testcase purpose="Check using getAppContext method (with optional argument contextId) in ApplicationManager interface to get ApplicationContext with given contextId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppContext_with_contextId">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppContext_with_contextId.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo">
+ <testcase purpose="Check using getAppInfo method (with non-optional arguments) in ApplicationManager interface to get ApplicationInformation of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_exist">
+ <testcase purpose="Check if method getAppInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_with_id">
+ <testcase purpose="Check using getAppInfo method (with optional argument ApplicationId) in ApplicationManager interface to get ApplicationInformation with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppInfo_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppInfo_with_id.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method ApplicationManager::getAppMetaData exists" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppMetaData_exist">
+ <testcase purpose="Check if method ApplicationManager::getAppMetaData exists" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppMetaData_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppMetaData_with_id.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI">
+ <testcase purpose="Check using getAppSharedURI method (with non-optional arguments) in ApplicationManager interface to get URI shared directory of current application" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppSharedURI exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_exist">
+ <testcase purpose="Check if method getAppSharedURI exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_with_id">
+ <testcase purpose="Check using getAppSharedURI method (with optional argument ApplicationId) in ApplicationManager interface to get URI shared directory of application with given ApplicationId" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppSharedURI_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppSharedURI_with_id.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext">
+ <testcase purpose="Check using getAppsContext method (with non-optional arguments) in ApplicationManager interface to get ApplicationsContext of applications that are currently running on a device" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument errorCallback (getAppsContext method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (getAppsContext method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppsContext exist and can be overriden" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_exist">
+ <testcase purpose="Check if method getAppsContext exist and can be overriden" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="getAppsContext - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_missarg">
+ <testcase purpose="GetAppsContext - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument successCallback (getAppsContext method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (getAppsContext method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsContext method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_with_errorCallback">
+ <testcase purpose="Check using getAppsContext method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsContext_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsContext_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo">
+ <testcase purpose="Check using getAppsInfo method (with non-optional arguments) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument errorCallback (getAppsInfo method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument errorCallback (getAppsInfo method) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onerror) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAppsInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_exist">
+ <testcase purpose="Check if method getAppsInfo exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument successCallback (getAppsInfo method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
+ <testcase purpose="Check non-optional argument successCallback (getAppsInfo method) type conversion" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) was passed into getAppsInfo method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_with_errorCallback">
+ <testcase purpose="Check using getAppsInfo method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="90" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getAppsInfo_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getAppsInfo_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getCurrentApplication method in ApplicationManager interface to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication">
+ <testcase purpose="Check using getCurrentApplication method in ApplicationManager interface to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getCurrentApplication exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_exist">
+ <testcase purpose="Check if method getCurrentApplication exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getCurrentApplication with extra argument to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_extra_argument">
+ <testcase purpose="Check using getCurrentApplication with extra argument to get current Application object" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_getCurrentApplication_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_getCurrentApplication_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationManager exist in tizen" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_in_tizen">
+ <testcase purpose="Check if ApplicationManager exist in tizen" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_in_tizen">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_in_tizen.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using kill method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill">
+ <testcase purpose="Check using kill method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onError' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method kill exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_exist">
+ <testcase purpose="Check if method kill exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (kill) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into kill method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using kill method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_errorCallback">
+ <testcase purpose="Check using kill method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using kill method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_successCallback">
+ <testcase purpose="Check using kill method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_kill_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_kill_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launch method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch">
+ <testcase purpose="Check using launch method (with non-optional arguments) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check non-optional argument ApplicationControl type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
+ <testcase purpose="Check non-optional argument ApplicationControl type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
+ <testcase purpose="Check if an exception was thrown when a fake object (ApplicationControl) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_appControl_invalid_obj">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_appControl_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onError' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onError) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method launchAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_exist">
+ <testcase purpose="Check if method launchAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="launchAppControl - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_missarg">
+ <testcase purpose="LaunchAppControl - check with missing non-optional argument" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_missarg">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onReply' type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onReply' type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onReply) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_replyCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_replyCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (launchAppControl) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (onSuccess) was passed into launchAppControl method" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation">
+ <testcase purpose="Check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
+ <testcase purpose="Check using launchAppControl method (with operation and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_mime">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_mime.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
+ <testcase purpose="Check using launchAppControl method (with operation and URI of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
+ <testcase purpose="Check using launchAppControl method (with operation, URI and MIME type of ApplicationControl) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_appControl_operation_uri_mime">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_appControl_operation_uri_mime.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_errorCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method with explicit application ID in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_id">
+ <testcase purpose="Check using launchAppControl method with explicit application ID in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_id">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_id.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_replyCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument replyCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_replyCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_replyCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_successCallback">
+ <testcase purpose="Check using launchAppControl method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launchAppControl_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launchAppControl_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onError' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onError' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (on error) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (on error) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_errorCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method launch exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_exist">
+ <testcase purpose="Check if method launch exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check optional argument 'onSuccess' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_TypeMismatch">
+ <testcase purpose="Check optional argument 'onSuccess' (launch) type conversion" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_TypeMismatch">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if an exception was thrown when a fake callback (on success) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_invalid_cb">
+ <testcase purpose="Check if an exception was thrown when a fake callback (on success) was passed" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_successCallback_invalid_cb">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launch method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_errorCallback">
+ <testcase purpose="Check using launch method (with optional argument errorCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_errorCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using launch method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_successCallback">
+ <testcase purpose="Check using launch method (with optional argument successCallback) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_launch_with_successCallback">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_launch_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if ApplicationManager notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_notexist">
+ <testcase purpose="Check if ApplicationManager notexist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener">
+ <testcase purpose="Check using removeAppInfoEventListener method (installation process) in ApplicationManager interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method removeAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist">
+ <testcase purpose="Check if method removeAppInfoEventListener exist" component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_removeAppInfoEventListener_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_removeAppInfoEventListener_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationMetaData_value_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check Application.ContextId attribute" component="TizenAPI/Application/Application" execution_type="auto" id="Application_ContextId_attribute">
+ <testcase purpose="Check attribute Application::ContextId existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="Application_ContextId_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_ContextId_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check Application.appInfo attribute" component="TizenAPI/Application/Application" execution_type="auto" id="Application_appInfo_attribute">
+ <testcase purpose="Check attribute Application::appInfo existence and type" component="TizenAPI/Application/Application" execution_type="auto" id="Application_appInfo_attribute">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_appInfo_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using exit method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit">
+ <testcase purpose="Check using exit method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method Application.exit exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit_exist">
+ <testcase purpose="Check if method Application.exit exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_exit_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_exit_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Application possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="Application_extend">
+ <testcase purpose="Check if Application possible extend" component="TizenAPI/Application/Application" execution_type="auto" id="Application_extend">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getRequestedAppControl method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl">
+ <testcase purpose="Check using getRequestedAppControl method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method Application.getRequestedAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_exist">
+ <testcase purpose="Check if method Application.getRequestedAppControl exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using getRequestedAppControl method (with extra argument) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_extra_argument">
+ <testcase purpose="Check using getRequestedAppControl method (with extra argument) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_getRequestedAppControl_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_getRequestedAppControl_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using hide method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide">
+ <testcase purpose="Check using hide method (with non-optional arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method Application.hide exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_exist">
+ <testcase purpose="Check if method Application.hide exist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_exist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check using hide method (with extra arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_extra_argument">
+ <testcase purpose="Check using hide method (with extra arguments) in Application interface" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="Application_hide_extra_argument">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_hide_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Application notexist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_notexist">
+ <testcase purpose="Check if Application notexist" component="TizenAPI/Application/Application" execution_type="auto" id="Application_notexist">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/Application_notexist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if RequestedApplicationControl method replyFailure works properly" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="RequestedApplicationControl_replyFailure">
+ <testcase purpose="Check if RequestedApplicationControl method replyFailure works properly" onload_delay="30" component="TizenAPI/Application/Application" execution_type="auto" id="RequestedApplicationControl_replyFailure">
<description>
<test_script_entry>/opt/tct-application-tizen-tests/application/RequestedApplicationControl_replyFailure.html</test_script_entry>
</description>