var notificationDict, notification, retVal;
notificationDict = {
content: "This is a simple notification.",
- iconPath: "images/webapi-tizen-notification-test_image1.jpg",
- soundPath: "music/webapi-tizen-notification-test_noise1.mp3"
+ images:
+ {
+ iconPath : "images/webapi-tizen-notification-test_image1.jpg"
+ },
+ actions:
+ {
+ soundPath : "music/webapi-tizen-notification-test_noise1.mp3"
+ }
};
- notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);
+ notification = new tizen.UserNotification("SIMPLE", "Simple notification", notificationDict);
tizen.notification.saveNotificationAsTemplate("SIMPLE_TEMPLATE", notification);
retVal = tizen.notification.createNotificationFromTemplate("SIMPLE_TEMPLATE");
- assert_true(retVal instanceof tizen.notification, "object was not get properly");
+ assert_true(retVal instanceof tizen.UserNotification, "object was not get properly");
}, document.title);
</script>
</body>
-</html>
+</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Lei, ZhanX <zhanx.lei@intel.com>
- Zhang, GeX <gex.zhang@intel.com>
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_get</title>
-<meta charset="utf-8"/>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: NotificationManager_get
-//==== 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
-//==== TEST_CRITERIA MR MMINA
-
-var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
- notificationToPost, postedTime, i;
-test(function () {
- notificationDict.progressType = progressTypeToSet;
- notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
- try {
- tizen.notification.post(notificationToPost);
- postedTime = notificationToPost.postedTime;
-
- notification = tizen.notification.get(notificationToPost.id);
- assert_true(notification instanceof tizen.StatusNotification, "Incorrect returned value from get method.");
-
- assert_equals(notification.type, "STATUS", "type is incorrect.");
- assert_equals(notification.postedTime.toJSON(), postedTime.toJSON(), "postedTime is incorrect.");
-
- assert_equals(notification.title, titleToSet, "title is incorrect.");
- assert_equals(notification.content, contentToSet, "content is incorrect.");
- assert_equals(notification.iconPath, iconPathToSet, "iconPath is incorrect.");
- assert_equals(notification.soundPath, soundPathToSet, "soundPath is incorrect.");
- assert_equals(notification.vibration, vibrationToSet, "vibration is incorrect.");
-
- assert_equals(notification.appId, appIdToSet, "appId is incorrect.");
- assert_equals(notification.appControl.operation, applicationControl.operation,
- "appControl.operation is incorrect.");
- assert_equals(notification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
- assert_equals(notification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
- assert_equals(notification.appControl.category, applicationControl.category,
- "appControl.category is incorrect.");
- assert_array_equals(notification.appControl.data, applicationControl.data,
- "appControl.data is incorrect.");
-
- assert_equals(notification.id, notificationToPost.id, "id is incorrect.");
- assert_equals(notification.progressValue, progressValueToSet, "progressValue is incorrect.");
- assert_equals(notification.progressType, progressTypeToSet, "progressType is incorrect.");
- assert_equals(notification.statusType, statusType, "statusType is incorrect.");
-
- assert_equals(notification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
- assert_equals(notification.number, numberToSet, "number is incorrect.");
- assert_equals(notification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
-
- assert_array_equals(notification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
- assert_equals(notification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
- for (i = 0; i < detailInfoToSet.length; i++) {
- assert_equals(notification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
- "detailInfo.mainText attribute for index = " + i + ".");
- assert_equals(notification.detailInfo[i].subText, detailInfoToSet[i].subText,
- "detailInfo.subText attribute for index = " + i + ".");
- }
- assert_own_property(notification, "ledColor", "notification");
- assert_equals(notification.ledOnPeriod, 0, "notification.ledOnPeriod");
- assert_equals(notification.ledOffPeriod, 0, "notification.ledOffPeriod");
- } finally {
- tizen.notification.removeAll();
- }
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>NotificationManager_getAll</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: NotificationManager_getAll
-//==== LABEL Check if NotificationManager.getAll method works
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNA MR
-
-test(function () {
-
- var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i, j,
- statusNotification, allNotifications, postedNotifications = {},
- attributesCounter = 0, progressTypeToSet = "BYTE",
- progressValueToSet = 555, postedNotification;
- try {
- notificationDict.progressType = progressTypeToSet;
- notificationDict.progressValue = progressValueToSet;
- for (i = 0; i < statusTypes.length; i++) {
- statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet, notificationDict);
- tizen.notification.post(statusNotification);
- postedNotifications[statusNotification.id] = statusNotification;
- }
- allNotifications = tizen.notification.getAll();
- assert_true(Array.isArray(allNotifications), "Result from getAll is not an Array");
-
- attributesCounter = Object.getOwnPropertyNames(postedNotifications).length;
- assert_equals(attributesCounter, statusTypes.length, "IDs are not unique.");
- assert_equals(allNotifications.length, attributesCounter, "Incorrect number of notifications.");
-
- for (i = 0; i < allNotifications.length; i++) {
- statusNotification = allNotifications[i];
- assert_true(statusNotification.id in postedNotifications, "Unknown id received.");
- postedNotification = postedNotifications[statusNotification.id];
- assert_true(statusNotification instanceof tizen.StatusNotification, "Incorrect type.");
-
- assert_equals(statusNotification.type, "STATUS", "type is incorrect.");
- assert_equals(statusNotification.postedTime.toJSON(), postedNotification.postedTime.toJSON(), "postedTime is incorrect.");
-
- assert_equals(statusNotification.title, postedNotification.title, "title is incorrect.");
- assert_equals(statusNotification.content, contentToSet, "content is incorrect.");
- assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath is incorrect.");
- assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath is incorrect.");
- assert_equals(statusNotification.vibration, vibrationToSet, "vibration is incorrect.");
-
- assert_equals(statusNotification.appId, appIdToSet, "appId is incorrect.");
- assert_equals(statusNotification.appControl.operation, applicationControl.operation,
- "appControl.operation is incorrect.");
- assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
- assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
- assert_equals(statusNotification.appControl.category, applicationControl.category,
- "appControl.category is incorrect.");
- assert_array_equals(statusNotification.appControl.data, applicationControl.data,
- "appControl.data is incorrect.");
-
- assert_equals(statusNotification.id, postedNotification.id, "id is incorrect.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType is incorrect.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue is incorrect.");
- assert_equals(statusNotification.statusType, postedNotification.statusType, "statusType is incorrect.");
-
- assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
- assert_equals(statusNotification.number, numberToSet, "number is incorrect.");
- assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
-
- assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
- assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
- for (j = 0; j < detailInfoToSet.length; j++) {
- assert_equals(statusNotification.detailInfo[j].mainText, detailInfoToSet[j].mainText,
- "detailInfo.mainText attribute for index = " + j + ".");
- assert_equals(statusNotification.detailInfo[j].subText, detailInfoToSet[j].subText,
- "detailInfo.subText attribute for index = " + j + ".");
- }
- assert_own_property(statusNotification, "ledColor", "statusNotification");
- assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
- assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
- }
- } finally {
- tizen.notification.removeAll();
- }
-}, document.title);
-
-</script>
-</body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>NotificationManager_getAllNotifications</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_getAllNotifications
+//==== LABEL Check if NotificationManager.getAllNotifications method works
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAllNotifications M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNA MR
+
+test(function () {
+
+ var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i, j,
+ userNotification, allNotifications, postedNotifications = {},
+ attributesCounter = 0, progressTypeToSet = "BYTE",
+ progressValueToSet = 555, postedNotification;
+ try {
+ notificationDict.textContents.progressType = progressTypeToSet;
+ notificationDict.textContents.progressValue = progressValueToSet;
+ for (i = 0; i < statusTypes.length; i++) {
+ userNotification = new tizen.UserNotification(statusTypes[i], titleToSet, notificationDict);
+ tizen.notification.post(userNotification);
+ postedNotifications[userNotification.id] = userNotification;
+ }
+ allNotifications = tizen.notification.getAllNotifications();
+ assert_true(Array.isArray(allNotifications), "Result from getAllNotifications is not an Array");
+
+ attributesCounter = Object.getOwnPropertyNames(postedNotifications).length;
+ assert_equals(attributesCounter, statusTypes.length, "IDs are not unique.");
+ assert_equals(allNotifications.length, attributesCounter, "Incorrect number of notifications.");
+
+ for (i = 0; i < allNotifications.length; i++) {
+ userNotification = allNotifications[i];
+ assert_true(userNotification.id in postedNotifications, "Unknown id received.");
+ postedNotification = postedNotifications[userNotification.id];
+ assert_true(userNotification instanceof tizen.UserNotification, "Incorrect type.");
+
+ assert_equals(userNotification.type, "STATUS", "type is incorrect.");
+ assert_equals(userNotification.postedTime.toJSON(), postedNotification.postedTime.toJSON(), "postedTime is incorrect.");
+
+
+ assert_equals(userNotification.title, titleToSet, "title is incorrect.");
+ assert_equals(userNotification.content, contentToSet, "content is incorrect.");
+ assert_equals(userNotification.images.iconPath, iconPathToSet, "iconPath is incorrect.");
+ assert_equals(userNotification.actions.soundPath, soundPathToSet, "soundPath is incorrect.");
+ assert_equals(userNotification.actions.vibration, vibrationToSet, "vibration is incorrect.");
+
+ assert_equals(userNotification.actions.appId, appIdToSet, "appId is incorrect.");
+ assert_equals(userNotification.actions.appControl.operation, applicationControl.operation, "appControl.operation is incorrect.");
+ assert_equals(userNotification.actions.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+ assert_equals(userNotification.actions.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+ assert_equals(userNotification.actions.appControl.category, applicationControl.category, "appControl.category is incorrect.");
+ assert_array_equals(userNotification.actions.appControl.data, applicationControl.data, "appControl.data is incorrect.");
+
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue is incorrect.");
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType is incorrect.");
+ assert_equals(userNotification.userType, statusType, "userType is incorrect.");
+
+ assert_equals(notification.images.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+ assert_equals(notification.images.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+ assert_array_equals(userNotification.thumbnails.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+ assert_equals(userNotification.textContents.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+ for (i = 0; i < detailInfoToSet.length; i++) {
+ assert_equals(userNotification.textContents.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + ".");
+ assert_equals(userNotification.textContents.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + ".");
+ }
+ }
+ } finally {
+ tizen.notification.removeAll();
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAllNotifications_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getAllNotifications_exist
+//==== LABEL Check if method getAllNotifications which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAllNotifications M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("getAllNotifications" in tizen.notification, "No getAllNotifications method in tizen.notification.");
+ check_method_exists(tizen.notification, "getAllNotifications");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getAllNotifications_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getAllNotifications_extra_argument
+//==== LABEL Check if method getAllNotifications of NotificationManager accepts extra argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAllNotifications M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ checkExtraArgument(tizen.notification, "getAllNotifications");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Lei, ZhanX <zhanx.lei@intel.com>
- Zhang, GeX <gex.zhang@intel.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_getAll_exist</title>
-<meta charset="utf-8"/>
-<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.
-//==== 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
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("getAll" in tizen.notification, "No getAll method in tizen.notification.");
- check_method_exists(tizen.notification, "getAll");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_getAll_extra_argument</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_getAll_extra_argument
-//==== LABEL Check if method getAll of NotificationManager accepts extra argument
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNAEX
-
-test(function () {
- checkExtraArgument(tizen.notification, "getAll");
-}, document.title);
-
-</script>
-</body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getNotification</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getNotification
+//==== LABEL Check if the parameter NotificationManager which in getNotification method ok
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getNotification M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MR
+
+var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE", notificationToPost, postedTime, i;
+
+test(function () {
+ notificationDict.textContents.progressType = progressTypeToSet;
+ notificationToPost = new tizen.UserNotification(statusType, titleToSet, notificationDict);
+ try {
+ tizen.notification.post(notificationToPost);
+ postedTime = notificationToPost.postedTime;
+
+ notification = tizen.notification.getNotification(notificationToPost.id);
+ assert_true(notification instanceof tizen.UserNotification, "Incorrect returned value from get method.");
+
+ assert_equals(notification.type, "STATUS", "type is incorrect.");
+ assert_equals(notification.postedTime.toJSON(), postedTime.toJSON(), "postedTime is incorrect.");
+ assert_equals(notification.title, titleToSet, "title is incorrect.");
+ assert_equals(notification.content, contentToSet, "content is incorrect.");
+ assert_equals(notification.images.iconPath, iconPathToSet, "iconPath is incorrect.");
+ assert_equals(notification.actions.soundPath, soundPathToSet, "soundPath is incorrect.");
+ assert_equals(notification.actions.vibration, vibrationToSet, "vibration is incorrect.");
+
+ assert_equals(notification.actions.appId, appIdToSet, "appId is incorrect.");
+ assert_equals(notification.actions.appControl.operation, applicationControl.operation,
+ "appControl.operation is incorrect.");
+ assert_equals(notification.actions.appControl.uri, applicationControl.uri, "appControl.uri is incorrect.");
+ assert_equals(notification.actions.appControl.mime, applicationControl.mime, "appControl.mime is incorrect.");
+ assert_equals(notification.actions.appControl.category, applicationControl.category,
+ "appControl.category is incorrect.");
+ assert_array_equals(notification.actions.appControl.data, applicationControl.data,
+ "appControl.data is incorrect.");
+
+ assert_equals(notification.id, notificationToPost.id, "id is incorrect.");
+ assert_equals(notification.textContents.progressValue, progressValueToSet, "progressValue is incorrect.");
+ assert_equals(notification.textContents.progressType, progressTypeToSet, "progressType is incorrect.");
+ assert_equals(notification.userType, statusType, "userType is incorrect.");
+
+ assert_equals(notification.images.subIconPath, subIconPathToSet, "subIconPath is incorrect.");
+ assert_equals(notification.images.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath is incorrect.");
+
+ assert_array_equals(notification.thumbnails.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+ assert_equals(notification.textContents.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+ for (i = 0; i < detailInfoToSet.length; i++) {
+ assert_equals(notification.textContents.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+ "detailInfo.mainText attribute for index = " + i + ".");
+ assert_equals(notification.textContents.detailInfo[i].subText, detailInfoToSet[i].subText,
+ "detailInfo.subText attribute for index = " + i + ".");
+ }
+ } finally {
+ tizen.notification.removeAll();
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getNotification_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getNotification_exist
+//==== LABEL Check if method getNotification which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getNotification M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("getNotification" in tizen.notification, "No getNotification method in tizen.notification.");
+ check_method_exists(tizen.notification, "getNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getNotification_id_invalid</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST NotificationManager_getNotification_id_invalid
+//==== LABEL Check if NotificationManager getNotification method works with invalid argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getNotification M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var DOMStringConversionArray, i, id;
+ DOMStringConversionArray = getTypeConversionExceptions("object");
+ for (i = 0; i < DOMStringConversionArray.length; i++) {
+ id = DOMStringConversionArray[i];
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
+ tizen.notification.getNotification(id);
+ }, "Should throw exception");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>NotificationManager_getNotification_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body bgcolor="FFFFFF">
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_getNotification_misarg
+//==== LABEL Check if NotificationManager getNotification method works properly without argument
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getNotification M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
+ tizen.notification.getNotification();
+ }, "exception should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Lei, ZhanX <zhanx.lei@intel.com>
- Zhang, GeX <gex.zhang@intel.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_get_exist</title>
-<meta charset="utf-8"/>
-<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.
-//==== 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
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("get" in tizen.notification, "No get method in tizen.notification.");
- check_method_exists(tizen.notification, "get");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 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:
- Md. Samsuddin Alam <ss.alam@samsung.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_get_id_invalid</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body bgcolor="FFFFFF">
-<div id="log"></div>
-<script>
-//==== TEST NotificationManager_get_id_invalid
-//==== LABEL Check if NotificationManager get method works with invalid argument
-//==== 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
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- var DOMStringConversionArray, i, id;
- DOMStringConversionArray = getTypeConversionExceptions("object");
- for (i = 0; i < DOMStringConversionArray.length; i++) {
- id = DOMStringConversionArray[i];
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- tizen.notification.get(id);
- }, "Should throw exception");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 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:
- Md. Samsuddin Alam <ss.alam@samsung.com>
-
--->
-<html>
-<head>
-<title>NotificationManager_get_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body bgcolor="FFFFFF">
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_get_misarg
-//==== LABEL Check if NotificationManager get method works properly without argument
-//==== 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
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-test(function () {
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- tizen.notification.get();
- }, "exception should be thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
-
<head>
<title>NotificationManager_post_ONGOING</title>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_post_ONGOING
//==== LABEL Check if NotificationManager.post method works properly with ONGOING statusType
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR MAST
+//==== TEST_CRITERIA MR MAST
test(function () {
- var statusNotification = new tizen.StatusNotification("ONGOING", titleToSet, notificationDict);
+ var userNotification = new tizen.UserNotification("ONGOING", titleToSet, notificationDict);
try {
- assert_equals(tizen.notification.post(statusNotification), undefined, "Post method returned incorrect value.");
+ assert_equals(tizen.notification.post(userNotification), undefined, "Post method returned incorrect value.");
- assert_type(statusNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
- assert_not_equals(statusNotification.id, "", "StatusNotification.id is an empty string.");
+ assert_type(userNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
+ assert_not_equals(userNotification.id, "", "UserNotification.id is an empty string.");
- assert_equals(statusNotification.statusType, "ONGOING", "statusType must be ONGOING");
+ assert_equals(userNotification.userType, "ONGOING", "userType must be ONGOING");
- assert_true(statusNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
+ assert_true(userNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
} finally {
tizen.notification.removeAll();
}
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_post_PROGRESS
//==== LABEL Check if NotificationManager.post method works properly with PROGRESS statusType
//==== TEST_CRITERIA MMINA MR MAST
test(function () {
- var statusNotification = new tizen.StatusNotification("PROGRESS", titleToSet, notificationDict);
+ var userNotification = new tizen.UserNotification("PROGRESS", titleToSet, notificationDict);
try {
- assert_equals(tizen.notification.post(statusNotification), undefined, "Post method returned incorrect value.");
+ assert_equals(tizen.notification.post(userNotification), undefined, "Post method returned incorrect value.");
- assert_type(statusNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
- assert_not_equals(statusNotification.id, "", "StatusNotification.id is an empty string.");
+ assert_type(userNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
+ assert_not_equals(userNotification.id, "", "StatusNotification.id is an empty string.");
- assert_equals(statusNotification.statusType, "PROGRESS", "statusType must be PROGRESS");
+ assert_equals(userNotification.userType, "PROGRESS", "userType must be PROGRESS");
- assert_true(statusNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
+ assert_true(userNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
} finally {
tizen.notification.removeAll();
}
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<scriptS>
//==== TEST: NotificationManager_post_SIMPLE
//==== LABEL Check if NotificationManager.post method works properly with SIMPLE statusType
//==== 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
//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR MAST
+//==== TEST_CRITERIA MR MAST
test(function () {
- var statusNotification = new tizen.StatusNotification("SIMPLE", titleToSet, notificationDict);
+ var userNotification = new tizen.UserNotification("SIMPLE", titleToSet, notificationDict);
try {
- assert_equals(tizen.notification.post(statusNotification), undefined, "Post method returned incorrect value.");
+ assert_equals(tizen.notification.post(userNotification), undefined, "Post method returned incorrect value.");
- assert_type(statusNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
- assert_not_equals(statusNotification.id, "", "StatusNotification.id is an empty string.");
+ assert_type(userNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
+ assert_not_equals(userNotification.id, "", "StatusNotification.id is an empty string.");
- assert_equals(statusNotification.statusType, "SIMPLE", "statusType must be SIMPLE");
+ assert_equals(userNotification.userType, "SIMPLE", "userType must be SIMPLE");
- assert_true(statusNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
+ assert_true(userNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
} finally {
tizen.notification.removeAll();
}
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
-
<head>
<title>NotificationManager_post_THUMBNAIL</title>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_post_THUMBNAIL
//==== LABEL Check if NotificationManager.post method works properly with THUMBNAIL statusType
//==== 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
//==== PRIORITY P1
-//==== TEST_CRITERIA MMINA MR MAST
+//==== TEST_CRITERIA MR MAST
test(function () {
- var statusNotification = new tizen.StatusNotification("THUMBNAIL", titleToSet, notificationDict);
+ var userNotification = new tizen.UserNotification("THUMBNAIL", titleToSet, notificationDict);
try {
- assert_equals(tizen.notification.post(statusNotification), undefined, "Post method returned incorrect value.");
+ assert_equals(tizen.notification.post(userNotification), undefined, "Post method returned incorrect value.");
- assert_type(statusNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
- assert_not_equals(statusNotification.id, "", "StatusNotification.id is an empty string.");
+ assert_type(userNotification.id, "string", "Incorrect type for StatusNotification.id attribute.");
+ assert_not_equals(userNotification.id, "", "StatusNotification.id is an empty string.");
- assert_equals(statusNotification.statusType, "THUMBNAIL", "statusType must be THUMBNAIL");
+ assert_equals(userNotification.userType, "THUMBNAIL", "userType must be THUMBNAIL");
- assert_true(statusNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
+ assert_true(userNotification.postedTime instanceof Date, "Incorrect type for StatusNotification.postedTime attribute.");
} finally {
tizen.notification.removeAll();
}
<!DOCTYPE html>
<!--
-Copyright (c) 2012 Intel Corporation.
+Copyright (c) 2017 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Lei, ZhanX <zhanx.lei@intel.com>
Zhang, GeX <gex.zhang@intel.com>
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_remove
//==== LABEL Check if the parameter NotificationManager which in remove method ok
//==== PRIORITY P2
test(function () {
var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i,
- statusNotification, postedNotifications = [], idToRemove, returnedValue = null;
+ userNotification, postedNotifications = [], idToRemove, returnedValue = null;
try {
for (i = 0; i < statusTypes.length; i++) {
- statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet + statusTypes[i], notificationDict);
- tizen.notification.post(statusNotification);
- postedNotifications.push(statusNotification);
+ userNotification = new tizen.UserNotification(statusTypes[i], titleToSet + statusTypes[i], notificationDict);
+ tizen.notification.post(userNotification);
+ postedNotifications.push(userNotification);
}
for (i = 0; i < postedNotifications.length; i++) {
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_removeAll
//==== LABEL Check if NotificationManager.removeAll works properly
test(function () {
var statusTypes = ["SIMPLE", "ONGOING", "PROGRESS", "THUMBNAIL"], i,
- statusNotification, allNotifications, returnedValue = null;
+ userNotification, allNotifications, returnedValue = null;
try {
for (i = 0; i < statusTypes.length; i++) {
- statusNotification = new tizen.StatusNotification(statusTypes[i], titleToSet, notificationDict);
- tizen.notification.post(statusNotification);
+ userNotification = new tizen.UserNotification(statusTypes[i], titleToSet, notificationDict);
+ tizen.notification.post(userNotification);
}
- allNotifications = tizen.notification.getAll();
+ allNotifications = tizen.notification.getAllNotifications();
assert_equals(allNotifications.length, statusTypes.length, "Incorrect number of notifications.");
returnedValue = tizen.notification.removeAll();
assert_equals(returnedValue, undefined, "removeAll() should return undefined.");
- allNotifications = tizen.notification.getAll();
+ allNotifications = tizen.notification.getAllNotifications();
assert_equals(allNotifications.length, 0, "Incorrect number of notifications.");
} finally {
var notificationDict, notification, retVal;
notificationDict = {
content: "This is a simple notification.",
- iconPath: "images/webapi-tizen-notification-test_image1.jpg",
- soundPath: "music/webapi-tizen-notification-test_noise1.mp3"
+ images:
+ {
+ iconPath : "images/webapi-tizen-notification-test_image1.jpg"
+ },
+ actions:
+ {
+ soundPath : "music/webapi-tizen-notification-test_noise1.mp3"
+ }
};
- notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);
+ notification = new tizen.UserNotification("SIMPLE", "Simple notification", notificationDict);
retVal = tizen.notification.saveNotificationAsTemplate("SIMPLE_TEMPLATE", notification);
assert_equals(retVal, undefined, "saveNotificationAsTemplate() should return undefined.");
}, document.title);
var notificationDict, notification, i, exceptionName = "QuotaExceededError";
notificationDict = {
content: "This is a simple notification.",
- iconPath: "images/webapi-tizen-notification-test_image1.jpg",
- soundPath: "music/webapi-tizen-notification-test_noise1.mp3"
+ images:
+ {
+ iconPath : "images/webapi-tizen-notification-test_image1.jpg"
+ },
+ actions:
+ {
+ soundPath : "music/webapi-tizen-notification-test_noise1.mp3"
+ }
};
- notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);
+ notification = new tizen.UserNotification("SIMPLE", "Simple notification", notificationDict);
assert_throws({name: exceptionName},
function () {
<!DOCTYPE html>
<!--
-Copyright (c) 2012 Intel Corporation.
+Copyright (c) 2017 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Lei, ZhanX <zhanx.lei@intel.com>
Zhang, GeX <gex.zhang@intel.com>
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: NotificationManager_update
//==== LABEL Check if the parameter NotificationManager which in update method ok
-//==== PRIORITY P2
+//==== PRIORITY P1
//==== 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 MMINA MR MAST
oldId, oldType, oldPostedTime, oldStatusType;
test(function () {
- notificationDict.progressType = progressTypeToSet;
+ notificationDict.textContents.progressType = progressTypeToSet;
newDetailInfo = [
new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
];
- notification = new tizen.StatusNotification(statusTypeToSet, titleToSet, notificationDict);
+ notification = new tizen.UserNotification(statusTypeToSet, titleToSet, notificationDict);
try {
tizen.notification.post(notification);
oldId = notification.id;
oldType = notification.type;
oldPostedTime = notification.postedTime;
- oldStatusType = notification.statusType;
+ oldStatusType = notification.UserType;
notification.title = newTitle;
notification.content = newContent;
- notification.iconPath = iconPathToSet2;
- notification.soundPath = soundPathToSet2;
- notification.vibration = newVibration;
-
- notification.appControl = newAppControl;
- notification.appId = newAppId;
- notification.progressType = newProgressType;
- notification.progressValue = newProgressValue;
- notification.subIconPath = subIconPathToSet2;
- notification.detailInfo = newDetailInfo;
- notification.backgroundImagePath = backgroundImagePathToSet2;
- notification.thumbnails = newThumbnails;
- notification.number = newNumber;
-
+ notification.images.iconPath = iconPathToSet2;
+ notification.actions.soundPath = soundPathToSet2;
+ notification.actions.vibration = newVibration;
+
+ notification.actions.appControl = newAppControl;
+ notification.actions.appId = newAppId;
+ notification.textContents.progressType = newProgressType;
+ notification.textContents.progressValue = newProgressValue;
+ notification.textContents.detailInfo = newDetailInfo;
+ notification.images.subIconPath = subIconPathToSet2;
+ notification.images.backgroundImagePath = backgroundImagePathToSet2;
+ notification.thumbnails.thumbnails = newThumbnails;
+
returnedValue = tizen.notification.update(notification);
assert_equals(returnedValue, undefined, "Incorrect returned value from update method.");
- updatedNotification = tizen.notification.get(notification.id);
+ updatedNotification = tizen.notification.getNotification(notification.id);
assert_equals(updatedNotification.type, oldType, "type is incorrect.");
assert_true(updatedNotification.postedTime >= oldPostedTime, "postedTime is incorrect.");
assert_equals(updatedNotification.title, newTitle, "title is incorrect.");
assert_equals(updatedNotification.content, newContent, "content is incorrect.");
- assert_equals(updatedNotification.iconPath, iconPathToSet2, "iconPath is incorrect.");
- assert_equals(updatedNotification.soundPath, soundPathToSet2, "soundPath is incorrect.");
- assert_equals(updatedNotification.vibration, newVibration, "vibration is incorrect.");
+ assert_equals(updatedNotification.images.iconPath, iconPathToSet2, "iconPath is incorrect.");
+ assert_equals(updatedNotification.actions.soundPath, soundPathToSet2, "soundPath is incorrect.");
+ assert_equals(updatedNotification.actions.vibration, newVibration, "vibration is incorrect.");
- assert_equals(updatedNotification.appId, newAppId, "appId is incorrect.");
- assert_equals(updatedNotification.appControl.operation, newAppControl.operation,
+ assert_equals(updatedNotification.actions.appId, newAppId, "appId is incorrect.");
+ assert_equals(updatedNotification.actions.appControl.operation, newAppControl.operation,
"appControl.operation is incorrect.");
- assert_equals(updatedNotification.appControl.uri, newAppControl.uri, "appControl.uri is incorrect.");
- assert_equals(updatedNotification.appControl.mime, newAppControl.mime, "appControl.mime is incorrect.");
- assert_equals(updatedNotification.appControl.category, newAppControl.category,
+ assert_equals(updatedNotification.actions.appControl.uri, newAppControl.uri, "appControl.uri is incorrect.");
+ assert_equals(updatedNotification.actions.appControl.mime, newAppControl.mime, "appControl.mime is incorrect.");
+ assert_equals(updatedNotification.actions.appControl.category, newAppControl.category,
"appControl.category is incorrect.");
- assert_array_equals(updatedNotification.appControl.data, newAppControl.data,
+ assert_array_equals(updatedNotification.actions.appControl.data, newAppControl.data,
"appControl.data is incorrect.");
- assert_equals(updatedNotification.progressType, newProgressType, "progressType is incorrect.");
- assert_equals(updatedNotification.progressValue, newProgressValue, "progressValue is incorrect.");
+ assert_equals(updatedNotification.textContents.progressType, newProgressType, "progressType is incorrect.");
+ assert_equals(updatedNotification.textContents.progressValue, newProgressValue, "progressValue is incorrect.");
assert_equals(updatedNotification.statusType, oldStatusType, "statusType is incorrect.");
assert_equals(updatedNotification.id, oldId, "id is incorrect.");
- assert_equals(updatedNotification.number, newNumber, "number is incorrect.");
- assert_equals(updatedNotification.subIconPath, subIconPathToSet2, "subIconPath is incorrect.");
- assert_equals(updatedNotification.backgroundImagePath, backgroundImagePathToSet2, "backgroundImagePath is incorrect.");
- assert_array_equals(updatedNotification.thumbnails, newThumbnails, "thumbnails attribute.");
+ assert_equals(updatedNotification.images.subIconPath, subIconPathToSet2, "subIconPath is incorrect.");
+ assert_equals(updatedNotification.images.backgroundImagePath, backgroundImagePathToSet2, "backgroundImagePath is incorrect.");
+ assert_array_equals(updatedNotification.thumbnails.thumbnails, newThumbnails, "thumbnails attribute.");
- assert_equals(updatedNotification.detailInfo.length, newDetailInfo.length, "detailInfo attribute length.");
+ assert_equals(updatedNotification.textContents.detailInfo.length, newDetailInfo.length, "detailInfo attribute length.");
for (i = 0; i < newDetailInfo.length; i++) {
- assert_equals(updatedNotification.detailInfo[i].mainText, newDetailInfo[i].mainText,
+ assert_equals(updatedNotification.textContents.detailInfo[i].mainText, newDetailInfo[i].mainText,
"detailInfo.mainText attribute for index = " + i + ".");
- assert_equals(updatedNotification.detailInfo[i].subText, newDetailInfo[i].subText,
+ assert_equals(updatedNotification.textContents.detailInfo[i].subText, newDetailInfo[i].subText,
"detailInfo.subText attribute for index = " + i + ".");
}
- assert_own_property(updatedNotification, "ledColor", "updatedNotification");
- assert_equals(updatedNotification.ledOnPeriod, 0, "updatedNotification.ledOnPeriod");
- assert_equals(updatedNotification.ledOffPeriod, 0, "updatedNotification.ledOffPeriod");
} finally {
tizen.notification.removeAll();
}
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
-
<head>
<title>Notification_content_attribute</title>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Notification_content_attribute
//==== LABEL Check if attribute content of Notification exists, has appropriate type
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG
test(function () {
- var statusNotification, newValue = "newValue";
+ var userNotification, newValue = "newValue";
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification("PROGRESS", titleToSet, notificationDict);
+ notificationDict.textContents.progressType = "BYTE";
+ userNotification = new tizen.UserNotification("PROGRESS", titleToSet, notificationDict);
- assert_own_property(statusNotification, "content", "StatusNotification doesn't own content property.");
- assert_equals(statusNotification.content, contentToSet, "content attribute not set.");
- statusNotification.content = newValue;
- assert_equals(statusNotification.content, newValue, "content attribute cannot be assigned.");
+ assert_own_property(userNotification, "content", "StatusNotification doesn't own content property.");
+ assert_equals(userNotification.content, contentToSet, "content attribute not set.");
+ userNotification.content = newValue;
+ assert_equals(userNotification.content, newValue, "content attribute cannot be assigned.");
- statusNotification.content = null;
- assert_equals(statusNotification.content, null, "content attribute cannot be assigned with null.");
+ userNotification.content = null;
+ assert_equals(userNotification.content, null, "content attribute cannot be assigned with null.");
}, document.title);
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
<script>
//==== TEST: Notification_extend
//==== LABEL Check if Notification can be extended
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P3
//==== TEST_CRITERIA OBX
test(function () {
var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE",
notificationToPost;
- notificationDict.progressType = progressTypeToSet;
- notificationToPost = new tizen.StatusNotification(statusType, titleToSet, notificationDict);
+ notificationDict.textContents.progressType = progressTypeToSet;
+ notificationToPost = new tizen.UserNotification(statusType, titleToSet, notificationDict);
try {
tizen.notification.post(notificationToPost);
- notification = tizen.notification.get(notificationToPost.id);
+ notification = tizen.notification.getNotification(notificationToPost.id);
check_extensibility(notification);
} finally {
tizen.notification.removeAll();
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Notification_id_attribute
//==== LABEL Check if attribute id of Notification exists, has appropriate type
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P1
//==== TEST_CRITERIA AE ADV ARO AT
test(function () {
- var statusNotification;
+ var userNotification;
try {
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification("THUMBNAIL", titleToSet, notificationDict);
+ notificationDict.textContents.progressType = "BYTE";
+ userNotification = new tizen.UserNotification("THUMBNAIL", titleToSet, notificationDict);
- assert_own_property(statusNotification, "id", "StatusNotification doesn't own id property.");
- check_readonly(statusNotification, "id", undefined, "undefined", "12345");
- tizen.notification.post(statusNotification);
- assert_type(statusNotification.id, "string", "statusNotification.id check");
+ assert_own_property(userNotification, "id", "StatusNotification doesn't own id property.");
+ check_readonly(userNotification, "id", undefined, "undefined", "12345");
+ tizen.notification.post(userNotification);
+ assert_type(userNotification.id, "string", "userNotification.id check");
} finally {
tizen.notification.removeAll();
}
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Notification_postedTime_attribute
//==== LABEL Check if attribute postedTime of Notification exists, has appropriate type
//==== 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
//==== PRIORITY P1
-//==== TEST_CRITERIA AE ARO AT
+//==== TEST_CRITERIA AE ARO AT ADV
test(function () {
- var statusNotification;
+ var userNotification;
try {
- notificationDict.progressType = "PERCENTAGE";
- statusNotification = new tizen.StatusNotification("ONGOING", titleToSet, notificationDict);
+ notificationDict.textContents.progressType = "PERCENTAGE";
+ userNotification = new tizen.UserNotification("ONGOING", titleToSet, notificationDict);
- assert_own_property(statusNotification, "postedTime", "StatusNotification doesn't own postedTime property.");
- check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
- tizen.notification.post(statusNotification);
- assert_type(statusNotification.postedTime, "date", "date check");
+ assert_own_property(userNotification, "postedTime", "StatusNotification doesn't own postedTime property.");
+ check_readonly(userNotification, "postedTime", undefined, "undefined", new Date());
+ tizen.notification.post(userNotification);
+ assert_type(userNotification.postedTime, "date", "date check");
} finally {
tizen.notification.removeAll();
}
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
-
<head>
<title>Notification_title_attribute</title>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Notification_title_attribute
//==== LABEL Check if attribute title of Notification exists, has appropriate type
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ASG AN
test(function () {
- var statusNotification, newValue = "newValue";
+ var userNotification, newValue = "newValue";
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification("SIMPLE", titleToSet, notificationDict);
+ notificationDict.textContents.progressType = "BYTE";
+ userNotification = new tizen.UserNotification("SIMPLE", titleToSet, notificationDict);
- assert_own_property(statusNotification, "title", "StatusNotification doesn't own title property.");
- assert_equals(statusNotification.title, titleToSet, "title attribute not set.");
- statusNotification.title = newValue;
- assert_equals(statusNotification.title, newValue, "title attribute cannot be assigned.");
- check_not_nullable(statusNotification, "title");
+ assert_own_property(userNotification, "title", "StatusNotification doesn't own title property.");
+ assert_equals(userNotification.title, titleToSet, "title attribute not set.");
+ userNotification.title = newValue;
+ assert_equals(userNotification.title, newValue, "title attribute cannot be assigned.");
+ check_not_nullable(userNotification, "title");
}, document.title);
</script>
</body>
-</html>
+</html>
\ No newline at end of file
<!DOCTYPE html>
<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
+Copyright (c) 2017 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.
Authors:
Andrzej Krolikowski <a.krolikowsk@samsung.com>
+ Xiaoyan Qian <xy.qian@samsung.com>
-->
<html>
-
<head>
<title>Notification_type_attribute</title>
<script src="support/unitcommon.js"></script>
<script src="support/notification_common.js"></script>
</head>
-
<body>
<div id="log"></div>
-<script type="text/javascript">
+<script>
//==== TEST: Notification_type_attribute
//==== LABEL Check if attribute type of Notification exists, has appropriate type
//==== 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
+//==== SPEC_URL TBD
//==== PRIORITY P1
//==== TEST_CRITERIA AE AT ARO
test(function () {
- var statusNotification;
+ var userNotification;
- notificationDict.progressType = "PERCENTAGE";
- statusNotification = new tizen.StatusNotification("ONGOING", titleToSet, notificationDict);
+ notificationDict.textContents.progressType = "PERCENTAGE";
+ userNotification = new tizen.UserNotification("ONGOING", titleToSet, notificationDict);
- assert_own_property(statusNotification, "type", "StatusNotification doesn't own type property.");
- check_readonly(statusNotification, "type", "STATUS", "string", "newValue");
+ assert_own_property(userNotification, "type", "StatusNotification doesn't own type property.");
+ check_readonly(userNotification, "type", "STATUS", "string", "newValue");
}, document.title);
</script>
</body>
-</html>
+</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_appControl_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_appControl_attribute
-//==== LABEL Check if attribute appControl of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, newOperation = "http://tizen.org/appcontrol/operation/view",
- initialValue, newValue;
-
- initialValue = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
- "file:///home/owner/share/Images/" + iconPathToSet.replace(/^.*\//, ""),
- "image/jpg",
- null,
- [new tizen.ApplicationControlData("k1", ["v1"])]
- );
- newValue = new tizen.ApplicationControl(newOperation,
- "file:///home/owner/share/Images/" + thumbnailToSet.replace(/^.*\//, ""),
- "image/jpeg",
- "category",
- [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
- );
-
- delete notificationDict.appId;
- notificationDict.appControl = initialValue;
- statusNotification = new tizen.StatusNotification("PROGRESS", titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "appControl", "StatusNotification doesn't own appControl property.");
-
- assert_equals(statusNotification.appControl.uri, initialValue.uri, "appControl.uri attribute.");
- assert_equals(statusNotification.appControl.mime, initialValue.mime, "appControl.mime attribute.");
- assert_equals(statusNotification.appControl.category, initialValue.category,
- "appControl.category attribute.");
- assert_equals(statusNotification.appControl.operation, initialValue.operation,
- "appControl.operation attribute.");
- assert_equals(statusNotification.appControl.data.length, initialValue.data.length, "appControl.data.length");
- assert_equals(statusNotification.appControl.data[0].key, initialValue.data[0].key, "appControl.data[0].length");
- assert_array_equals(statusNotification.appControl.data[0].value, initialValue.data[0].value, "appControl.data[0].value");
-
- statusNotification.appControl = newValue;
- assert_equals(statusNotification.appControl.uri, newValue.uri, "appControl.uri attribute cannot be assigned.");
- assert_equals(statusNotification.appControl.mime, newValue.mime, "appControl.mime attribute cannot be assigned.");
- assert_equals(statusNotification.appControl.category, newValue.category,
- "appControl.category attribute cannot be assigned.");
- assert_equals(statusNotification.appControl.operation, newValue.operation,
- "appControl.operation attribute cannot be assigned.");
- assert_equals(statusNotification.appControl.data.length, newValue.data.length, "newValue.data.length");
- assert_equals(statusNotification.appControl.data[0].key, newValue.data[0].key, "newValue.data[0].length");
- assert_array_equals(statusNotification.appControl.data[0].value, newValue.data[0].value, "newValue.data[0].value");
-
- statusNotification.appControl = null;
- assert_equals(statusNotification.appControl, null, "appControl attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_appid_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_appid_attribute
-//==== LABEL Check if attribute appid of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "SIMPLE", newValue = "newValue";
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "appId", "StatusNotification doesn't own appId property.");
- assert_equals(statusNotification.appId, appIdToSet, "appId attribute not set.");
- statusNotification.appId = newValue;
- assert_equals(statusNotification.appId, newValue, "appId attribute cannot be assigned.");
-
- statusNotification.appId = null;
- assert_equals(statusNotification.appId, null, "appId attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_backgroundImagePath_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_backgroundImagePath_attribute
-//==== LABEL Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "THUMBNAIL", invalidBackgroundImagePath = "dummyValue";
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "backgroundImagePath", "StatusNotification doesn't own backgroundImagePath property.");
- assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute not set.");
- statusNotification.backgroundImagePath = backgroundImagePathToSet2;
- assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet2, "backgroundImagePath attribute cannot be assigned.");
-
- statusNotification.backgroundImagePath = invalidBackgroundImagePath;
- assert_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
- "backgroundImagePath attribute - invalid path.");
-
- statusNotification.backgroundImagePath = null;
- assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_ONGOING_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_ONGOING_BYTE
-//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("ONGOING", "BYTE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_ONGOING_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_ONGOING_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for statusType=ONGOING and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_PROGRESS_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_PROGRESS_BYTE
-//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("PROGRESS", "BYTE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_PROGRESS_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_PROGRESS_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_SIMPLE_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_SIMPLE_BYTE
-//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("SIMPLE", "BYTE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_SIMPLE_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_SIMPLE_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_THUMBNAIL_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_THUMBNAIL_BYTE
-//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("THUMBNAIL", "BYTE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_THUMBNAIL_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_THUMBNAIL_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_invalid_backgroundImagePath</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_invalid_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
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, invalidBackgroundImagePath = "dummyValue";
-
- notificationDict = {
- backgroundImagePath: invalidBackgroundImagePath
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
- assert_array_equals(statusNotification.backgroundImagePath, invalidBackgroundImagePath,
- "StatusNotification.backgroundImagePath has wrong value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_invalid_iconPath</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_invalid_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
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, invalidIconPath = "dummyValue";
-
- notificationDict = {
- iconPath: invalidIconPath
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
- assert_array_equals(statusNotification.iconPath, invalidIconPath,
- "StatusNotification.iconPath has wrong value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_invalid_soundPath</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_invalid_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_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, invalidSoundPath = "dummyValue";
-
- notificationDict = {
- soundPath: invalidSoundPath
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
- assert_array_equals(statusNotification.soundPath, invalidSoundPath,
- "StatusNotification.soundPath has wrong value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_invalid_subIconPath</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_invalid_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
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, invalidSubIconPath = "dummyValue";
-
- notificationDict = {
- subIconPath: invalidSubIconPath
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
- assert_array_equals(statusNotification.subIconPath, invalidSubIconPath,
- "StatusNotification.subIconPath has wrong value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_invalid_thumbnails</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_invalid_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
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "PROGRESS", titleToSet = "Title",
- invalidThumbnails = [thumbnailToSet, thumbnailToSet2, "dummyValue" ], statusNotification;
-
- notificationDict = {
- thumbnails: invalidThumbnails
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
- assert_array_equals(statusNotification.thumbnails, invalidThumbnails,
- "StatusNotification.thumbnails has wrong value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_minargs</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_minargs
-//==== LABEL Check if StatusNotification's constructor works with minimal arguments
-//==== 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_CRITERIA CONSTRM
-
-test(function () {
- var statusNotificationType = "ONGOING",
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
- assert_equals(statusNotification.title, titleToSet, "title attribute.");
- assert_equals(statusNotification.content, null, "content attribute.");
- assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
- assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
- assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
- assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
- assert_own_property(statusNotification, "ledColor", "statusNotification");
- assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
- assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
- assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
- assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
- assert_equals(statusNotification.vibration, false, "vibration attribute.");
- assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
- assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
- assert_equals(statusNotification.appControl, null, "appControl attribute.");
- assert_equals(statusNotification.appId, null, "appId attribute.");
- assert_equals(statusNotification.number, null, "number attribute.");
- check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
- check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
- assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
- assert_own_property(statusNotification, "ledColor", "statusNotification");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_notificationInitDict_partial</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_notificationInitDict_partial
-//==== LABEL Check if StatusNotification's constructor works with partial attributes in notificationInitDict
-//==== 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_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotification, titleToSet = "Title",
- contentToSet = "This is a simple notificaiton.", iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
- soundPathToSet = "music/webapi-tizen-notification-test_noise1.mp3", statusNotificationType = "SIMPLE";
-
- notificationDict = {
- content: contentToSet,
- iconPath: iconPathToSet,
- soundPath: soundPathToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
- check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
- assert_equals(statusNotification.title, titleToSet, "title attribute.");
- assert_equals(statusNotification.content, contentToSet, "content attribute.");
- assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
- assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
- assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
- assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
- assert_own_property(statusNotification, "ledColor", "statusNotification");
- assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
- assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
- assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
- assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
- assert_equals(statusNotification.vibration, false, "vibration attribute.");
- assert_equals(statusNotification.number, null, "number attribute.");
- assert_equals(statusNotification.appControl, null, "appControl attribute.");
- assert_equals(statusNotification.appId, null, "appId attribute.");
- assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
- assert_equals(statusNotification.progressValue, null, "progressValue attribute.");
- check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
- assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_notificationInitDict_partial_extra</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_notificationInitDict_partial_extra
-//==== LABEL Check if StatusNotification's constructor works with additional attributes in notificationInitDict
-//==== 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_CRITERIA CONSTRM
-
-test(function () {
- var notificationDict, statusNotificationType = "ONGOING", statusNotification,
- titleToSet = "Title", vibrationToSet = false, appIdToSet = tizen.application.getAppInfo().id,
- progressValueToSet = 80;
-
- notificationDict = {
- vibration: vibrationToSet,
- appId: appIdToSet,
- progressValue: progressValueToSet,
- newDummyString: "dummyString",
- newDummyFunction: function () {},
- newDummyObject: {attr: 1}
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
- check_readonly(statusNotification, "postedTime", undefined, "undefined", new Date());
- assert_equals(statusNotification.title, titleToSet, "title attribute.");
- assert_equals(statusNotification.content, null, "content attribute.");
- assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
- assert_equals(statusNotification.iconPath, null, "iconPath attribute.");
- assert_equals(statusNotification.subIconPath, null, "subIconPath attribute.");
- assert_array_equals(statusNotification.detailInfo, [], "detailInfo attribute.");
- assert_own_property(statusNotification, "ledColor", "statusNotification");
- assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
- assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
- assert_equals(statusNotification.backgroundImagePath, null, "backgroundImagePath attribute.");
- assert_equals(statusNotification.soundPath, null, "soundPath attribute.");
- assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
- assert_equals(statusNotification.number, null, "number attribute.");
- assert_equals(statusNotification.appControl, null, "appControl attribute.");
- assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
- assert_equals(statusNotification.progressType, "PERCENTAGE", "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
- check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
- assert_array_equals(statusNotification.thumbnails, [], " thumbnails attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_number_max</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_number_max
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, notificationDict, numberToSet = 2147483647;
-
- notificationDict = {
- number: numberToSet
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_number_min</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_number_min
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM
-
-test(function () {
- var statusNotificationType = "PROGRESS", titleToSet = "Title",
- statusNotification, notificationDict, numberToSet = -2147483648;
-
- notificationDict = {
- number: numberToSet
- };
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.number, numberToSet, "number attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_progessValue_-1_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_progessValue_-1_BYTE
-//==== LABEL Check if StatusNotification's constructor works for progressValue=-1 and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
-
- notificationDict = {
- progressType: progressTypeToSet,
- progressValue: progressValueToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_progessValue_0_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_progessValue_0_BYTE
-//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
-
- notificationDict = {
- progressType: progressTypeToSet,
- progressValue: progressValueToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_progessValue_0_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_progessValue_0_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for progressValue=0 and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
-
- notificationDict = {
- progressType: progressTypeToSet,
- progressValue: progressValueToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_progessValue_100_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_progessValue_100_PERCENTAGE
-//==== LABEL Check if StatusNotification's constructor works for progressValue=100 and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
-
- notificationDict = {
- progressType: progressTypeToSet,
- progressValue: progressValueToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_constructor_progessValue_max_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_constructor_progessValue_max_BYTE
-//==== LABEL Check if StatusNotification's constructor works for progressValue=max and progressType=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
-//==== PRIORITY P1
-//==== TEST_CRITERIA CONSTRM CONSTRA
-
-test(function () {
- var notificationDict, statusNotification, statusNotificationType = "PROGRESS",
- titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
-
- notificationDict = {
- progressType: progressTypeToSet,
- progressValue: progressValueToSet
- };
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_true(statusNotification instanceof tizen.StatusNotification, "StatusNotification instanceOf.");
-
- assert_equals(statusNotification.progressType, progressTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_detailInfo_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_detailInfo_attribute
-//==== LABEL Check if attribute detailInfo of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== 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")
- ];
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "detailInfo", "StatusNotification doesn't own detailInfo property.");
-
- assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
- assert_type(statusNotification.detailInfo, "array", "statusNotification.detailInfo should by array");
- assert_true(statusNotification.detailInfo[0] instanceof tizen.NotificationDetailInfo, "NotificationDetailInfo instanceOf.");
- for (i = 0; i < detailInfoToSet.length; i++) {
- assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText,
- "detailInfo.mainText attribute for index = " + i + ".");
- assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText,
- "detailInfo.subText attribute for index = " + i + ".");
- }
-
- statusNotification.detailInfo = newValue;
- assert_equals(statusNotification.detailInfo.length, newValue.length,
- "detailInfo attribute length after assignment is incorrect.");
- for (i = 0; i < newValue.length; i++) {
- assert_equals(statusNotification.detailInfo[i].mainText, newValue[i].mainText,
- "detailInfo.mainText attribute for index = " + i + " not assigned.");
- assert_equals(statusNotification.detailInfo[i].subText, newValue[i].subText,
- "detailInfo.subText attribute for index = " + i + " not assigned.");
- }
-
- statusNotification.detailInfo = null;
- assert_equals(statusNotification.detailInfo, null, "detailInfo attribute cannot be assigned with null.");
-
- 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");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-<head>
-<title>StatusNotification_exist</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: StatusNotification_exist
-//==== 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_CRITERIA CONSTRF
-
-test(function () {
- check_constructor("StatusNotification");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_extend</title>
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_extend
-//==== 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_CRITERIA OBX
-
-test(function () {
- check_extensibility(new tizen.StatusNotification("SIMPLE", "Title"));
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_iconPath_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_iconPath_attribute
-//==== LABEL Check if attribute iconPath of StatusNotification exists, has appropriate type
-//==== 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
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
-
- notificationDict.progressType = "PERCENTAGE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "iconPath", "StatusNotification doesn't own iconPath property.");
- assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute not set.");
- statusNotification.iconPath = iconPathToSet2;
- assert_equals(statusNotification.iconPath, iconPathToSet2, "iconPath attribute cannot be assigned.");
-
- statusNotification.iconPath = invalidPath;
- assert_equals(statusNotification.iconPath, invalidPath, "iconPath attribute - invalid path.");
-
- statusNotification.iconPath = null;
- assert_equals(statusNotification.iconPath, null, "iconPath attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_ledColor_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_ledColor_attribute
-//==== LABEL Check if attribute ledColor of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, newValue = "#00ff00", statusNotificationType = "SIMPLE";
-
- notificationDict.ledColor = "#ff0000";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "ledColor", "StatusNotification doesn't own ledColor property.");
- assert_type(statusNotification.ledColor, "string", "statusNotificationType.ledColor type should be string");
- assert_equals(statusNotification.ledColor, notificationDict.ledColor.toLowerCase(), "statusNotification.ledColor");
-
- statusNotification.ledColor = null;
- assert_equals(statusNotification.ledColor, null, "statusNotification.ledColor after set null");
-
- statusNotification.ledColor = newValue;
- assert_equals(statusNotification.ledColor.toLowerCase(), newValue.toLowerCase(), "statusNotification.ledColor after set");
-
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_ledOffPeriod_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_ledOffPeriod_attribute
-//==== LABEL Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG ADV AN
-
-test(function () {
- var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "ledOffPeriod",
- "StatusNotification doesn't own ledOffPeriod property.");
- assert_type(statusNotification.ledOffPeriod, "unsigned long",
- "statusNotification.ledOffPeriod should be number");
- assert_equals(statusNotification.ledOffPeriod, 0,
- "statusNotification.ledOffPeriod default value");
-
- statusNotification.ledOffPeriod = newValue;
- assert_equals(statusNotification.ledOffPeriod, newValue,
- "statusNotification.ledOffPeriod value after set");
-
- notificationDict.ledOffPeriod = 100;
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_equals(statusNotification.ledOffPeriod, notificationDict.ledOffPeriod,
- "statusNotification.ledOffPeriod value from constructor");
- check_not_nullable(statusNotification, "ledOffPeriod");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_ledOnPeriod_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_ledOnPeriod_attribute
-//==== LABEL Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG ADV AN
-
-test(function () {
- var statusNotification, newValue = 125, statusNotificationType = "SIMPLE";
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "ledOnPeriod",
- "StatusNotification doesn't own statusType property.");
- assert_type(statusNotification.ledOnPeriod, "unsigned long",
- "statusNotification.ledOnPeriod should be number");
- assert_equals(statusNotification.ledOnPeriod, 0,
- "statusNotification.ledOnPeriod default value");
-
- statusNotification.ledOnPeriod = newValue;
- assert_equals(statusNotification.ledOnPeriod, newValue,
- "statusNotification.ledOnPeriod value after set");
-
- notificationDict.ledOnPeriod = 100;
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_equals(statusNotification.ledOnPeriod, notificationDict.ledOnPeriod,
- "statusNotification.ledOnPeriod value from constructor");
- check_not_nullable(statusNotification, "ledOnPeriod");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_number_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_number_attribute
-//==== LABEL Check if attribute number of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS";
-
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "number", "StatusNotification doesn't own number property.");
- assert_equals(statusNotification.number, numberToSet, "number attribute not set.");
- statusNotification.number = 54;
- assert_equals(statusNotification.number, 54, "number attribute cannot be assigned.");
- statusNotification.number = 0;
- assert_equals(statusNotification.number, 0, "number attribute cannot be assigned - zero value");
- statusNotification.number = -1;
- assert_equals(statusNotification.number, -1, "number attribute cannot be assigned - minus one value");
-
- statusNotification.number = -2147483648;
- assert_equals(statusNotification.number, -2147483648, "number attribute cannot be assigned -> -2147483648 value");
-
- statusNotification.number = 2147483647;
- assert_equals(statusNotification.number, 2147483647, "number attribute cannot be assigned -> 2147483647 value");
-
- statusNotification.number = null;
- assert_equals(statusNotification.number, null, "number attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_progressType_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_progressType_attribute
-//==== LABEL Check if attribute progressType of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG AN ADV
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS",
- byteValue = "BYTE", percentageValue = "PERCENTAGE", conversionTable,
- i, invalidProgressType;
-
- notificationDict.progressType = byteValue;
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
-
- assert_equals(statusNotification.progressType, byteValue, "progressValue attribute not set.");
-
- statusNotification.progressType = percentageValue;
- assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - assignment.");
-
- conversionTable = getTypeConversionExceptions("enum", true);
- for(i = 0; i < conversionTable.length; i++) {
- invalidProgressType = conversionTable[i][0];
-
- statusNotification.progressType = invalidProgressType;
- assert_equals(statusNotification.progressType, percentageValue, "progressValue attribute - invalid value assignment.");
- }
- 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>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_progressValue_attribute_BYTE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_progressValue_attribute_BYTE
-//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS";
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
- statusNotification.progressValue = 0;
- assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
- statusNotification.progressValue = 1;
- assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
- statusNotification.progressValue = 100;
- assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
- statusNotification.progressValue = 101;
- assert_equals(statusNotification.progressValue, 101, "progressValue attribute - assigned 101 value.");
- statusNotification.progressValue = 4294967295;
- assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute - assigned 4294967295 value.");
-
- statusNotification.progressValue = -1;
- assert_equals(statusNotification.progressValue, 4294967295, "progressValue attribute -> minus one changed value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_progressValue_attribute_PERCENTAGE</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_progressValue_attribute_PERCENTAGE
-//==== LABEL Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS";
- notificationDict.progressType = "PERCENTAGE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "progressValue", "StatusNotification doesn't own progressValue property.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute not set.");
- statusNotification.progressValue = 0;
- assert_equals(statusNotification.progressValue, 0, "progressValue attribute - assigned 0 value.");
- statusNotification.progressValue = 1;
- assert_equals(statusNotification.progressValue, 1, "progressValue attribute - assigned 1 value.");
- statusNotification.progressValue = 100;
- assert_equals(statusNotification.progressValue, 100, "progressValue attribute - assigned 100 value.");
-
- statusNotification.progressValue = 101;
- assert_equals(statusNotification.progressValue, 100, "progressValue attribute - 101 value.");
-
- statusNotification.progressValue = -1;
- assert_equals(statusNotification.progressValue, 100, "progressValue attribute -> -1 value.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_soundPath_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_soundPath_attribute
-//==== LABEL Check if attribute soundPath of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "ONGOING", invalidPath = "invalidPath";
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "soundPath", "StatusNotification doesn't own soundPath property.");
- assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute not set.");
- statusNotification.soundPath = soundPathToSet2;
- assert_equals(statusNotification.soundPath, soundPathToSet2, "soundPath attribute cannot be assigned.");
-
- statusNotification.soundPath = invalidPath;
- assert_equals(statusNotification.soundPath, invalidPath, "soundPath attribute - invalid path.");
-
- statusNotification.soundPath = null;
- assert_equals(statusNotification.soundPath, null, "soundPath attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_statusType_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_statusType_attribute
-//==== LABEL Check if attribute statusType of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var statusNotification, newValue = "ONGOING", statusNotificationType = "PROGRESS";
-
- notificationDict.progressType = "BYTE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "statusType", "StatusNotification doesn't own statusType property.");
- check_readonly(statusNotification, "statusType", statusNotificationType, "string", newValue);
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_subIconPath_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_subIconPath_attribute
-//==== LABEL Check if attribute subIconPath of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS", invalidPath = "invalidPath";
-
- notificationDict.progressType = "PERCENTAGE";
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "subIconPath", "StatusNotification doesn't own subIconPath property.");
- assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute not set.");
- statusNotification.subIconPath = subIconPathToSet2;
- assert_equals(statusNotification.subIconPath, subIconPathToSet2, "subIconPath attribute cannot be assigned.");
-
- statusNotification.subIconPath = invalidPath;
- assert_equals(statusNotification.subIconPath, invalidPath, "subIconPath attribute - invalid path.");
-
- statusNotification.subIconPath = null;
- assert_equals(statusNotification.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_thumbnails_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_thumbnails_attribute
-//==== LABEL Check if attribute thumbnails of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE ASG AT ADV
-
-test(function () {
- 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.");
- assert_array_equals(statusNotification.thumbnails, thumbnailsToSet,
- "thumbnails attribute.");
-
- statusNotification.thumbnails = newValue;
- assert_array_equals(statusNotification.thumbnails, newValue,
- "thumbnails attribute cannot be assigned.");
-
- statusNotification.thumbnails = newValueWithIncorrectPath;
- assert_array_equals(statusNotification.thumbnails, newValueWithIncorrectPath,
- "thumbnails attribute - invalid path cannot be assigned.");
-
- statusNotification.thumbnails = null;
- assert_equals(statusNotification.thumbnails, null, "thumbnails attribute cannot be assigned with null.");
-
- 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");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
-
--->
-<html>
-
-<head>
-<title>StatusNotification_vibration_attribute</title>
-<script src="support/unitcommon.js"></script>
-<script src="support/notification_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: StatusNotification_vibration_attribute
-//==== LABEL Check if attribute vibration of StatusNotification exists, has appropriate type
-//==== 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
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ASG AN ADV
-
-test(function () {
- var statusNotification, statusNotificationType = "PROGRESS", newValue = !vibrationToSet;
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
-
- assert_own_property(statusNotification, "vibration", "StatusNotification doesn't own vibration property.");
- assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute not set.");
- statusNotification.vibration = newValue;
- assert_equals(statusNotification.vibration, newValue, "vibration attribute cannot be assigned.");
-
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet);
- assert_equals(statusNotification.vibration, false, "vibration attribute default check.");
- check_not_nullable(statusNotification, "vibration");
-}, document.title);
-
-</script>
-</body>
-</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_actions_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_actions_attribute
+//==== LABEL Check if attribute actions of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:actions A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var userNotification, userNotificationType = "ONGOING", invalidPath = "invalidPath", newValue = !vibrationToSet, initialAppControl, newAppControl,
+ newOperation = "http://tizen.org/appcontrol/operation/view";
+
+ initialAppControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/default",
+ "file:///home/owner/share/Images/" + iconPathToSet.replace(/^.*\//, ""),
+ "image/jpg",
+ null,
+ [new tizen.ApplicationControlData("k1", ["v1"])]
+ );
+
+ newAppControl = new tizen.ApplicationControl(newOperation,
+ "file:///home/owner/share/Images/" + thumbnailToSet.replace(/^.*\//, ""),
+ "image/jpeg",
+ "category",
+ [new tizen.ApplicationControlData("new-k1", ["new-v1"])]
+ );
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "actions", "StatusNotification doesn't own soundPath property.");
+ assert_equals(userNotification.actions.soundPath, soundPathToSet, "soundPath attribute not set.");
+ userNotification.actions.soundPath = soundPathToSet2;
+ assert_equals(userNotification.actions.soundPath, soundPathToSet2, "soundPath attribute cannot be assigned.");
+
+ userNotification.actions.soundPath = invalidPath;
+ assert_equals(userNotification.actions.soundPath, invalidPath, "soundPath attribute - invalid path.");
+
+ assert_own_property(userNotification.actions, "vibration", "UserNotification doesn't own vibration property.");
+ assert_equals(userNotification.actions.vibration, vibrationToSet, "vibration attribute not set.");
+ userNotification.actions.vibration = newValue;
+ assert_equals(userNotification.actions.vibration, newValue, "vibration attribute cannot be assigned.");
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet);
+ assert_equals(userNotification.actions.vibration, false, "vibration attribute default check.");
+
+ notificationDict.actions.appControl = initialAppControl;
+ userNotification = new tizen.UserNotification("PROGRESS", titleToSet, notificationDict);
+
+ assert_own_property(userNotification.actions, "appControl", "UserNotification doesn't own appControl property.");
+
+ assert_equals(userNotification.actions.appControl.uri, initialAppControl.uri, "appControl.uri attribute.");
+ assert_equals(userNotification.actions.appControl.mime, initialAppControl.mime, "appControl.mime attribute.");
+ assert_equals(userNotification.actions.appControl.category, initialAppControl.category, "appControl.category attribute.");
+ assert_equals(userNotification.actions.appControl.operation, initialAppControl.operation, "appControl.operation attribute.");
+ assert_equals(userNotification.actions.appControl.data.length, initialAppControl.data.length, "appControl.data.length");
+ assert_equals(userNotification.actions.appControl.data[0].key, initialAppControl.data[0].key, "appControl.data[0].length");
+ assert_array_equals(userNotification.actions.appControl.data[0].value, initialAppControl.data[0].value, "appControl.data[0].value");
+
+ userNotification.actions.appControl = newAppControl;
+ assert_equals(userNotification.actions.appControl.uri, newAppControl.uri, "appControl.uri attribute cannot be assigned.");
+ assert_equals(userNotification.actions.appControl.mime, newAppControl.mime, "appControl.mime attribute cannot be assigned.");
+ assert_equals(userNotification.actions.appControl.category, newAppControl.category, "appControl.category attribute cannot be assigned.");
+ assert_equals(userNotification.actions.appControl.operation, newAppControl.operation, "appControl.operation attribute cannot be assigned.");
+ assert_equals(userNotification.actions.appControl.data.length, newAppControl.data.length, "newAppControl.data.length");
+ assert_equals(userNotification.actions.appControl.data[0].key, newAppControl.data[0].key, "newAppControl.data[0].length");
+ assert_array_equals(userNotification.actions.appControl.data[0].value, newAppControl.data[0].value, "newAppControl.data[0].value");
+
+ assert_own_property(userNotification.actions, "appId", "StatusNotification doesn't own appId property.");
+ assert_equals(userNotification.actions.appId, appIdToSet, "appId attribute not set.");
+ userNotification.actions.appId = "newValue";
+ assert_equals(userNotification.actions.appId, "newValue", "appId attribute cannot be assigned.");
+
+ userNotification.actions = null;
+ assert_equals(userNotification.actions, null, "actions attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_ONGOING_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_ONGOING_BYTE
+//==== LABEL Check if UserNotification's constructor works for statusType=ONGOING and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("ONGOING", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_ONGOING_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_ONGOING_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("ONGOING", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_PROGRESS_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_PROGRESS_BYTE
+//==== LABEL Check if UserNotification's constructor works for statusType=PROGRESS and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("PROGRESS", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_PROGRESS_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_PROGRESS_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("PROGRESS", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_SIMPLE_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_SIMPLE_BYTE
+//==== LABEL Check if UserNotification's constructor works for statusType=SIMPLE and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("SIMPLE", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_constructor_SIMPLE_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_SIMPLE_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("SIMPLE", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_THUMBNAIL_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_THUMBNAIL_BYTE
+//==== LABEL Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("THUMBNAIL", "BYTE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_constructor_THUMBNAIL_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_THUMBNAIL_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ testStatusNotificationConstructor("THUMBNAIL", "PERCENTAGE");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_progessValue_-1_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_progessValue_-1_BYTE
+//==== LABEL Check if UserNotification's constructor works for progressValue=-1 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ var notificationDict, userNotification, userNotificationType = "PROGRESS",
+ titleToSet = "Title", progressValueToSet = -1, progressTypeToSet = "BYTE";
+
+ notificationDict = {
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ progressType: progressTypeToSet
+ }
+ };
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_true(userNotification instanceof tizen.UserNotification, "UserNotification instanceOf.");
+
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, 4294967295, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_constructor_progessValue_0_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_progessValue_0_BYTE
+//==== LABEL Check if UserNotification's constructor works for progressValue=0 and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ var notificationDict, userNotification, userNotificationType = "PROGRESS",
+ titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "BYTE";
+
+ notificationDict = {
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ progressType: progressTypeToSet
+ }
+ };
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_true(userNotification instanceof tizen.UserNotification, "StatusNotification instanceOf.");
+
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_progessValue_0_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_progessValue_0_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for progressValue=0 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ var notificationDict, userNotification, userNotificationType = "PROGRESS",
+ titleToSet = "Title", progressValueToSet = 0, progressTypeToSet = "PERCENTAGE";
+
+ notificationDict = {
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ progressType: progressTypeToSet
+ }
+ };
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_true(userNotification instanceof tizen.UserNotification, "StatusNotification instanceOf.");
+
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_constructor_progessValue_100_PERCENTAGE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_progessValue_100_PERCENTAGE
+//==== LABEL Check if UserNotification's constructor works for progressValue=100 and progressType=PERCENTAGE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ var notificationDict, userNotification, userNotificationType = "PROGRESS",
+ titleToSet = "Title", progressValueToSet = 100, progressTypeToSet = "PERCENTAGE";
+
+ notificationDict = {
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ progressType: progressTypeToSet
+ }
+ };
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_true(userNotification instanceof tizen.UserNotification, "StatusNotification instanceOf.");
+
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_constructor_progessValue_max_BYTE</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_constructor_progessValue_max_BYTE
+//==== LABEL Check if UserNotification's constructor works for progressValue=max and progressType=BYTE
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRM CONSTRA
+
+test(function () {
+ var notificationDict, userNotification, userNotificationType = "PROGRESS",
+ titleToSet = "Title", progressValueToSet = 4294967295, progressTypeToSet = "BYTE";
+
+ notificationDict = {
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ progressType: progressTypeToSet
+ }
+ };
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_true(userNotification instanceof tizen.UserNotification, "UserNotification instanceOf.");
+
+ assert_equals(userNotification.textContents.progressType, progressTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue attribute.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_exist</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: UserNotification_exist
+//==== LABEL Check if UserNotification exists
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA CONSTRF
+
+test(function () {
+ check_constructor("UserNotification");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_extend</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_extend
+//==== LABEL Check if UserNotification is extendable
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:UserNotification U
+//==== SPEC_URL TBD
+//==== PRIORITY P3
+//==== TEST_CRITERIA OBX
+
+test(function () {
+ check_extensibility(new tizen.UserNotification("SIMPLE", "Title"));
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_groupContents_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_groupContents_attribute
+//==== LABEL Check if attribute groupContents of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:groupContents A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var userNotification, userNotificationType = "PROGRESS";
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "groupContents", "UserNotification doesn't own groupContents property.");
+ assert_type(userNotification.groupContents, "object", "userNotification.groupContents should be object");
+ assert_equals(userNotification.groupContents.groupTitle, "A group title", "groupTitle attribute not set.");
+ assert_equals(userNotification.groupContents.groupContent, "Some group content", "groupTitle attribute not set.");
+
+ userNotification.groupContents = null;
+ assert_equals(userNotification.groupContents, null, "groupContents attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_images_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_images_attribute
+//==== LABEL Check if attribute images of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:images A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var userNotification, userNotificationType = "PROGRESS", invalidPath = "invalidPath";
+
+ notificationDict.textContents.progressType = "PERCENTAGE";
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "images", "StatusNotification doesn't own iconPath property.");
+ assert_equals(userNotification.images.iconPath, iconPathToSet, "iconPath attribute not set.");
+ userNotification.images.iconPath = iconPathToSet2;
+ assert_equals(userNotification.images.iconPath, iconPathToSet2, "iconPath attribute cannot be assigned.");
+
+ userNotification.images.iconPath = invalidPath;
+ assert_equals(userNotification.images.iconPath, invalidPath, "iconPath attribute - invalid path.");
+
+ assert_own_property(userNotification.images, "subIconPath", "StatusNotification doesn't own subIconPath property.");
+ assert_equals(userNotification.images.subIconPath, subIconPathToSet, "subIconPath attribute not set.");
+ userNotification.images.subIconPath = subIconPathToSet2;
+ assert_equals(userNotification.images.subIconPath, subIconPathToSet2, "subIconPath attribute cannot be assigned.");
+
+ userNotification.images.subIconPath = invalidPath;
+ assert_equals(userNotification.images.subIconPath, invalidPath, "subIconPath attribute - invalid path.");
+
+ userNotification.images.subIconPath = null;
+ assert_equals(userNotification.images.subIconPath, null, "subIconPath attribute cannot be assigned with null.");
+
+ userNotification.images = null;
+ assert_equals(userNotification.images, null, "images attribute cannot be assigned with null.");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_leds_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_leds_attribute
+//==== LABEL Check if attribute leds of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:leds A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var userNotification, newValue = "#00ff00", userNotificationType = "SIMPLE";
+
+ notificationDict.leds.ledColor = "#ff0000";
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "leds", "UserNotification doesn't own leds property.");
+ assert_type(userNotification.leds, "object", "UserNotification.leds type should be object");
+ assert_equals(userNotification.leds.ledColor, notificationDict.leds.ledColor.toLowerCase(), "userNotification.ledColor");
+
+ userNotification.leds.ledColor = newValue;
+ assert_equals(userNotification.leds.ledColor.toLowerCase(), newValue.toLowerCase(), "userNotification.ledColor after set");
+
+ assert_own_property(userNotification.leds, "ledOffPeriod", "userNotification doesn't own ledOffPeriod property.");
+ assert_type(userNotification.leds.ledOffPeriod, "unsigned long", "userNotification.leds.ledOffPeriod should be number");
+
+
+ userNotification.leds.ledOffPeriod = 125;
+ assert_equals(userNotification.leds.ledOffPeriod, newValue, "userNotification.leds.ledOffPeriod value after set");
+
+ notificationDict.ledOffPeriod = 100;
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+ assert_equals(userNotification.leds.ledOffPeriod, notificationDict.ledOffPeriod, "userNotification.leds.ledOffPeriod value from constructor");
+
+ assert_own_property(userNotification, "ledOnPeriod", "StatusNotification doesn't own statusType property.");
+ assert_type(userNotification.leds.ledOnPeriod, "unsigned long", "userNotification.leds.ledOnPeriod should be number");
+ assert_equals(userNotification.leds.ledOnPeriod, 0, "userNotification.leds.ledOnPeriod default value");
+
+ userNotification.leds.ledOnPeriod = 125;
+ assert_equals(userNotification.leds.ledOnPeriod, newValue, "userNotification.leds.ledOnPeriod value after set");
+
+ notificationDict.actions.ledOnPeriod = 100;
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+ assert_equals(userNotification.leds.ledOnPeriod, notificationDict.actions.ledOnPeriod, "userNotification.leds.ledOnPeriod value from constructor");
+
+ userNotification.leds = null;
+ assert_equals(userNotification.leds, null, "userNotification.leds after set null");
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet);
+ assert_equals(userNotification.leds.ledOffPeriod, 0, "userNotification.leds.ledOnPeriod default value");
+ assert_equals(userNotification.leds.ledOffPeriod, 0, "userNotification.leds.ledOffPeriod default value");
+
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+
+<head>
+<title>UserNotification_textContents_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_textContents_attribute
+//==== LABEL Check if attribute textContents of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:textContents A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ASG
+
+test(function () {
+ var userNotification, userNotificationType = "PROGRESS", byteValue = "BYTE", percentageValue = "PERCENTAGE", i, invalidProgressType, newValue;
+
+ newValue = [
+ new tizen.NotificationDetailInfo("newMainText11", "newSubText11"),
+ new tizen.NotificationDetailInfo("newMainText22", "newSubText22")
+ ];
+
+ notificationDict.textContents.progressType = byteValue;
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "textContents", "UserNotification doesn't own textContents property.");
+
+ assert_equals(userNotification.textContents.progressType, byteValue, "progressType attribute not set.");
+
+ userNotification.textContents.progressType = percentageValue;
+ assert_equals(userNotification.textContents.progressType, percentageValue, "progressType attribute - assignment.");
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet);
+ assert_equals(userNotification.textContents.progressType, "PERCENTAGE", "progressType attribute default not set.");
+ check_not_nullable(userNotification.textContents, "progressType");
+
+ assert_own_property(userNotification.textContents, "progressValue", "UserNotification doesn't own progressValue property.");
+ userNotification.textContents.progressValue = 0;
+ assert_equals(userNotification.textContents.progressValue, 0, "progressValue attribute - assigned 0 value.");
+ userNotification.textContents.progressValue = 1;
+ assert_equals(userNotification.textContents.progressValue, 1, "progressValue attribute - assigned 1 value.");
+ userNotification.textContents.progressValue = 100;
+ assert_equals(userNotification.textContents.progressValue, 100, "progressValue attribute - assigned 100 value.");
+ userNotification.textContents.progressValue = 101;
+ assert_equals(userNotification.textContents.progressValue, 100, "progressValue attribute - assigned 101 value.");
+ userNotification.textContents.progressValue = -1;
+ assert_equals(userNotification.textContents.progressValue, 100, "progressValue attribute -> minus one changed value.");
+
+ assert_own_property(userNotification.textContents, "detailInfo", "StatusNotification doesn't own detailInfo property.");
+ assert_equals(userNotification.textContents.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+ assert_type(userNotification.textContents.detailInfo, "array", "userNotification.textContents.detailInfo should by array");
+ assert_true(userNotification.textContents.detailInfo[0] instanceof tizen.NotificationDetailInfo, "NotificationDetailInfo instanceOf.");
+ for (i = 0; i < detailInfoToSet.length; i++) {
+ assert_equals(userNotification.textContents.detailInfo[i].mainText, detailInfoToSet[i].mainText,
+ "detailInfo.mainText attribute for index = " + i + ".");
+ assert_equals(userNotification.textContents.detailInfo[i].subText, detailInfoToSet[i].subText,
+ "detailInfo.subText attribute for index = " + i + ".");
+ }
+
+ userNotification.textContents.detailInfo = newValue;
+ assert_equals(userNotification.textContents.detailInfo.length, newValue.length,
+ "detailInfo attribute length after assignment is incorrect.");
+ for (i = 0; i < newValue.length; i++) {
+ assert_equals(userNotification.textContents.detailInfo[i].mainText, newValue[i].mainText,
+ "detailInfo.mainText attribute for index = " + i + " not assigned.");
+ assert_equals(userNotification.textContents.detailInfo[i].subText, newValue[i].subText,
+ "detailInfo.subText attribute for index = " + i + " not assigned.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_thumbnails_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_thumbnails_attribute
+//==== LABEL Check if attribute thumbnails of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:thumbnails A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE ASG AT ADV
+
+test(function () {
+ var userNotification, userNotificationType = "THUMBNAIL", userNotificationDefault,
+ newValue = [thumbnailToSet5, thumbnailToSet6, thumbnailToSet7, thumbnailToSet8],
+ newValueWithIncorrectPath = ["images/webapi-tizen-notification-test_thumbnail9.jpg", "invalidPath"];
+
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+ assert_type(userNotification.thumbnails, "object", "userNotification.thumbnails should be object");
+ assert_own_property(userNotification, "thumbnails", "StatusNotification doesn't own thumbnails property.");
+ assert_array_equals(userNotification.thumbnails.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+
+ userNotification.thumbnails.thumbnails = newValue;
+ assert_array_equals(userNotification.thumbnails.thumbnails, newValue, "thumbnails attribute cannot be assigned.");
+
+ userNotification.thumbnails.thumbnails = newValueWithIncorrectPath;
+ assert_array_equals(userNotification.thumbnails.thumbnails, newValueWithIncorrectPath, "thumbnails attribute - invalid path cannot be assigned.");
+
+ userNotification.thumbnails = null;
+ assert_equals(userNotification.thumbnails, null, "thumbnails attribute cannot be assigned with null.");
+
+ userNotificationDefault = new tizen.UserNotification(userNotificationType, titleToSet);
+ assert_type(userNotificationDefault.thumbnails, "object", "userNotificationDefault.detailInfo should by object");
+ assert_equals(userNotificationDefault.thumbnails.thumbnails.length, 0, "userNotificationDefault.thumbnails.thumbnails.length should by 0");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2017 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:
+ Xiaoyan Qian <xy.qian@samsung.com>
+
+-->
+<html>
+<head>
+<title>UserNotification_userType_attribute</title>
+<script src="support/unitcommon.js"></script>
+<script src="support/notification_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: UserNotification_userType_attribute
+//==== LABEL Check if attribute userType of UserNotification exists, has appropriate type
+//==== SPEC Tizen Web API:User Interface:Notification:UserNotification:userType A
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var userNotification, newValue = "ONGOING", userNotificationType = "PROGRESS";
+
+ notificationDict.textContents.progressType = "BYTE";
+ userNotification = new tizen.UserNotification(userNotificationType, titleToSet, notificationDict);
+
+ assert_own_property(userNotification, "userType", "StatusNotification doesn't own userType property.");
+ check_readonly(userNotification, "userType", userNotificationType, "string", newValue);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
document.write("<script language=\"javascript\" src=\"..\/resources\/testharness.js\"><\/script>");
document.write("<script language=\"javascript\" src=\"..\/resources\/testharnessreport.js\"><\/script>");
-var applicationControl, notificationDict, statusNotification, titleToSet = "Title",
+var applicationControl, notificationDict, userNotification, titleToSet = "Title",
contentToSet = "This is a content notificaiton.",
iconPathToSet = "images/webapi-tizen-notification-test_image1.jpg",
iconPathToSet2 = "images/webapi-tizen-notification-test_image2.jpg",
notificationDict = {
content : contentToSet,
- iconPath : iconPathToSet,
- soundPath : soundPathToSet,
- vibration : vibrationToSet,
- appControl : applicationControl,
- appId : appIdToSet,
- progressValue : progressValueToSet,
- number: numberToSet,
- subIconPath: subIconPathToSet,
- detailInfo: detailInfoToSet,
- backgroundImagePath: backgroundImagePathToSet,
- thumbnails: thumbnailsToSet
+ textContents:
+ {
+ progressValue : progressValueToSet,
+ detailInfo: detailInfoToSet
+ },
+ images:
+ {
+ iconPath : iconPathToSet,
+ subIconPath: subIconPathToSet,
+ backgroundImagePath: backgroundImagePathToSet
+ },
+ actions:
+ {
+ soundPath : soundPathToSet,
+ vibration : vibrationToSet,
+ appControl : applicationControl,
+ appId : appIdToSet
+ },
+ thumbnails:
+ {
+ thumbnails: thumbnailsToSet
+ },
+ groupContents:
+ {
+ groupTitle: "A group title",
+ groupContent: "Some group content"
+ },
+ leds:
+ {
+ ledColor: "#FFFF00",
+ ledOnPeriod: 1000,
+ ledOffPeriod: 500
+ }
};
var notificationDict = {
content : "This is a progress notificaiton.",
- iconPath : "images/webapi-tizen-notification-test_image1.jpg",
- soundPath : "music/webapi-tizen-notification-test_noise1.mp3",
- vibration : true,
- appControl : appControl,
- progressValue : 20
+ textContents:
+ {
+ progressValue : 20,
+ detailInfo: detailInfoToSet
+ },
+ images:
+ {
+ iconPath : "images/webapi-tizen-notification-test_image1.jpg"
+ },
+ actions:
+ {
+ soundPath : "music/webapi-tizen-notification-test_noise1.mp3",
+ vibration : true,
+ appControl : appControl,
+ appId : appIdToSet
+ }
};
- return new tizen.StatusNotification("PROGRESS", "Progress notification",
+ return new tizen.UserNotification("PROGRESS", "Progress notification",
notificationDict);
}
function testStatusNotificationConstructor(statusNotificationType, progessTypeToSet) {
var i;
- notificationDict["progressType"] = progessTypeToSet;
- statusNotification = new tizen.StatusNotification(statusNotificationType, titleToSet, notificationDict);
+ notificationDict.textContents.progressType = progessTypeToSet;
+ userNotification = new tizen.UserNotification(statusNotificationType, titleToSet, notificationDict);
- assert_true(statusNotification instanceof tizen.StatusNotification, "Created object is not of proper interface.");
+ assert_true(userNotification instanceof tizen.UserNotification, "Created object is not of proper interface.");
- check_readonly(statusNotification, "postedTime", undefined, 'undefined', new Date());
- assert_equals(statusNotification.title, titleToSet, "title attribute.");
- assert_equals(statusNotification.content, contentToSet, "content attribute.");
- assert_equals(statusNotification.statusType, statusNotificationType, "statusType attribute.");
- assert_equals(statusNotification.iconPath, iconPathToSet, "iconPath attribute.");
- assert_equals(statusNotification.subIconPath, subIconPathToSet, "subIconPath attribute.");
+ check_readonly(userNotification, "postedTime", undefined, 'undefined', new Date());
+ assert_equals(userNotification.title, titleToSet, "title attribute.");
+ assert_equals(userNotification.content, contentToSet, "content attribute.");
+ assert_equals(userNotification.userType, statusNotificationType, "statusType attribute.");
+ assert_equals(userNotification.images.iconPath, iconPathToSet, "iconPath attribute.");
+ assert_equals(userNotification.images.subIconPath, subIconPathToSet, "subIconPath attribute.");
- assert_equals(statusNotification.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
+ assert_equals(userNotification.textContents.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length.");
for (i = 0; i < detailInfoToSet.length; i++) {
- assert_equals(statusNotification.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + ".");
- assert_equals(statusNotification.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + ".");
+ assert_equals(userNotification.textContents.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + ".");
+ assert_equals(userNotification.textContents.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + ".");
}
- assert_own_property(statusNotification, "ledColor", "statusNotification");
- assert_equals(statusNotification.ledOnPeriod, 0, "statusNotification.ledOnPeriod");
- assert_equals(statusNotification.ledOffPeriod, 0, "statusNotification.ledOffPeriod");
-
- assert_equals(statusNotification.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute.");
- assert_equals(statusNotification.soundPath, soundPathToSet, "soundPath attribute.");
- assert_equals(statusNotification.vibration, vibrationToSet, "vibration attribute.");
- assert_equals(statusNotification.number, numberToSet, "number attribute.");
-
- assert_equals(statusNotification.appControl.uri, applicationControl.uri, "appControl.uri attribute.");
- assert_equals(statusNotification.appControl.mime, applicationControl.mime, "appControl.mime attribute.");
- assert_equals(statusNotification.appControl.category, applicationControl.category,
+ assert_own_property(userNotification.leds, "ledColor", "userNotification");
+
+ assert_equals(userNotification.images.backgroundImagePath, backgroundImagePathToSet, "backgroundImagePath attribute.");
+ assert_equals(userNotification.actions.soundPath, soundPathToSet, "soundPath attribute.");
+ assert_equals(userNotification.actions.vibration, vibrationToSet, "vibration attribute.");
+
+ assert_equals(userNotification.actions.appControl.uri, applicationControl.uri, "appControl.uri attribute.");
+ assert_equals(userNotification.actions.appControl.mime, applicationControl.mime, "appControl.mime attribute.");
+ assert_equals(userNotification.actions.appControl.category, applicationControl.category,
"appControl.category attribute.");
- assert_array_equals(statusNotification.appControl.data, applicationControl.data,
+ assert_array_equals(userNotification.actions.appControl.data, applicationControl.data,
"appControl.data attribute.");
- assert_equals(statusNotification.appControl.operation, applicationControl.operation,
+ assert_equals(userNotification.actions.appControl.operation, applicationControl.operation,
"appControl.operation attribute.");
- check_readonly(statusNotification, "type", "STATUS", "string", "dummyType");
- assert_equals(statusNotification.appId, appIdToSet, "appId attribute.");
- assert_equals(statusNotification.progressType, progessTypeToSet, "progressType attribute.");
- assert_equals(statusNotification.progressValue, progressValueToSet, "progressValue attribute.");
- check_readonly(statusNotification, "id", undefined, "undefined", "dummyId");
- assert_array_equals(statusNotification.thumbnails, thumbnailsToSet, "thumbnails attribute.");
+ check_readonly(userNotification, "type", "STATUS", "string", "dummyType");
+ assert_equals(userNotification.actions.appId, appIdToSet, "appId attribute.");
+ assert_equals(userNotification.textContents.progressType, progessTypeToSet, "progressType attribute.");
+ assert_equals(userNotification.textContents.progressValue, progressValueToSet, "progressValue attribute.");
+ check_readonly(userNotification, "id", undefined, "undefined", "dummyId");
+ assert_array_equals(userNotification.thumbnails.thumbnails, thumbnailsToSet, "thumbnails attribute.");
}
<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite name="tct-notification-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
<set name="Notification_mobile" type="js">
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationDetailInfo_exist">
+ <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="Tizen Device APIs/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 NotificationManager createNotificationFromTemplate method works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Check if NotificationManager is extendable" type="compliance" status="approved" component="Tizen Device APIs/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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get">
+ <testcase purpose="Check if NotificationManager.getAllNotifications method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager.getAll method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll">
+ <testcase purpose="Check if method getAllNotifications which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getAllNotifications_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_exist">
+ <testcase purpose="Check if method getAllNotifications of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_extra_argument">
+ <testcase purpose="Check if the parameter NotificationManager which in getNotification method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getNotification">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_get_exist">
+ <testcase purpose="Check if method getNotification which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager get method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_id_invalid">
+ <testcase purpose="Check if NotificationManager getNotification method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_id_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_id_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_id_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager get method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_misarg">
+ <testcase purpose="Check if NotificationManager getNotification method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.post" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
+ <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.post" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
<testcase purpose="Check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="Tizen Device APIs/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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if update method is not accepting invocation without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
+ <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if update throws exception when argument is incorrect" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
+ <testcase purpose="Check if update method is not accepting invocation without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
+ <testcase purpose="Check if update throws exception when argument is incorrect" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute appControl of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
+ <testcase purpose="Check if attribute actions of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_actions_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_actions_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appControl" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="actions" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute appid of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appId" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="backgroundImagePath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_-1_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_100_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_max_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
+ <testcase purpose="Check if UserNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
+ <testcase purpose="Check if UserNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="UserNotification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with minimal arguments" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+ <testcase purpose="Check if attribute groupContents of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_groupContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_groupContents_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="groupContents" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+ <testcase purpose="Check if attribute images of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_images_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_images_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="images" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+ <testcase purpose="Check if attribute leds of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_leds_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_leds_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="leds" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+ <testcase purpose="Check if attribute textContents of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_textContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_textContents_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="textContents" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+ <testcase purpose="Check if attribute thumbnails of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_thumbnails_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_thumbnails_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+ <testcase purpose="Check if attribute userType of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_userType_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_userType_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="userType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+ </set>
+ <set name="LED_mobile" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/led"/>
+ </capabilities>
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="manual" priority="P1" id="NotificationManager_playLEDCustomEffect">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+ <steps>
+ <step order="1">
+ <step_desc>Press run.</step_desc>
+ <expected>LED turned on for 2 seconds, and its color is red.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_color_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_color_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() method exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_playLEDCustomEffect_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+ <testcase purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="detailInfo" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() method exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_stopLEDCustomEffect_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="iconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+ <testcase purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledColor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+ </set>
+ <set name="Notification_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/notification"/>
+ </capabilities>
+ <testcase purpose="Check if NotificationDetailInfo's constructor works." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOffPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+ <testcase purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor_minargs">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor_minargs.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOnPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute number of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+ <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="number" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+ <testcase purpose="Check if NotificationDetailInfo is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationDetailInfo_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+ <testcase purpose="Check for NotificationDetailInfo.mainText attribute." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_mainText_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" element_type="attribute" element_name="mainText" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+ <testcase purpose="Check for NotificationDetailInfo.subText attribute." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_subText_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_subText_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationDetailInfo" element_type="attribute" element_name="subText" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
+ <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="soundPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute statusType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
+ <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="statusType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
+ <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="subIconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
+ <testcase purpose="Check if NotificationManager is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute vibration of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
+ <testcase purpose="Check if NotificationManager.getAllNotifications method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="vibration" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <testcase purpose="Check if method getAllNotifications which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getAllNotifications_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <testcase purpose="Check if method getAllNotifications of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getAllNotifications" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <testcase purpose="Check if the parameter NotificationManager which in getNotification method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getNotification">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
+ <testcase purpose="Check if method getNotification which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
+ <testcase purpose="Check if NotificationManager getNotification method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_id_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_id_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
+ <testcase purpose="Check if NotificationManager getNotification method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="getNotification" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
+ <testcase purpose="Check if the readonly attribute notification" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_in_tizen">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_in_tizen.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
+ <testcase purpose="Check if NotificationManager does not exist" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationManager_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
+ <testcase purpose="Check if NotificationManager.post method works properly with ONGOING statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_ONGOING">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- </set>
- <set name="LED_mobile" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
- <capability name="http://tizen.org/feature/led"/>
- </capabilities>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_playLEDCustomEffect">
+ <testcase purpose="Check if NotificationManager.post method works properly with PROGRESS statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_PROGRESS">
<description>
- <steps>
- <step order="1">
- <step_desc>Press run.</step_desc>
- <expected>LED turned on for 2 seconds, and its color is red.</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_PROGRESS.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_color_invalid">
+ <testcase purpose="Check if NotificationManager.post method works properly with SIMPLE statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_SIMPLE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_color_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_SIMPLE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() method exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_playLEDCustomEffect_exist">
+ <testcase purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_THUMBNAIL">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_THUMBNAIL.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch">
+ <testcase purpose="Check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_post_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_invalid">
+ <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_misarg">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="playLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() method exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_stopLEDCustomEffect_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect_extra_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="stopLEDCustomEffect" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- <set name="Notification_wearable" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- <capability name="http://tizen.org/feature/notification"/>
- </capabilities>
- <testcase purpose="Check if NotificationDetailInfo's constructor works." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor_minargs">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor_minargs.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationDetailInfo exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationDetailInfo_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationDetailInfo is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationDetailInfo_extend">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check for NotificationDetailInfo.mainText attribute." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_mainText_attribute">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" element_type="attribute" element_name="mainText" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check for NotificationDetailInfo.subText attribute." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_subText_attribute">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_subText_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationDetailInfo" element_type="attribute" element_name="subText" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager is extendable" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the parameter NotificationManager which in get method ok" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.getAll method works" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method getAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method getAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAll_extra_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="getAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method get which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_get_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager get method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_id_invalid">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_id_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager get method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_misarg">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the readonly attribute notification" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager does not exist" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.post method works properly with ONGOING statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_ONGOING">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.post method works properly with PROGRESS statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_PROGRESS">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_PROGRESS.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.post method works properly with SIMPLE statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_SIMPLE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_SIMPLE.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_THUMBNAIL">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_THUMBNAIL.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method post which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_post_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.post" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager.removeAll works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_removeAll_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method removeAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_extra_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_remove_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager remove method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_id_invalid">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_id_invalid.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager remove method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_misarg">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_update_exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update method is not accepting invocation without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if update throws exception when argument is incorrect" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NotificationObject does not exist" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="NotificationObject" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute content of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="Notification" element_type="attribute" element_name="content" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Notification can be extended" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_extend">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="Notification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute id of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="Notification" element_type="attribute" element_name="id" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if Notification does not exist" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="Notification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute postedTime of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="Notification" element_type="attribute" element_name="postedTime" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute title of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/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>
- <specs>
- <spec>
- <spec_assertion interface="Notification" element_type="attribute" element_name="title" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute type of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/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>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="Notification" element_type="attribute" element_name="type" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute appControl of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appControl_attribute">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.post" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appControl" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute appid of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_appid_attribute">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="appId" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="post" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_backgroundImagePath_attribute">
+ <testcase purpose="Check if the parameter NotificationManager which in remove method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="backgroundImagePath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_BYTE">
+ <testcase purpose="Check if NotificationManager.removeAll works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_ONGOING_PERCENTAGE">
+ <testcase purpose="Check if method removeAll which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_removeAll_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_BYTE">
+ <testcase purpose="Check if method removeAll of NotificationManager accepts extra argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="removeAll" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_PROGRESS_PERCENTAGE">
+ <testcase purpose="Check if method remove which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_remove_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_BYTE">
+ <testcase purpose="Check if NotificationManager remove method works with invalid argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_id_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_id_invalid.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_SIMPLE_PERCENTAGE">
+ <testcase purpose="Check if NotificationManager remove method works properly without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_BYTE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect backgroundImagePath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_backgroundImagePath">
+ <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect iconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_iconPath">
+ <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect soundPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_soundPath">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect subIconPath" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_subIconPath">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts incorrect thumbnails" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_constructor_invalid_thumbnails">
+ <testcase purpose="Check if the parameter NotificationManager which in update method ok" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with minimal arguments" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_minargs">
+ <testcase purpose="Check if method update which in NotificationManager interface exists." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_update_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial">
+ <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_notificationInitDict_partial_extra">
+ <testcase purpose="Check if update method is not accepting invocation without argument" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts max number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_max">
+ <testcase purpose="Check if update throws exception when argument is incorrect" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if constructor accepts min number." type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_number_min">
+ <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationManager" element_type="method" element_name="update" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_-1_BYTE">
+ <testcase purpose="Check if NotificationObject does not exist" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NotificationObject" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_BYTE">
+ <testcase purpose="Check if attribute content of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" element_type="attribute" element_name="content" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_0_PERCENTAGE">
+ <testcase purpose="Check if Notification can be extended" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_100_PERCENTAGE">
+ <testcase purpose="Check if attribute id of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" element_type="attribute" element_name="id" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_constructor_progessValue_max_BYTE">
+ <testcase purpose="Check if Notification does not exist" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_detailInfo_attribute">
+ <testcase purpose="Check if attribute postedTime of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="detailInfo" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" element_type="attribute" element_name="postedTime" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_exist">
+ <testcase purpose="Check if attribute title of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" element_type="attribute" element_name="title" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if StatusNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="StatusNotification_extend">
+ <testcase purpose="Check if attribute type of Notification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="Notification" element_type="attribute" element_name="type" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="StatusNotification_iconPath_attribute">
+ <testcase purpose="Check if attribute actions of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_actions_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_actions_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="iconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="actions" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledColor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOffPeriod_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOffPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledOnPeriod_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="ledOnPeriod" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute number of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_number_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="number" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressType_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_BYTE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_progressValue_attribute_PERCENTAGE">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="progressValue" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_soundPath_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="soundPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute statusType of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_statusType_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=-1 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_-1_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="statusType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_subIconPath_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="subIconPath" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_thumbnails_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute vibration of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_vibration_attribute">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_100_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="StatusNotification" element_type="attribute" element_name="vibration" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=max and progressType=BYTE" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_max_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <testcase purpose="Check if UserNotification exists" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="constructor" element_name="constructor" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <testcase purpose="Check if UserNotification is extendable" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="UserNotification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="createNotificationFromTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" usage="true" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
+ <testcase purpose="Check if attribute groupContents of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_groupContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_groupContents_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="groupContents" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
+ <testcase purpose="Check if attribute images of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_images_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_images_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="images" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
+ <testcase purpose="Check if attribute leds of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_leds_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_leds_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="leds" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
+ <testcase purpose="Check if attribute textContents of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_textContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_textContents_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="textContents" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
+ <testcase purpose="Check if attribute thumbnails of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_thumbnails_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_thumbnails_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="thumbnails" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
+ <testcase purpose="Check if attribute userType of UserNotification exists, has appropriate type" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_userType_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_userType_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="saveNotificationAsTemplate" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="UserNotification" element_type="attribute" element_name="userType" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/led"/>
</capabilities>
- <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_playLEDCustomEffect">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="manual" priority="P1" id="NotificationManager_playLEDCustomEffect">
<description>
<steps>
<step order="1">
</testcase>
</set>
</suite>
-</test_definition>
\ No newline at end of file
+</test_definition>
<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
- <suite category="Tizen Web Device APIs" extension="crosswalk" name="tct-notification-tizen-tests">
- <set name="Notification_mobile" type="js">
+ <suite name="tct-notification-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
+ <set name="Notification_mobile" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
<capability name="http://tizen.org/feature/notification"/>
</capabilities>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_constructor" priority="P1" purpose="Check if NotificationDetailInfo's constructor works.">
+ <testcase purpose="Check if NotificationDetailInfo's constructor works." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_constructor_minargs" priority="P1" purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments.">
+ <testcase purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor_minargs">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor_minargs.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist" priority="P0" purpose="Check if NotificationDetailInfo exists">
+ <testcase purpose="Check if NotificationDetailInfo exists" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_extend" priority="P3" purpose="Check if NotificationDetailInfo is extendable">
+ <testcase purpose="Check if NotificationDetailInfo is extendable" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationDetailInfo_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_mainText_attribute" priority="P1" purpose="Check for NotificationDetailInfo.mainText attribute.">
+ <testcase purpose="Check for NotificationDetailInfo.mainText attribute." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_mainText_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_subText_attribute" priority="P1" purpose="Check for NotificationDetailInfo.subText attribute.">
+ <testcase purpose="Check for NotificationDetailInfo.subText attribute." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_subText_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_subText_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_extend" priority="P3" purpose="Check if NotificationManager is extendable">
+ <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if NotificationManager is extendable" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get" priority="P2" purpose="Check if the parameter NotificationManager which in get method ok">
+ <testcase purpose="Check if NotificationManager.getAllNotifications method works" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll" priority="P1" purpose="Check if NotificationManager.getAll method works">
+ <testcase purpose="Check if method getAllNotifications which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getAllNotifications_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist" priority="P1" purpose="Check if method getAll which in NotificationManager interface exists.">
+ <testcase purpose="Check if method getAllNotifications of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_extra_argument" priority="P1" purpose="Check if method getAll of NotificationManager accepts extra argument">
+ <testcase purpose="Check if the parameter NotificationManager which in getNotification method ok" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getNotification">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist" priority="P0" purpose="Check if method get which in NotificationManager interface exists.">
+ <testcase purpose="Check if method getNotification which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_id_invalid" priority="P2" purpose="Check if NotificationManager get method works with invalid argument">
+ <testcase purpose="Check if NotificationManager getNotification method works with invalid argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_id_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_id_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_id_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_misarg" priority="P2" purpose="Check if NotificationManager get method works properly without argument">
+ <testcase purpose="Check if NotificationManager getNotification method works properly without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen" priority="P3" purpose="Check if the readonly attribute notification">
+ <testcase purpose="Check if the readonly attribute notification" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist" priority="P3" purpose="Check if NotificationManager does not exist">
+ <testcase purpose="Check if NotificationManager does not exist" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_ONGOING" priority="P1" purpose="Check if NotificationManager.post method works properly with ONGOING statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with ONGOING statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_ONGOING">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_PROGRESS" priority="P1" purpose="Check if NotificationManager.post method works properly with PROGRESS statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with PROGRESS statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_PROGRESS">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_PROGRESS.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_SIMPLE" priority="P1" purpose="Check if NotificationManager.post method works properly with SIMPLE statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with SIMPLE statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_SIMPLE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_SIMPLE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_THUMBNAIL" priority="P1" purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_THUMBNAIL">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_THUMBNAIL.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist" priority="P0" purpose="Check if method post which in NotificationManager interface exists.">
+ <testcase purpose="Check if method post which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_post_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_misarg" priority="P2" purpose="Check with missing non-optional argument - NotificationManager.post">
+ <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_notification_TypeMismatch" priority="P2" purpose="Check type conversions for notification argument of NotificationManager.post method">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.post" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_invalid_obj" priority="P2" purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove" priority="P2" purpose="Check if the parameter NotificationManager which in remove method ok">
+ <testcase purpose="Check if the parameter NotificationManager which in remove method ok" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll" priority="P1" purpose="Check if NotificationManager.removeAll works properly">
+ <testcase purpose="Check if NotificationManager.removeAll works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist" priority="P0" purpose="Check if method removeAll which in NotificationManager interface exists.">
+ <testcase purpose="Check if method removeAll which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_removeAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_extra_argument" priority="P1" purpose="Check if method removeAll of NotificationManager accepts extra argument">
+ <testcase purpose="Check if method removeAll of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_extra_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist" priority="P0" purpose="Check if method remove which in NotificationManager interface exists.">
+ <testcase purpose="Check if method remove which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_remove_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_id_invalid" priority="P2" purpose="Check if NotificationManager remove method works with invalid argument">
+ <testcase purpose="Check if NotificationManager remove method works with invalid argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_id_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_id_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_misarg" priority="P2" purpose="Check if NotificationManager remove method works properly without argument">
+ <testcase purpose="Check if NotificationManager remove method works properly without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_misarg">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update" priority="P2" purpose="Check if the parameter NotificationManager which in update method ok">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist" priority="P0" purpose="Check if method update which in NotificationManager interface exists.">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_misarg" priority="P2" purpose="Check if update method is not accepting invocation without argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notification_TypeMismatch" priority="P2" purpose="Check if update throws exception when argument is incorrect">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_invalid_obj" priority="P2" purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted" priority="P2" purpose="Check whether calling update() method with notification not posted earlier throws an exception">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist" priority="P3" purpose="Check if NotificationObject does not exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_content_attribute" priority="P1" purpose="Check if attribute content of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_extend" priority="P3" purpose="Check if Notification can be extended">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_id_attribute" priority="P1" purpose="Check if attribute id of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_notexist" priority="P3" purpose="Check if Notification does not exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute" priority="P1" purpose="Check if attribute postedTime of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_title_attribute" priority="P1" purpose="Check if attribute title of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_type_attribute" priority="P1" purpose="Check if attribute type of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute" priority="P1" purpose="Check if attribute appControl of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute" priority="P1" purpose="Check if attribute appid of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute" priority="P1" purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath" priority="P2" purpose="Check if constructor accepts incorrect backgroundImagePath">
+ <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath" priority="P2" purpose="Check if constructor accepts incorrect iconPath">
+ <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath" priority="P2" purpose="Check if constructor accepts incorrect soundPath">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath" priority="P2" purpose="Check if constructor accepts incorrect subIconPath">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails" priority="P2" purpose="Check if constructor accepts incorrect thumbnails">
+ <testcase purpose="Check if the parameter NotificationManager which in update method ok" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs" priority="P1" purpose="Check if StatusNotification's constructor works with minimal arguments">
+ <testcase purpose="Check if method update which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_update_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial" priority="P1" purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict">
+ <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra" priority="P1" purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict">
+ <testcase purpose="Check if update method is not accepting invocation without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max" priority="P1" purpose="Check if constructor accepts max number.">
+ <testcase purpose="Check if update throws exception when argument is incorrect" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min" priority="P1" purpose="Check if constructor accepts min number.">
+ <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE">
+ <testcase purpose="Check if NotificationObject does not exist" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE">
+ <testcase purpose="Check if attribute content of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE">
+ <testcase purpose="Check if Notification can be extended" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE">
+ <testcase purpose="Check if attribute id of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE">
+ <testcase purpose="Check if Notification does not exist" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute" priority="P1" purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if attribute postedTime of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_exist" priority="P1" purpose="Check if StatusNotification exists">
+ <testcase purpose="Check if attribute title of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_extend" priority="P3" purpose="Check if StatusNotification is extendable">
+ <testcase purpose="Check if attribute type of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute" priority="P2" purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if attribute actions of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_actions_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_actions_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute" priority="P1" purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute" priority="P1" purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute" priority="P1" purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute" priority="P1" purpose="Check if attribute number of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute" priority="P1" purpose="Check if attribute progressType of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute" priority="P1" purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute" priority="P1" purpose="Check if attribute statusType of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=-1 and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_-1_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute" priority="P1" purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute" priority="P1" purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute" priority="P1" purpose="Check if attribute vibration of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_100_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=max and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_max_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <testcase purpose="Check if UserNotification exists" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <testcase purpose="Check if UserNotification is extendable" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="UserNotification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
+ <testcase purpose="Check if attribute groupContents of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_groupContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_groupContents_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
+ <testcase purpose="Check if attribute images of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_images_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_images_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
+ <testcase purpose="Check if attribute leds of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_leds_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_leds_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
+ <testcase purpose="Check if attribute textContents of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_textContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_textContents_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
+ <testcase purpose="Check if attribute thumbnails of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_thumbnails_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_thumbnails_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
+ <testcase purpose="Check if attribute userType of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_userType_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_userType_attribute.html</test_script_entry>
</description>
</testcase>
</set>
<capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
<capability name="http://tizen.org/feature/led"/>
</capabilities>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect" priority="P1" purpose="Check if NotificationManager::playLEDCustomEffect() works properly">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="manual" priority="P1" id="NotificationManager_playLEDCustomEffect">
<description>
<steps>
<step order="1">
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_color_invalid" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_color_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_color_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_exist" priority="P0" purpose="Check if NotificationManager::playLEDCustomEffect() method exists.">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() method exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_playLEDCustomEffect_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch" priority="P2" purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method">
+ <testcase purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_flags_invalid" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_misarg" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_misarg">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect" priority="P1" purpose="Check if NotificationManager::stopLEDCustomEffect() works properly">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect_exist" priority="P0" purpose="Check if NotificationManager::stopLEDCustomEffect() method exists.">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() method exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_stopLEDCustomEffect_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect_extra_argument" priority="P1" purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument">
+ <testcase purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect_extra_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_extra_argument.html</test_script_entry>
</description>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/notification"/>
</capabilities>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_constructor" priority="P1" purpose="Check if NotificationDetailInfo's constructor works.">
+ <testcase purpose="Check if NotificationDetailInfo's constructor works." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_constructor_minargs" priority="P1" purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments.">
+ <testcase purpose="Check if NotificationDetailInfo's constructor works with non-optional arguments." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_constructor_minargs">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_constructor_minargs.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_exist" priority="P0" purpose="Check if NotificationDetailInfo exists">
+ <testcase purpose="Check if NotificationDetailInfo exists" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_extend" priority="P3" purpose="Check if NotificationDetailInfo is extendable">
+ <testcase purpose="Check if NotificationDetailInfo is extendable" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationDetailInfo_extend">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_mainText_attribute" priority="P1" purpose="Check for NotificationDetailInfo.mainText attribute.">
+ <testcase purpose="Check for NotificationDetailInfo.mainText attribute." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_mainText_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_mainText_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationDetailInfo_subText_attribute" priority="P1" purpose="Check for NotificationDetailInfo.subText attribute.">
+ <testcase purpose="Check for NotificationDetailInfo.subText attribute." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationDetailInfo_subText_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationDetailInfo_subText_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_extend" priority="P3" purpose="Check if NotificationManager is extendable">
+ <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if NotificationManager is extendable" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get" priority="P2" purpose="Check if the parameter NotificationManager which in get method ok">
+ <testcase purpose="Check if NotificationManager.getAllNotifications method works" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll" priority="P1" purpose="Check if NotificationManager.getAll method works">
+ <testcase purpose="Check if method getAllNotifications which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getAllNotifications_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_exist" priority="P1" purpose="Check if method getAll which in NotificationManager interface exists.">
+ <testcase purpose="Check if method getAllNotifications of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getAllNotifications_extra_argument">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_getAll_extra_argument" priority="P1" purpose="Check if method getAll of NotificationManager accepts extra argument">
+ <testcase purpose="Check if the parameter NotificationManager which in getNotification method ok" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_getNotification">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAll_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_exist" priority="P0" purpose="Check if method get which in NotificationManager interface exists.">
+ <testcase purpose="Check if method getNotification which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_getNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_id_invalid" priority="P2" purpose="Check if NotificationManager get method works with invalid argument">
+ <testcase purpose="Check if NotificationManager getNotification method works with invalid argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_id_invalid">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_id_invalid.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_id_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_get_misarg" priority="P2" purpose="Check if NotificationManager get method works properly without argument">
+ <testcase purpose="Check if NotificationManager getNotification method works properly without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_getNotification_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getNotification_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_in_tizen" priority="P3" purpose="Check if the readonly attribute notification">
+ <testcase purpose="Check if the readonly attribute notification" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_notexist" priority="P3" purpose="Check if NotificationManager does not exist">
+ <testcase purpose="Check if NotificationManager does not exist" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_ONGOING" priority="P1" purpose="Check if NotificationManager.post method works properly with ONGOING statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with ONGOING statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_ONGOING">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_PROGRESS" priority="P1" purpose="Check if NotificationManager.post method works properly with PROGRESS statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with PROGRESS statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_PROGRESS">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_PROGRESS.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_SIMPLE" priority="P1" purpose="Check if NotificationManager.post method works properly with SIMPLE statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with SIMPLE statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_SIMPLE">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_SIMPLE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_THUMBNAIL" priority="P1" purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType">
+ <testcase purpose="Check if NotificationManager.post method works properly with THUMBNAIL statusType" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_post_THUMBNAIL">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_THUMBNAIL.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_exist" priority="P0" purpose="Check if method post which in NotificationManager interface exists.">
+ <testcase purpose="Check if method post which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_post_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_misarg" priority="P2" purpose="Check with missing non-optional argument - NotificationManager.post">
+ <testcase purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_notification_TypeMismatch" priority="P2" purpose="Check type conversions for notification argument of NotificationManager.post method">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.post" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_post_invalid_obj" priority="P2" purpose="Check if NotificationManager::post() method throw exception when a fake system object was passed">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.post method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_post_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_post_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove" priority="P2" purpose="Check if the parameter NotificationManager which in remove method ok">
+ <testcase purpose="Check if the parameter NotificationManager which in remove method ok" component="Tizen Device APIs/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>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll" priority="P1" purpose="Check if NotificationManager.removeAll works properly">
+ <testcase purpose="Check if NotificationManager.removeAll works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_exist" priority="P0" purpose="Check if method removeAll which in NotificationManager interface exists.">
+ <testcase purpose="Check if method removeAll which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_removeAll_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_removeAll_extra_argument" priority="P1" purpose="Check if method removeAll of NotificationManager accepts extra argument">
+ <testcase purpose="Check if method removeAll of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_removeAll_extra_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_exist" priority="P0" purpose="Check if method remove which in NotificationManager interface exists.">
+ <testcase purpose="Check if method remove which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_remove_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_id_invalid" priority="P2" purpose="Check if NotificationManager remove method works with invalid argument">
+ <testcase purpose="Check if NotificationManager remove method works with invalid argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_id_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_id_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_misarg" priority="P2" purpose="Check if NotificationManager remove method works properly without argument">
+ <testcase purpose="Check if NotificationManager remove method works properly without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_misarg">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update" priority="P2" purpose="Check if the parameter NotificationManager which in update method ok">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_exist" priority="P0" purpose="Check if method update which in NotificationManager interface exists.">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_misarg" priority="P2" purpose="Check if update method is not accepting invocation without argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notification_TypeMismatch" priority="P2" purpose="Check if update throws exception when argument is incorrect">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_invalid_obj" priority="P2" purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_update_notposted" priority="P2" purpose="Check whether calling update() method with notification not posted earlier throws an exception">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationObject_notexist" priority="P3" purpose="Check if NotificationObject does not exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_content_attribute" priority="P1" purpose="Check if attribute content of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_extend" priority="P3" purpose="Check if Notification can be extended">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_id_attribute" priority="P1" purpose="Check if attribute id of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_notexist" priority="P3" purpose="Check if Notification does not exist">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_postedTime_attribute" priority="P1" purpose="Check if attribute postedTime of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_title_attribute" priority="P1" purpose="Check if attribute title of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="Notification_type_attribute" priority="P1" purpose="Check if attribute type of Notification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appControl_attribute" priority="P1" purpose="Check if attribute appControl of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appControl_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_appid_attribute" priority="P1" purpose="Check if attribute appid of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_appid_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_backgroundImagePath_attribute" priority="P1" purpose="Check if attribute backgroundImagePath of StatusNotification exists, has appropriate type">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_backgroundImagePath_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_ONGOING_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_PROGRESS_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_SIMPLE_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_THUMBNAIL_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE">
+ <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_backgroundImagePath" priority="P2" purpose="Check if constructor accepts incorrect backgroundImagePath">
+ <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_backgroundImagePath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_iconPath" priority="P2" purpose="Check if constructor accepts incorrect iconPath">
+ <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_iconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_soundPath" priority="P2" purpose="Check if constructor accepts incorrect soundPath">
+ <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_soundPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_subIconPath" priority="P2" purpose="Check if constructor accepts incorrect subIconPath">
+ <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_subIconPath.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_invalid_thumbnails" priority="P2" purpose="Check if constructor accepts incorrect thumbnails">
+ <testcase purpose="Check if the parameter NotificationManager which in update method ok" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_invalid_thumbnails.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_minargs" priority="P1" purpose="Check if StatusNotification's constructor works with minimal arguments">
+ <testcase purpose="Check if method update which in NotificationManager interface exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_update_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_minargs.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial" priority="P1" purpose="Check if StatusNotification's constructor works with partial attributes in notificationInitDict">
+ <testcase purpose="Check if NotificationManager::update() method throw exception when a fake system object was passed" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_invalid_obj">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_invalid_obj.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_notificationInitDict_partial_extra" priority="P1" purpose="Check if StatusNotification's constructor works with additional attributes in notificationInitDict">
+ <testcase purpose="Check if update method is not accepting invocation without argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_misarg">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_notificationInitDict_partial_extra.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_max" priority="P1" purpose="Check if constructor accepts max number.">
+ <testcase purpose="Check if update throws exception when argument is incorrect" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notification_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_max.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notification_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_number_min" priority="P1" purpose="Check if constructor accepts min number.">
+ <testcase purpose="Check whether calling update() method with notification not posted earlier throws an exception" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_update_notposted">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_number_min.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update_notposted.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_-1_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=-1 and progressType=BYTE">
+ <testcase purpose="Check if NotificationObject does not exist" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="NotificationObject_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=BYTE">
+ <testcase purpose="Check if attribute content of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_content_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_content_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_0_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=0 and progressType=PERCENTAGE">
+ <testcase purpose="Check if Notification can be extended" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_extend.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_100_PERCENTAGE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=100 and progressType=PERCENTAGE">
+ <testcase purpose="Check if attribute id of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_id_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_constructor_progessValue_max_BYTE" priority="P1" purpose="Check if StatusNotification's constructor works for progressValue=max and progressType=BYTE">
+ <testcase purpose="Check if Notification does not exist" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="Notification_notexist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_detailInfo_attribute" priority="P1" purpose="Check if attribute detailInfo of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if attribute postedTime of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_postedTime_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_detailInfo_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_postedTime_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_exist" priority="P1" purpose="Check if StatusNotification exists">
+ <testcase purpose="Check if attribute title of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_title_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_title_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_extend" priority="P3" purpose="Check if StatusNotification is extendable">
+ <testcase purpose="Check if attribute type of Notification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="Notification_type_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/Notification_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_iconPath_attribute" priority="P2" purpose="Check if attribute iconPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if attribute actions of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_actions_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_iconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_actions_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute" priority="P1" purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOffPeriod_attribute" priority="P1" purpose="Check if attribute ledOffPeriod of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=ONGOING and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_ONGOING_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOffPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_ledOnPeriod_attribute" priority="P1" purpose="Check if attribute ledOnPeriod of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledOnPeriod_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_number_attribute" priority="P1" purpose="Check if attribute number of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=PROGRESS and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_PROGRESS_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_number_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressType_attribute" priority="P1" purpose="Check if attribute progressType of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_BYTE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for BYTE progressType">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=SIMPLE and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_SIMPLE_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_BYTE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_progressValue_attribute_PERCENTAGE" priority="P1" purpose="Check if attribute progressValue of StatusNotification exists, has appropriate type for PERCENTAGE progressType">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_progressValue_attribute_PERCENTAGE.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_soundPath_attribute" priority="P1" purpose="Check if attribute soundPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for statusType=THUMBNAIL and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_THUMBNAIL_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_soundPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_statusType_attribute" priority="P1" purpose="Check if attribute statusType of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=-1 and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_-1_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_statusType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_-1_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_subIconPath_attribute" priority="P1" purpose="Check if attribute subIconPath of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_subIconPath_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_thumbnails_attribute" priority="P1" purpose="Check if attribute thumbnails of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=0 and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_0_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_thumbnails_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="StatusNotification_vibration_attribute" priority="P1" purpose="Check if attribute vibration of StatusNotification exists, has appropriate type">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=100 and progressType=PERCENTAGE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_100_PERCENTAGE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_100_PERCENTAGE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager createNotificationFromTemplate method works properly" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_createNotificationFromTemplate">
+ <testcase purpose="Check if UserNotification's constructor works for progressValue=max and progressType=BYTE" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_constructor_progessValue_max_BYTE">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_max_BYTE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_createNotificationFromTemplate_NotFoundError">
+ <testcase purpose="Check if UserNotification exists" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_exist">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method createNotificationFromTemplate which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_createNotificationFromTemplate_exist">
+ <testcase purpose="Check if UserNotification is extendable" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3" id="UserNotification_extend">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method works properly" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_saveNotificationAsTemplate">
+ <testcase purpose="Check if attribute groupContents of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_groupContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_groupContents_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_QuotaExceededError">
+ <testcase purpose="Check if attribute images of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_images_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_images_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method saveNotificationAsTemplate which in NotificationManager interface exists." component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_saveNotificationAsTemplate_exist">
+ <testcase purpose="Check if attribute leds of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_leds_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_leds_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_invalid_obj">
+ <testcase purpose="Check if attribute textContents of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_textContents_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_textContents_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_misarg">
+ <testcase purpose="Check if attribute thumbnails of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_thumbnails_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_thumbnails_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch">
+ <testcase purpose="Check if attribute userType of UserNotification exists, has appropriate type" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="UserNotification_userType_attribute">
<description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_userType_attribute.html</test_script_entry>
</description>
</testcase>
</set>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/led"/>
</capabilities>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect" priority="P1" purpose="Check if NotificationManager::playLEDCustomEffect() works properly">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="manual" priority="P1" id="NotificationManager_playLEDCustomEffect">
<description>
<steps>
<step order="1">
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_color_invalid" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when color is invalid" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_color_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_color_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_exist" priority="P0" purpose="Check if NotificationManager::playLEDCustomEffect() method exists.">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() method exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_playLEDCustomEffect_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch" priority="P2" purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method">
+ <testcase purpose="Check type conversions for flags argument of NotificationManager::playLEDCustomEffect() method" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_TypeMismatch">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_flags_invalid" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when flags is invalid" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_flags_invalid">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_flags_invalid.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_playLEDCustomEffect_misarg" priority="P2" purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing">
+ <testcase purpose="Check if NotificationManager::playLEDCustomEffect() throws exception when argument is missing" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_playLEDCustomEffect_misarg">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_playLEDCustomEffect_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect" priority="P1" purpose="Check if NotificationManager::stopLEDCustomEffect() works properly">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() works properly" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect_exist" priority="P0" purpose="Check if NotificationManager::stopLEDCustomEffect() method exists.">
+ <testcase purpose="Check if NotificationManager::stopLEDCustomEffect() method exists." component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0" id="NotificationManager_stopLEDCustomEffect_exist">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_exist.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/User Interface/Notification" execution_type="auto" id="NotificationManager_stopLEDCustomEffect_extra_argument" priority="P1" purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument">
+ <testcase purpose="Check if method stopLEDCustomEffect of NotificationManager accepts extra argument" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_stopLEDCustomEffect_extra_argument">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_stopLEDCustomEffect_extra_argument.html</test_script_entry>
</description>