<head>
<title>NotificationDetailInfo_constructor</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(notificationDetailInfo.mainText, mainTextToSet, "mainText attribute.");
assert_equals(notificationDetailInfo.subText, subTextToSet, "subText attribute.");
-}, "NotificationDetailInfo_constructor");
+}, document.title);
</script>
</body>
<head>
<title>NotificationDetailInfo_constructor_minargs</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
assert_equals(notificationDetailInfo.mainText, mainTextToSet, "mainText attribute.");
assert_equals(notificationDetailInfo.subText, null, "subText attribute.");
-}, "NotificationDetailInfo_constructor_minargs");
+}, document.title);
</script>
</body>
<head>
<title>NotificationDetailInfo_exist</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: NotificationDetailInfo_exist
-//==== LABEL check if NotificationDetailInfo exists
+//==== LABEL Check if NotificationDetailInfo exists
//==== SPEC Tizen Web API:User Interface:Notification:NotificationDetailInfo:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRF
test(function () {
check_constructor("NotificationDetailInfo");
-}, "NotificationDetailInfo_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationDetailInfo_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
test(function () {
var notificationDetailInfo = new tizen.NotificationDetailInfo("mainText", "subText");
check_extensibility(notificationDetailInfo);
-}, "NotificationDetailInfo_extend");
+}, document.title);
</script>
</body>
<head>
<title>NotificationDetailInfo_mainText_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
notificationDetailInfo.mainText = newValue;
assert_equals(notificationDetailInfo.mainText, newValue, "mainText attribute not assigned with a new value.");
check_not_nullable(notificationDetailInfo, "mainText");
-}, "NotificationDetailInfo_mainText_attribute");
+}, document.title);
</script>
</body>
<head>
<title>NotificationDetailInfo_subText_attribute</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
notificationDetailInfo = new tizen.NotificationDetailInfo(mainTextToSet);
assert_equals(notificationDetailInfo.subText, null, "subText attribute default value.");
-}, "NotificationDetailInfo_subText_attribute");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: NotificationManager_extend
-//==== LABEL check if NotificationManager is extendable
+//==== LABEL Check if NotificationManager is extendable
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P3
test(function () {
check_extensibility(tizen.notification);
-}, "NotificationManager_extend");
+}, document.title);
</script>
</body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_get
-//==== LABEL check if the parameter NotificationManager which in get method ok
+//==== LABEL Check if the parameter NotificationManager which in get method ok
//==== PRIORITY P2
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_getAll</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_getAll_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_getAll_exist
-//==== LABEL check if method getAll which in NotificationManager interface exists.
+//==== LABEL Check if method getAll which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("getAll" in tizen.notification, "No getAll method in tizen.notification.");
check_method_exists(tizen.notification, "getAll");
-}, "NotificationManager_getAll_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_getAll_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>
test(function () {
checkExtraArgument(tizen.notification, "getAll");
-}, "NotificationManager_getAll_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_get_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_get_exist
-//==== LABEL check if method get which in NotificationManager interface exists.
+//==== LABEL Check if method get which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("get" in tizen.notification, "No get method in tizen.notification.");
check_method_exists(tizen.notification, "get");
-}, "NotificationManager_get_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_get_invalid_argument</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: NotificationManager_get_invalid_argument
-//==== LABEL check whether calling get() method with incorrect notification id throws an exception
+//==== LABEL Check whether calling get() method with incorrect notification id throws an exception
//==== PRIORITY P2
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA MMA
+//==== TEST_CRITERIA
test(function () {
- var notificationObj = tizen.notification, NOT_FOUND_ERR = "NotFoundError",
- incorrectStr = "dummyValue";
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ var notificationObj = tizen.notification, incorrectStr = "dummyValue";
+
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.get();
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.get(null);
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.get(undefined);
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.get(incorrectStr);
});
-}, "NotificationManager_get_invalid_argument");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_in_tizen</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_in_tizen
-//==== LABEL check if the readonly attribute notification
+//==== LABEL Check if the readonly attribute notification
//==== PRIORITY P3
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
test(function () {
assert_true("notification" in tizen, "No notification in tizen.");
check_readonly(tizen, "notification", tizen.notification, "object", "dummyValue");
-}, "NotificationManager_in_tizen");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: NotificationManager_notexist
-//==== LABEL check if NotificationManager does not exist
+//==== LABEL Check if NotificationManager does not exist
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:NotificationManager U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("NotificationManager");
-}, "NotificationManager_notexist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_ONGOING</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_PROGRESS</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_SIMPLE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_THUMBNAIL</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_post_exist
-//==== LABEL check if method post which in NotificationManager interface exists.
+//==== LABEL Check if method post which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:post M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("post" in tizen.notification, "No post method in tizen.notification.");
check_method_exists(tizen.notification, "post");
-}, "NotificationManager_post_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_misarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
test(function () {
var exceptionName = "TypeMismatchError";
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.notification.post();
}, exceptionName + " should be thrown - missing argument.");
-}, "NotificationManager_post_misarg");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_post_notification_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
notification = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.notification.post(notification);
}, exceptionName + " should be thrown - given incorrect notification.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_remove</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_remove
-//==== LABEL check if the parameter NotificationManager which in remove method ok
+//==== LABEL Check if the parameter NotificationManager which in remove method ok
//==== PRIORITY P2
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
test(function () {
var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i,
- statusNotification, postedNotifications = [], idToRemove, returnedValue = null;
+ statusNotification, postedNotifications = [], idToRemove, returnedValue = null;
try {
for (i = 0; i < statusTypes.length; i++) {
statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet + statusTypes[i], notificationDict);
// verify that postedNotifications were removed
for (i = 0; i < postedNotifications.length; i++) {
- assert_throws({name: "NotFoundError"}, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
tizen.notification.get(postedNotifications[i].id);
});
}
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_removeAll</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_removeAll_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_removeAll_exist
-//==== LABEL check if method removeAll which in NotificationManager interface exists.
+//==== LABEL Check if method removeAll which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:removeAll M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("removeAll" in tizen.notification, "No removeAll method in tizen.notification.");
check_method_exists(tizen.notification, "removeAll");
-}, "NotificationManager_removeAll_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_removeAll_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>
test(function () {
checkExtraArgument(tizen.notification, "removeAll");
-}, "NotificationManager_removeAll_extra_argument");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_remove_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_remove_exist
-//==== LABEL check if method remove which in NotificationManager interface exists.
+//==== LABEL Check if method remove which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("remove" in tizen.notification, "No remove method in tizen.notification.");
check_method_exists(tizen.notification, "remove");
-}, "NotificationManager_remove_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_remove_invalid_argument</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: NotificationManager_remove_invalid_argument
-//==== LABEL check whether calling remove() method with incorrect notification id throws an exception
+//==== LABEL Check whether calling remove() method with incorrect notification id throws an exception
//==== PRIORITY P2
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA MMA
+//==== TEST_CRITERIA
test(function () {
- var notificationObj = tizen.notification, NOT_FOUND_ERR = "NotFoundError",
- incorrectStr = "dummyValue";
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ var notificationObj = tizen.notification, incorrectStr = "dummyValue";
+
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.remove();
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.remove(null);
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.remove(undefined);
});
- assert_throws({
- name: NOT_FOUND_ERR
- }, function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
notificationObj.remove(incorrectStr);
});
-}, "NotificationManager_remove_invalid_argument");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_update</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_update
-//==== LABEL check if the parameter NotificationManager which in update method ok
+//==== LABEL Check if the parameter NotificationManager which in update method ok
//==== PRIORITY P2
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
newVibration = false, newAppId = tizen.application.getAppInfo().id, progressTypeToSet = "PERCENTAGE",
newProgressValue = 191, i, newProgressType = "BYTE",
newAppControl = new tizen.ApplicationControl("http://tzen.org/appcontrol/operation/create_content", null, "audio/wav", null),
- statusTypeToSet = "PROGRESS", returnedValue = null, newNumber = 175,
- newDetailInfo = [
- new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
- new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
- ],
+ statusTypeToSet = "PROGRESS", returnedValue = null, newNumber = 175, newDetailInfo,
newThumbnails = [thumbnailToSet6, thumbnailToSet7, thumbnailToSet8, thumbnailToSet9],
oldId, oldType, oldPostedTime, oldStatusType;
test(function () {
notificationDict.progressType = progressTypeToSet;
+ newDetailInfo = [
+ new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
+ new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
+ ];
notification = new tizen.StatusNotification(statusTypeToSet, titleToSet, notificationDict);
try {
tizen.notification.post(notification);
} finally {
tizen.notification.removeAll();
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_update_exist</title>
<meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
//==== TEST: NotificationManager_update_exist
-//==== LABEL check if method update which in NotificationManager interface exists.
+//==== LABEL Check if method update which in NotificationManager interface exists.
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA ME
test(function () {
assert_true("update" in tizen.notification, "No update method in tizen.notification.");
check_method_exists(tizen.notification, "update");
-}, "NotificationManager_update_exist");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_update_misarg</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
test(function () {
var exceptionName = "TypeMismatchError";
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.notification.update();
}, exceptionName + " should be thrown - missing argument.");
-}, "NotificationManager_update_misarg");
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_update_notification_TypeMismatch</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
notification = conversionTable[i][0];
exceptionName = conversionTable[i][1];
- assert_throws({name : exceptionName},
+ assert_throws({name: exceptionName},
function () {
tizen.notification.update(notification);
}, exceptionName + " should be thrown - given incorrect notification.");
}
-});
+}, document.title);
</script>
</body>
<head>
<title>NotificationManager_update_notposted</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<div id="log"></div>
<script>
//==== TEST: NotificationManager_update_notposted
-//==== LABEL check whether calling update() method with notification not posted earlier throws an exception
+//==== LABEL Check whether calling update() method with notification not posted earlier throws an exception
//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:update M
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P2
tizen.notification.update(not_posted_notification);
});
-}, "NotificationManager_update_notposted");
+}, document.title);
</script>
</body>
<head>
<title>NotificationObject_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: NotificationObject_notexist
-//==== LABEL check if NotificationObject does not exist
+//==== LABEL Check if NotificationObject does not exist
//==== SPEC Tizen Web API:User Interface:Notification:NotificationObject:NotificationObject U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA NIO
test(function () {
check_no_interface_object("NotificationObject");
-}, "NotificationObject_notexist");
+}, document.title);
</script>
</body>
<head>
<title>Notification_content_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Notification_content_attribute
-//==== LABEL check if Notification_content_attribute
+//==== LABEL Check if Notification_content_attribute
//==== SPEC Tizen Web API:User Interface:Notification:Notification:content A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.content = null;
assert_equals(statusNotification.content, null, "content attribute cannot be assigned with null.");
-}, "Notification_content_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Notification_extend</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
test(function () {
var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
- notificationToPost;
+ notificationToPost;
notificationDict.progressType = progressTypeToSet;
notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
try {
} finally {
tizen.notification.removeAll();
}
-}, "Notification_extend");
+}, document.title);
</script>
</body>
<head>
<title>Notification_id_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Notification_id_attribute
-//==== LABEL check if Notification_id_attribute
+//==== LABEL Check if Notification_id_attribute
//==== SPEC Tizen Web API:User Interface:Notification:Notification:id A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE ADV ARO AT
} finally {
tizen.notification.removeAll();
}
-}, "Notification_id_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Notification_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: Notification_notexist
-//==== LABEL check if Notification does not exist
+//==== LABEL Check if Notification does not exist
//==== SPEC Tizen Web API:User Interface:Notification:Notification:Notification U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P3
test(function () {
check_no_interface_object("Notification");
-}, "Notification_notexist");
+}, document.title);
</script>
</body>
<head>
<title>Notification_postedTime_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Notification_postedTime_attribute
-//==== LABEL check if Notification_postedTime_attribute
+//==== LABEL Check if Notification_postedTime_attribute
//==== SPEC Tizen Web API:User Interface:Notification:Notification:postedTime A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE ARO AT
} finally {
tizen.notification.removeAll();
}
-}, "Notification_postedTime_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Notification_title_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Notification_title_attribute
-//==== LABEL check if Notification_title_attribute
+//==== LABEL Check if Notification_title_attribute
//==== SPEC Tizen Web API:User Interface:Notification:Notification:title A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG AN
statusNotification.title = newValue;
assert_equals(statusNotification.title, newValue, "title attribute cannot be assigned.");
check_not_nullable(statusNotification, "title");
-}, "Notification_title_attribute");
+}, document.title);
</script>
</body>
<head>
<title>Notification_type_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: Notification_type_attribute
-//==== LABEL check if Notification_type_attribute
+//==== LABEL Check if Notification_type_attribute
//==== SPEC Tizen Web API:User Interface:Notification:Notification:type A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ARO
assert_own_property(statusNotification, "type", "StatusNotification doesn't own type property.");
check_readonly(statusNotification, "type", "STATUS", "string", "newValue");
-}, "Notification_type_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_appControl_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_appControl_attribute
-//==== LABEL check if StatusNotification_appControl_attribute
+//==== LABEL Check if StatusNotification_appControl_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appControl A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
test(function () {
var statusNotification, newOperation = "http://tizen.org/appcontrol/operation/view",
- initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
- "file:///opt/usr/media/Images/" + iconPathToSet.replace(/^.*\//, ""),
- "image/jpg",
- null,
- [new tizen.ApplicationControlData("k1", ["v1"])]
- ),
- newValue = new tizen.ApplicationControl(newOperation,
- "file:///opt/usr/media/Images/" + thumbnailToSet.replace(/^.*\//, ""),
- "image/jpeg",
- "category",
- [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
- );
+ initialValue, newValue;
+
+ initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+ "file:///opt/usr/media/Images/" + iconPathToSet.replace(/^.*\//, ""),
+ "image/jpg",
+ null,
+ [new tizen.ApplicationControlData("k1", ["v1"])]
+ );
+ newValue = new tizen.ApplicationControl(newOperation,
+ "file:///opt/usr/media/Images/" + thumbnailToSet.replace(/^.*\//, ""),
+ "image/jpeg",
+ "category",
+ [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
+ );
delete notificationDict.appId;
notificationDict.appControl = initialValue;
statusNotification.appControl = null;
assert_equals(statusNotification.appControl, null, "appControl attribute cannot be assigned with null.");
-}, "StatusNotification_appControl_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_appid_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_appid_attribute
-//==== LABEL check if StatusNotification_appid_attribute
+//==== LABEL Check if StatusNotification_appid_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:appId A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.appId = null;
assert_equals(statusNotification.appId, null, "appId attribute cannot be assigned with null.");
-}, "StatusNotification_appid_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_backgroundImagePath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_backgroundImagePath_attribute
-//==== LABEL check if StatusNotification_backgroundImagePath_attribute
+//==== LABEL Check if StatusNotification_backgroundImagePath_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:backgroundImagePath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.backgroundImagePath = null;
assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute cannot be assigned with null.");
-}, "StatusNotification_backgroundImagePath_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_ONGOING_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_ONGOING_BYTE
-//==== LABEL check if StatusNotification_constructor_ONGOING_BYTE
+//==== LABEL Check if StatusNotification_constructor_ONGOING_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("ONGOING", "BYTE");
-}, "StatusNotification_constructor_ONGOING_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_ONGOING_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_ONGOING_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_ONGOING_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_ONGOING_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
-}, "StatusNotification_constructor_ONGOING_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_PROGRESS_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_PROGRESS_BYTE
-//==== LABEL check if StatusNotification_constructor_PROGRESS_BYTE
+//==== LABEL Check if StatusNotification_constructor_PROGRESS_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("PROGRESS", "BYTE");
-}, "StatusNotification_constructor_PROGRESS_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_PROGRESS_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_PROGRESS_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_PROGRESS_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_PROGRESS_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
-}, "StatusNotification_constructor_PROGRESS_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_SIMPLE_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_SIMPLE_BYTE
-//==== LABEL check if StatusNotification_constructor_SIMPLE_BYTE
+//==== LABEL Check if StatusNotification_constructor_SIMPLE_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("SIMPLE", "BYTE");
-}, "StatusNotification_constructor_SIMPLE_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_SIMPLE_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_SIMPLE_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_SIMPLE_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_SIMPLE_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
-}, "StatusNotification_constructor_SIMPLE_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_THUMBNAIL_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_THUMBNAIL_BYTE
-//==== LABEL check if StatusNotification_constructor_THUMBNAIL_BYTE
+//==== LABEL Check if StatusNotification_constructor_THUMBNAIL_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("THUMBNAIL", "BYTE");
-}, "StatusNotification_constructor_THUMBNAIL_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_THUMBNAIL_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_THUMBNAIL_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
-}, "StatusNotification_constructor_THUMBNAIL_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_invalid_backgroundImagePath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_invalid_backgroundImagePath
-//==== LABEL check if constructor accepts incorrect backgroundImagePath
+//==== LABEL Check if constructor accepts incorrect backgroundImagePath
//==== PRIORITY: P2
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
statusNotification, invalidBackgroundImagePath = "dummyValue";
notificationDict = {
- backgroundImagePath : invalidBackgroundImagePath
+ backgroundImagePath: invalidBackgroundImagePath
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_array_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
"StatusNotification.backgroundImagePath has wrong value.");
-}, "StatusNotification_constructor_invalid_backgroundImagePath");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_invalid_iconPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_invalid_iconPath
-//==== LABEL check if constructor accepts incorrect iconPath
+//==== LABEL Check if constructor accepts incorrect iconPath
//==== PRIORITY: P2
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
statusNotification, invalidIconPath = "dummyValue";
notificationDict = {
- iconPath : invalidIconPath
+ iconPath: invalidIconPath
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_array_equals(statusNotification.iconPath, invalidIconPath,
"StatusNotification.iconPath has wrong value.");
-}, "StatusNotification_constructor_invalid_iconPath");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_invalid_soundPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_invalid_soundPath
-//==== LABEL check if constructor accepts incorrect soundPath
+//==== LABEL Check if constructor accepts incorrect soundPath
//==== PRIORITY: P2
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
test(function () {
var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, invalidSoundPath = "dummyValue";
+ statusNotification, invalidSoundPath = "dummyValue";
notificationDict = {
- soundPath : invalidSoundPath
+ soundPath: invalidSoundPath
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_array_equals(statusNotification.soundPath, invalidSoundPath,
"StatusNotification.soundPath has wrong value.");
-}, "StatusNotification_constructor_invalid_soundPath");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_invalid_subIconPath</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_invalid_subIconPath
-//==== LABEL check if constructor accepts incorrect subIconPath
+//==== LABEL Check if constructor accepts incorrect subIconPath
//==== PRIORITY: P2
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
statusNotification, invalidSubIconPath = "dummyValue";
notificationDict = {
- subIconPath : invalidSubIconPath
+ subIconPath: invalidSubIconPath
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_array_equals(statusNotification.subIconPath, invalidSubIconPath,
"StatusNotification.subIconPath has wrong value.");
-}, "StatusNotification_constructor_invalid_subIconPath");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_invalid_thumbnails</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_invalid_thumbnails
-//==== LABEL check if constructor accepts incorrect thumbnails
+//==== LABEL Check if constructor accepts incorrect thumbnails
//==== PRIORITY: P2
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
invalidThumbnails = [thumbnailToSet, thumbnailToSet2, "dummyValue" ], statusNotification;
notificationDict = {
- thumbnails : invalidThumbnails
+ thumbnails: invalidThumbnails
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_array_equals(statusNotification.thumbnails, invalidThumbnails,
"StatusNotification.thumbnails has wrong value.");
-}, "StatusNotification_constructor_invalid_thumbnails");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_minargs</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_minargs
-//==== LABEL check if StatusNotification_constructor_minargs
+//==== LABEL Check if StatusNotification_constructor_minargs
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM
check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
assert_own_property(statusNotification, "ledColor", "statusNotification");
-}, "StatusNotification_constructor_minargs");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_notificationInitDict_partial</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_notificationInitDict_partial
-//==== LABEL check if StatusNotification_constructor_notificationInitDict_partial
+//==== LABEL Check if StatusNotification_constructor_notificationInitDict_partial
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM
soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3", statusNotificationType = "SIMPLE";
notificationDict = {
- content : contentToSet,
- iconPath : iconPathToSet,
- soundPath : soundPathToSet
+ content: contentToSet,
+ iconPath: iconPathToSet,
+ soundPath: soundPathToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, "StatusNotification_constructor_notificationInitDict_partial");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_notificationInitDict_partial_extra</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_notificationInitDict_partial_extra
-//==== LABEL check if StatusNotification_constructor_notificationInitDict_partial_extra
+//==== LABEL Check if StatusNotification_constructor_notificationInitDict_partial_extra
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM
progressValueToSet = 80;
notificationDict = {
- vibration : vibrationToSet,
- appId : appIdToSet,
- progressValue : progressValueToSet,
+ vibration: vibrationToSet,
+ appId: appIdToSet,
+ progressValue: progressValueToSet,
newDummyString: "dummyString",
newDummyFunction: function () {},
- newDummyObject: {attr : 1}
+ newDummyObject: {attr: 1}
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, "StatusNotification_constructor_notificationInitDict_partial_extra");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_number_max</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_number_max
-//==== LABEL check if constructor accepts max number.
+//==== LABEL Check if constructor accepts max number.
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM
assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, "StatusNotification_constructor_number_max");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_number_min</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_number_min
-//==== LABEL check if constructor accepts min number.
+//==== LABEL Check if constructor accepts min number.
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM
assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, "StatusNotification_constructor_number_min");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_progessValue_-1_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_progessValue_-1_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_-1_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_-1_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
+ titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
notificationDict = {
- progressType : progressTypeToSet,
- progressValue : progressValueToSet
+ progressType: progressTypeToSet,
+ progressValue: progressValueToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_-1_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_progessValue_0_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_progessValue_0_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_0_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_0_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
+ titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
notificationDict = {
- progressType : progressTypeToSet,
- progressValue : progressValueToSet
+ progressType: progressTypeToSet,
+ progressValue: progressValueToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_0_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_progessValue_0_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_progessValue_0_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_progessValue_0_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_progessValue_0_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
+ titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
notificationDict = {
- progressType : progressTypeToSet,
- progressValue : progressValueToSet
+ progressType: progressTypeToSet,
+ progressValue: progressValueToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_0_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_progessValue_100_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_progessValue_100_PERCENTAGE
-//==== LABEL check if StatusNotification_constructor_progessValue_100_PERCENTAGE
+//==== LABEL Check if StatusNotification_constructor_progessValue_100_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
+ titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
notificationDict = {
- progressType : progressTypeToSet,
- progressValue : progressValueToSet
+ progressType: progressTypeToSet,
+ progressValue: progressValueToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_100_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_constructor_progessValue_max_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_constructor_progessValue_max_BYTE
-//==== LABEL check if StatusNotification_constructor_progessValue_max_BYTE
+//==== LABEL Check if StatusNotification_constructor_progessValue_max_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA CONSTRM CONSTRA
test(function () {
var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
+ titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
notificationDict = {
- progressType : progressTypeToSet,
- progressValue : progressValueToSet
+ progressType: progressTypeToSet,
+ progressValue: progressValueToSet
};
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, "StatusNotification_constructor_progessValue_max_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_detailInfo_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_detailInfo_attribute
-//==== LABEL check if StatusNotification_detailInfo_attribute
+//==== LABEL Check if StatusNotification_detailInfo_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:detailInfo A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE ASG AT ADV
test(function () {
var statusNotification, statusNotificationType = "SIMPLE",
+ newValue, i, statusNotificationDefault;
+
newValue = [
new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
- ], i, statusNotificationDefault;
+ ];
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_own_property(statusNotification, "detailInfo", "StatusNotification doesn't own detailInfo property.");
statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
assert_type(statusNotificationDefault.detailInfo, "array", "statusNotificationDefault.detailInfo should by array");
assert_equals(statusNotificationDefault.detailInfo.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
-}, "StatusNotification_detailInfo_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_exist</title>
<meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
//==== TEST: StatusNotification_exist
-//==== LABEL check if StatusNotification exists
+//==== LABEL Check if StatusNotification exists
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:constructor C
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P1
test(function () {
check_constructor("StatusNotification");
-}, "StatusNotification_exist");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
</head>
<body>
<script type="text/javascript">
//==== TEST: StatusNotification_extend
-//==== LABEL check if StatusNotification is extendable
+//==== LABEL Check if StatusNotification is extendable
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:StatusNotification U
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P3
test(function () {
check_extensibility(new tizen.StatusNotification("SIMPLE", "Title"));
-}, "StatusNotification_extend");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_iconPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_iconPath_attribute
-//==== LABEL check if StatusNotification_iconPath_attribute
+//==== LABEL Check if StatusNotification_iconPath_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:iconPath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== PRIORITY P2
statusNotification.iconPath = null;
assert_equals(statusNotification.iconPath, null, "iconPath attribute cannot be assigned with null.");
-}, "StatusNotification_iconPath_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_ledColor_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_ledColor_attribute
-//==== LABEL check StatusNotification::ledColor attribute
+//==== LABEL Check StatusNotification::ledColor attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledColor A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.ledColor = newValue;
assert_equals(statusNotification.ledColor.toLowerCase(), newValue.toLowerCase(), "statusNotification.ledColor after set");
-}, "StatusNotification_ledColor_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_ledOffPeriod_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_ledOffPeriod_attribute
-//==== LABEL check StatusNotification::ledOffPeriod attribute
+//==== LABEL Check StatusNotification::ledOffPeriod attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOffPeriod A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG ADV AN
assert_own_property(statusNotification, "ledOffPeriod",
"StatusNotification doesn't own ledOffPeriod property.");
- assert_type(statusNotification.ledOffPeriod, "number",
+ assert_type(statusNotification.ledOffPeriod, "unsigned long",
"statusNotification.ledOffPeriod should be number");
assert_equals(statusNotification.ledOffPeriod, 0,
"statusNotification.ledOffPeriod default value");
assert_equals(statusNotification.ledOffPeriod, notificationDict.ledOffPeriod,
"statusNotification.ledOffPeriod value from constructor");
check_not_nullable(statusNotification, "ledOffPeriod");
-}, "StatusNotification_ledOffPeriod_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_ledOnPeriod_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_ledOnPeriod_attribute
-//==== LABEL check StatusNotification::ledOnPeriod attribute
+//==== LABEL Check StatusNotification::ledOnPeriod attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:ledOnPeriod A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG ADV AN
assert_own_property(statusNotification, "ledOnPeriod",
"StatusNotification doesn't own statusType property.");
- assert_type(statusNotification.ledOnPeriod, "number",
+ assert_type(statusNotification.ledOnPeriod, "unsigned long",
"statusNotification.ledOnPeriod should be number");
assert_equals(statusNotification.ledOnPeriod, 0,
"statusNotification.ledOnPeriod default value");
assert_equals(statusNotification.ledOnPeriod, notificationDict.ledOnPeriod,
"statusNotification.ledOnPeriod value from constructor");
check_not_nullable(statusNotification, "ledOnPeriod");
-}, "StatusNotification_ledOnPeriod_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_number_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_number_attribute
-//==== LABEL check if StatusNotification_number_attribute
+//==== LABEL Check if StatusNotification_number_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:number A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.number = null;
assert_equals(statusNotification.number, null, "number attribute cannot be assigned with null.");
-}, "StatusNotification_number_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_progressType_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_progressType_attribute
-//==== LABEL check if StatusNotification_progressType_attribute
+//==== LABEL Check if StatusNotification_progressType_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressType A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG AN ADV
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
assert_equals(statusNotification.progressType, "PERCENTAGE", "progressValue attribute default not set.");
check_not_nullable(statusNotification, "progressType");
-});
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_progressValue_attribute_BYTE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_progressValue_attribute_BYTE
-//==== LABEL check if StatusNotification_progressValue_attribute_BYTE
+//==== LABEL Check if StatusNotification_progressValue_attribute_BYTE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.progressValue = -1;
assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute -> minus one changed value.");
-}, "StatusNotification_progressValue_attribute_BYTE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_progressValue_attribute_PERCENTAGE</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_progressValue_attribute_PERCENTAGE
-//==== LABEL check if StatusNotification_progressValue_attribute_PERCENTAGE
+//==== LABEL Check if StatusNotification_progressValue_attribute_PERCENTAGE
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:progressValue A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.progressValue = -1;
assert_equals(statusNotification.progressValue, 100, "progressValue attribute -> -1 value.");
-}, "StatusNotification_progressValue_attribute_PERCENTAGE");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_soundPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_soundPath_attribute
-//==== LABEL check if StatusNotification_soundPath_attribute
+//==== LABEL Check if StatusNotification_soundPath_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:soundPath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.soundPath = null;
assert_equals(statusNotification.soundPath, null, "soundPath attribute cannot be assigned with null.");
-}, "StatusNotification_soundPath_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_statusType_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_statusType_attribute
-//==== LABEL check if StatusNotification_statusType_attribute
+//==== LABEL Check if StatusNotification_statusType_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:statusType A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ARO
assert_own_property(statusNotification, "statusType", "StatusNotification doesn't own statusType property.");
check_readonly(statusNotification, "statusType", statusNotificationType, "string", newValue);
-}, "StatusNotification_statusType_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_subIconPath_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_subIconPath_attribute
-//==== LABEL check if StatusNotification_subIconPath_attribute
+//==== LABEL Check if StatusNotification_subIconPath_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:subIconPath A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG
statusNotification.subIconPath = null;
assert_equals(statusNotification.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
-}, "StatusNotification_subIconPath_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_thumbnails_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_thumbnails_attribute
-//==== LABEL check if StatusNotification_thumbnails_attribute
+//==== LABEL Check if StatusNotification_thumbnails_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:thumbnails A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE ASG AT ADV
test(function () {
- var statusNotification, statusNotificationType = "THUMBNAIL",
- newValue = [
- thumbnailToSet5,
- thumbnailToSet6,
- thumbnailToSet7,
- thumbnailToSet8
- ], statusNotificationDefault,
- newValueWithIncorrectPath = [
- "images/webapi-tizen-notification-test_thumbnail9.jpg",
- "invalidPath"
- ];
+ var statusNotification, statusNotificationType = "THUMBNAIL", statusNotificationDefault,
+ newValue = [thumbnailToSet5, thumbnailToSet6, thumbnailToSet7, thumbnailToSet8],
+ newValueWithIncorrectPath = ["images/webapi-tizen-notification-test_thumbnail9.jpg", "invalidPath"];
+
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
assert_type(statusNotification.thumbnails, "array", "statusNotification.thumbnails should by array");
assert_own_property(statusNotification, "thumbnails", "StatusNotification doesn't own thumbnails property.");
statusNotificationDefault = new tizen.StatusNotification(statusNotificationType, titleToSet);
assert_type(statusNotificationDefault.thumbnails, "array", "statusNotificationDefault.detailInfo should by array");
assert_equals(statusNotificationDefault.thumbnails.length, 0, "statusNotificationDefault.detailInfo.length should by 0");
-}, "StatusNotification_thumbnails_attribute");
+}, document.title);
</script>
</body>
<head>
<title>StatusNotification_vibration_attribute</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
<script type="text/javascript">
//==== TEST: StatusNotification_vibration_attribute
-//==== LABEL check if StatusNotification_vibration_attribute
+//==== LABEL Check if StatusNotification_vibration_attribute
//==== SPEC Tizen Web API:User Interface:Notification:StatusNotification:vibration A
//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
//==== TEST_CRITERIA AE AT ASG AN ADV
statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
assert_equals(statusNotification.vibration, false, "vibration attribute default check.");
check_not_nullable(statusNotification, "vibration");
-}, "StatusNotification_vibration_attribute");
+}, document.title);
</script>
</body>
--- /dev/null
+/*
+
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+Authors:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+ var head_src = document.head.innerHTML;
+ if (head_src.search(/\/testharness.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+ }
+ if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+ document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+ }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+ while (type in _registered_types) {
+ type = _registered_types[type];
+ }
+ return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+ var extraArgument = [
+ null,
+ undefined,
+ "Tizen",
+ 1,
+ false,
+ ["one", "two"],
+ {argument: 1},
+ function () {}
+ ], i;
+
+ for (i = 0; i < extraArgument.length; i++) {
+ object[methodName](extraArgument[i]);
+ }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ * conversionTable = getTypeConversionExceptions("functionObject", true);
+ * for(i = 0; i < conversionTable.length; i++) {
+ * errorCallback = conversionTable[i][0];
+ * exceptionName = conversionTable[i][1];
+ *
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.systemsetting.setProperty("HOME_SCREEN",
+ * propertyValue, successCallback, errorCallback);
+ * }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ * }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+ var exceptionName = "TypeMismatchError",
+ conversionTable;
+ switch (conversionType) {
+ case "enum":
+ conversionTable = [
+ [undefined, exceptionName],
+ [null, exceptionName],
+ [0, exceptionName],
+ [true, exceptionName],
+ ["dummyInvalidEnumValue", exceptionName],
+ [{ }, exceptionName]
+ ];
+ break;
+ case "double":
+ conversionTable = [
+ [undefined, exceptionName],
+ [NaN, exceptionName],
+ [Number.POSITIVE_INFINITY, exceptionName],
+ [Number.NEGATIVE_INFINITY, exceptionName],
+ ["TIZEN", exceptionName],
+ [{ name : "TIZEN" }, exceptionName],
+ [function () { }, exceptionName]
+ ];
+ break;
+ case "object":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "functionObject":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [[], exceptionName],
+ [{ }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "array":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [{ }, exceptionName],
+ [function () { }, exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ case "dictionary":
+ conversionTable = [
+ [true, exceptionName],
+ [false, exceptionName],
+ [NaN, exceptionName],
+ [0, exceptionName],
+ ["", exceptionName],
+ ["TIZEN", exceptionName],
+ [undefined, exceptionName]
+ ];
+ if (!isOptional) {
+ conversionTable.push([null, exceptionName]);
+ }
+ break;
+ default:
+ assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+ };
+
+ return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+ var org_type = type, prop_name, prop_type, prop_value;
+
+ type = _resolve_registered_type(type);
+
+ if (typeof (type) === 'string') {
+ type = type.toLowerCase();
+ switch (type) {
+ case 'object':
+ case 'string':
+ case 'number':
+ case 'function':
+ case 'boolean':
+ case 'undefined':
+ case 'xml':
+ assert_equals(typeof (obj), type, description);
+ break;
+ case 'null':
+ assert_true(obj === null, description);
+ break;
+ case 'array':
+ assert_true(Array.isArray(obj), description);
+ break;
+ case 'date':
+ assert_true(obj instanceof Date, description);
+ break;
+ case 'byte':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'octet':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned short':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ case 'long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+ assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+ break;
+ case 'unsigned long long':
+ assert_equals(typeof (obj), 'number', description);
+ assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+ assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+ assert_equals(obj % 1, 0, description + " - value is not an integer.");
+ break;
+ default:
+ assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+ }
+ } else if (typeof (type) === 'function') {
+ assert_true(obj instanceof type, description);
+ } else if (typeof (type) === 'object') {
+ for (prop_name in type) {
+ prop_type = type[prop_name];
+ if (prop_type === 'function') {
+ assert_inherits(obj, prop_name);
+ assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+ } else {
+ assert_own_property(obj, prop_name);
+ }
+ }
+ } else {
+ assert_unreached('Fix your test. Wrong type ' + org_type);
+ }
+}
+
+function register_type(alias, type_spec) {
+ _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj object to test which has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ var tmp;
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ tmp = obj[attributeName];
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj object to test which has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{ var old_value = obj[attributeName];
+ obj[attributeName] = null;
+ assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+ obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+ assert_throws({name: "TypeError"}, function () {
+ tizen[interfaceName]();
+ },"Wrong call as a function");
+ assert_throws({name: "TypeError"}, function () {
+ new tizen[interfaceName]();
+ },"Wrong call as a new function");
+ assert_throws({name: "TypeError"}, function () {
+ ({}) instanceof tizen[interfaceName];
+ },"instanceof exception");
+ assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+ assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+ assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+ assert_throws({
+ name: "TypeError"
+ }, function () {
+ tizen[constructorName]();
+ }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+ assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+ var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+ obj.newDummyMethod = function() {
+ return dummyMethodResult;
+ }
+ assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+ obj.newDummyAttribute = dummyAttribute;
+ assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+ if (expectedValue === valueToAssign) {
+ assert_unreached("Fix your test. The same values given for " + attributeName +
+ " in 'value' and 'valueToSet' arguments.");
+ }
+ if (typeof (attributeName) === "string") {
+ assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+ assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+ if (typeof (expectedType) !== "undefined") {
+ if (expectedValue === null) {
+ assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+ } else {
+ assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+ }
+ } else {
+ assert_unreached("Fix your test. Wrong type " + expectedType);
+ }
+ obj[attributeName] = valueToAssign;
+ assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+ } else {
+ assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+ }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+ val = obj[array], i;
+
+ if (!isNullable) {
+ obj[array] = null;
+ assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+ assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+ assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ obj[array] = args[i];
+ assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+ assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+ }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+ var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+ val = parentObj[obj], i;
+
+ if (!isNullable) {
+ parentObj[obj] = null;
+ assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+ }
+
+ for (i = 0 ; i < args.length ; i++) {
+ parentObj[obj] = args[i];
+ assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+ }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ * packageInformationEventCallback = incorrectListeners[i][0];
+ * exceptionName = incorrectListeners[i][1];
+ * assert_throws({name : exceptionName},
+ * function () {
+ * tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ * }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+ var result = [], conversionTable, i, j, listenerName;
+ conversionTable = getTypeConversionExceptions("functionObject", false);
+
+ for (i = 0; i < callbackNames.length; i++) {
+ for (j = 0; j < conversionTable.length; j++) {
+ listenerName = {};
+ listenerName[callbackNames[i]] = conversionTable[j][0];
+ result.push([listenerName, conversionTable[j][1]]);
+ }
+ }
+
+ return result;
+}
+++ /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-notification-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Notification">
- <testcase purpose="check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_exist">
+ <testcase purpose="Check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_update_exist">
+ <testcase purpose="Check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_update_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_remove_exist">
+ <testcase purpose="Check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_remove_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_exist">
+ <testcase purpose="Check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_get_exist">
+ <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_get_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
+ <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
+ <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove">
+ <testcase purpose="Check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
+ <testcase purpose="Check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if the readonly attribute notification" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_in_tizen">
+ <testcase purpose="Check if the readonly attribute notification" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_in_tizen">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
+ <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_minargs" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+ <testcase purpose="Check if StatusNotification_constructor_minargs" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+ <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial_extra" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+ <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial_extra" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_appid_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
+ <testcase purpose="Check if StatusNotification_appid_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_appControl_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
+ <testcase purpose="Check if StatusNotification_appControl_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_vibration_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
+ <testcase purpose="Check if StatusNotification_vibration_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_iconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+ <testcase purpose="Check if StatusNotification_iconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_soundPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
+ <testcase purpose="Check if StatusNotification_soundPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_statusType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
+ <testcase purpose="Check if StatusNotification_statusType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification_content_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
+ <testcase purpose="Check if Notification_content_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification_postedTime_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
+ <testcase purpose="Check if Notification_postedTime_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification_title_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
+ <testcase purpose="Check if Notification_title_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification_id_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
+ <testcase purpose="Check if Notification_id_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification_type_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
+ <testcase purpose="Check if Notification_type_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if NotificationManager does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_notexist">
+ <testcase purpose="Check if NotificationManager does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if NotificationObject does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
+ <testcase purpose="Check if NotificationObject does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if Notification does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
+ <testcase purpose="Check if Notification does not exist" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if NotificationManager is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_extend">
+ <testcase purpose="Check if NotificationManager is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+ <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if NotificationDetailInfo exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_exist">
+ <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+ <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_ONGOING_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_ONGOING_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_ONGOING_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_ONGOING_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_PROGRESS_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_PROGRESS_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_PROGRESS_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_PROGRESS_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_SIMPLE_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_SIMPLE_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_SIMPLE_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_SIMPLE_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_-1_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_-1_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_0_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_0_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_0_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_0_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_max_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_max_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
+ <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
+ <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
+ <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
+ <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_subIconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
+ <testcase purpose="Check if StatusNotification_subIconPath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
+ <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_detailInfo_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+ <testcase purpose="Check if StatusNotification_detailInfo_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_number_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+ <testcase purpose="Check if StatusNotification_number_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_backgroundImagePath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
+ <testcase purpose="Check if StatusNotification_backgroundImagePath_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_thumbnails_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
+ <testcase purpose="Check if StatusNotification_thumbnails_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_progressType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+ <testcase purpose="Check if StatusNotification_progressType_attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_progressValue_attribute_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+ <testcase purpose="Check if StatusNotification_progressValue_attribute_BYTE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_progressValue_attribute_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_progressValue_attribute_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_100_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_100_PERCENTAGE" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts max number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+ <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check if constructor accepts min number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+ <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
+ <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
+ <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check StatusNotification::ledColor attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+ <testcase purpose="Check StatusNotification::ledColor attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check StatusNotification::ledOffPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+ <testcase purpose="Check StatusNotification::ledOffPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
</description>
</spec>
</specs>
</testcase>
- <testcase purpose="check StatusNotification::ledOnPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+ <testcase purpose="Check StatusNotification::ledOnPeriod attribute" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
</description>
<test_definition>
<suite name="tct-notification-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
<set name="Notification">
- <testcase purpose="check if method post which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist">
+ <testcase purpose="Check if method post which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method update which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist">
+ <testcase purpose="Check if method update which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method remove which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist">
+ <testcase purpose="Check if method remove which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method removeAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist">
+ <testcase purpose="Check if method removeAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method get which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist">
+ <testcase purpose="Check if method get which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if method getAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist">
+ <testcase purpose="Check if method getAll which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in get method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get">
+ <testcase purpose="Check if the parameter NotificationManager which in get method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in remove method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove">
+ <testcase purpose="Check if the parameter NotificationManager which in remove method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the parameter NotificationManager which in update method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update">
+ <testcase purpose="Check if the parameter NotificationManager which in update method ok" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if the readonly attribute notification" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen">
+ <testcase purpose="Check if the readonly attribute notification" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether calling update() method with notification not posted earlier throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted">
+ <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_minargs" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs">
+ <testcase purpose="Check if StatusNotification_constructor_minargs" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial">
+ <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_notificationInitDict_partial_extra" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+ <testcase purpose="Check if StatusNotification_constructor_notificationInitDict_partial_extra" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_appid_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute">
+ <testcase purpose="Check if StatusNotification_appid_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_appControl_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute">
+ <testcase purpose="Check if StatusNotification_appControl_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_vibration_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute">
+ <testcase purpose="Check if StatusNotification_vibration_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_iconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute">
+ <testcase purpose="Check if StatusNotification_iconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_soundPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute">
+ <testcase purpose="Check if StatusNotification_soundPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_statusType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute">
+ <testcase purpose="Check if StatusNotification_statusType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification_content_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_content_attribute">
+ <testcase purpose="Check if Notification_content_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_content_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification_postedTime_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute">
+ <testcase purpose="Check if Notification_postedTime_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification_title_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_title_attribute">
+ <testcase purpose="Check if Notification_title_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_title_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification_id_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_id_attribute">
+ <testcase purpose="Check if Notification_id_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_id_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification_type_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_type_attribute">
+ <testcase purpose="Check if Notification_type_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_type_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if NotificationManager does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist">
+ <testcase purpose="Check if NotificationManager does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if NotificationObject does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist">
+ <testcase purpose="Check if NotificationObject does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if Notification does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_notexist">
+ <testcase purpose="Check if Notification does not exist" component="TizenAPI/User Interface/Notification" execution_type="auto" id="Notification_notexist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if NotificationManager is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_extend">
+ <testcase purpose="Check if NotificationManager is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_extend">
+ <testcase purpose="Check if StatusNotification is extendable" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if NotificationDetailInfo exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist">
+ <testcase purpose="Check if NotificationDetailInfo exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_exist">
+ <testcase purpose="Check if StatusNotification exists" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_ONGOING_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_ONGOING_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_ONGOING_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_ONGOING_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_PROGRESS_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_PROGRESS_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_PROGRESS_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_PROGRESS_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_SIMPLE_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_SIMPLE_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_SIMPLE_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_SIMPLE_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_THUMBNAIL_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_-1_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_-1_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_0_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_0_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_0_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_0_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_max_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_max_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts incorrect backgroundImagePath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath">
+ <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts incorrect iconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath">
+ <testcase purpose="Check if constructor accepts incorrect iconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts incorrect soundPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath">
+ <testcase purpose="Check if constructor accepts incorrect soundPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts incorrect subIconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath">
+ <testcase purpose="Check if constructor accepts incorrect subIconPath" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_subIconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute">
+ <testcase purpose="Check if StatusNotification_subIconPath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts incorrect thumbnails" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails">
+ <testcase purpose="Check if constructor accepts incorrect thumbnails" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_detailInfo_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute">
+ <testcase purpose="Check if StatusNotification_detailInfo_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_number_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute">
+ <testcase purpose="Check if StatusNotification_number_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_backgroundImagePath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute">
+ <testcase purpose="Check if StatusNotification_backgroundImagePath_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_thumbnails_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute">
+ <testcase purpose="Check if StatusNotification_thumbnails_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_progressType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute">
+ <testcase purpose="Check if StatusNotification_progressType_attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_progressValue_attribute_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE">
+ <testcase purpose="Check if StatusNotification_progressValue_attribute_BYTE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_progressValue_attribute_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_progressValue_attribute_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if StatusNotification_constructor_progessValue_100_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+ <testcase purpose="Check if StatusNotification_constructor_progessValue_100_PERCENTAGE" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts max number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max">
+ <testcase purpose="Check if constructor accepts max number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check if constructor accepts min number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min">
+ <testcase purpose="Check if constructor accepts min number." component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
</description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
+ <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
+ <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check StatusNotification::ledColor attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
+ <testcase purpose="Check StatusNotification::ledColor attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check StatusNotification::ledOffPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute">
+ <testcase purpose="Check StatusNotification::ledOffPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check StatusNotification::ledOnPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute">
+ <testcase purpose="Check StatusNotification::ledOnPeriod attribute" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
</description>