--- /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_createNotificationFromTemplate</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_createNotificationFromTemplate
+//==== LABEL Check if NotificationManager createNotificationFromTemplate method works properly
+//==== SPEC Tizen Web API:Application:Notification:NotificationManager:createNotificationFromTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ add_result_callback(function () {
+ try {
+ tizen.notification.removeAll();
+ } catch (err) {
+ // do nothing in case removeAll throw an exception
+ }
+ });
+
+ 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"
+ };
+ notification = new tizen.StatusNotification("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");
+}, 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_createNotificationFromTemplate_NotFoundError</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_createNotificationFromTemplate_NotFoundError
+//==== LABEL Check NotificationManager.createNotificationFromTemplate method throw exception when cannot find a template with given name
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:createNotificationFromTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var exceptionName = "NotFoundError";
+
+ assert_throws({name: exceptionName},
+ function () {
+ tizen.notification.createNotificationFromTemplate("TEST");
+ }, exceptionName + " should be thrown.");
+}, 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_createNotificationFromTemplate_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_createNotificationFromTemplate_exist
+//==== LABEL Check if method createNotificationFromTemplate which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:createNotificationFromTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("createNotificationFromTemplate" in tizen.notification, "No createNotificationFromTemplate method in tizen.notification.");
+ check_method_exists(tizen.notification, "createNotificationFromTemplate");
+}, 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_saveNotificationAsTemplate</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_saveNotificationAsTemplate
+//==== LABEL Check if NotificationManager saveNotificationAsTemplate method works properly
+//==== SPEC Tizen Web API:Application:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P1
+//==== TEST_CRITERIA MR
+
+test(function () {
+ add_result_callback(function () {
+ try {
+ tizen.notification.removeAll();
+ } catch (err) {
+ // do nothing in case removeAll throw an exception
+ }
+ });
+
+ 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"
+ };
+ notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);
+ retVal = tizen.notification.saveNotificationAsTemplate("SIMPLE_TEMPLATE", notification);
+ assert_equals(retVal, undefined, "saveNotificationAsTemplate() should return undefined.");
+}, 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_saveNotificationAsTemplate_QuotaExceededError</title>
+<meta charset="utf-8">
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_saveNotificationAsTemplate_QuotaExceededError
+//==== LABEL Check if NotificationManager saveNotificationAsTemplate method throw exception when the allowed number of templates is exceeded.
+//==== SPEC Tizen Web API:Application:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ add_result_callback(function () {
+ try {
+ tizen.notification.removeAll();
+ } catch (err) {
+ // do nothing in case removeAll throw an exception
+ }
+ });
+
+ 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"
+ };
+ notification = new tizen.StatusNotification("SIMPLE", "Simple notification", notificationDict);
+ for (i = 1; i < 11; i++) {
+ tizen.notification.saveNotificationAsTemplate("TEMPLATE" + i.toString(), notification);
+ }
+ assert_throws({name: exceptionName},
+ function () {
+ tizen.notification.saveNotificationAsTemplate("SIMPLE_TEMPLATE", notification);
+ }, exceptionName + " should be thrown - missing argument.");
+
+}, 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_saveNotificationAsTemplate_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_saveNotificationAsTemplate_exist
+//==== LABEL Check if method saveNotificationAsTemplate which in NotificationManager interface exists.
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("saveNotificationAsTemplate" in tizen.notification, "No saveNotificationAsTemplate method in tizen.notification.");
+ check_method_exists(tizen.notification, "saveNotificationAsTemplate");
+}, 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_saveNotificationAsTemplate_invalid_obj</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NotificationManager_saveNotificationAsTemplate_invalid_obj
+//==== LABEL Check if NotificationManager::saveNotificationAsTemplate() method throw exception when a fake system object was passed
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MTO
+
+test(function () {
+ var notification;
+
+ notification = {
+ statusType: "SIMPLE",
+ title: "Title"
+ };
+
+ assert_throws(TYPE_MISMATCH_EXCEPTION,
+ function () {
+ tizen.notification.saveNotificationAsTemplate("TEMPLATE", notification);
+ }, "TYPE_MISMATCH_EXCEPTION should be thrown - given incorrect notification.");
+}, 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_saveNotificationAsTemplate_misarg</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_saveNotificationAsTemplate_misarg
+//==== LABEL Check with missing non-optional argument - NotificationManager.saveNotificationAsTemplate
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+ var exceptionName = "TypeMismatchError";
+
+ assert_throws({name: exceptionName},
+ function () {
+ tizen.notification.saveNotificationAsTemplate();
+ }, exceptionName + " should be thrown - missing argument.");
+}, 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_saveNotificationAsTemplate_notification_TypeMismatch</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+
+//==== TEST: NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch
+//==== LABEL Check type conversions for notification argument of NotificationManager.saveNotificationAsTemplate method
+//==== PRIORITY: P2
+//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:saveNotificationAsTemplate M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MC
+
+test(function () {
+ var exceptionName, conversionTable, notification, i;
+
+ conversionTable = getTypeConversionExceptions("object", false);
+ for(i = 0; i < conversionTable.length; i++) {
+ notification = conversionTable[i][0];
+ exceptionName = conversionTable[i][1];
+
+ assert_throws({name: exceptionName},
+ function () {
+ tizen.notification.saveNotificationAsTemplate("SIMPLE_TEMPLATE", notification);
+ }, exceptionName + " should be thrown - given incorrect notification.");
+ }
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</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">
+ <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="TizenAPI/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="TizenAPI/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 saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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>
</set>
<set name="LED_mobile" type="js">
<capabilities>
</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">
+ <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="TizenAPI/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="TizenAPI/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 saveNotificationAsTemplate method works properly" type="compliance" status="approved" component="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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="TizenAPI/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>
</set>
<set name="LED_wearable" type="js">
<capabilities>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.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">
+ <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="TizenAPI/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="TizenAPI/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 saveNotificationAsTemplate method works properly" component="TizenAPI/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>
+ </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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="LED_mobile" type="js">
<capabilities>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_vibration_attribute.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">
+ <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="TizenAPI/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="TizenAPI/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 saveNotificationAsTemplate method works properly" component="TizenAPI/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>
+ </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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.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">
+ <description>
+ <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="LED_wearable" type="js">
<capabilities>