[common][notification][Update cases of Notification of ACR TWDAPI-284] 29/273229/1
authorchen <chen89.chen@samsung.com>
Fri, 1 Apr 2022 01:57:12 +0000 (09:57 +0800)
committerchen <chen89.chen@samsung.com>
Fri, 1 Apr 2022 01:57:22 +0000 (09:57 +0800)
Change-Id: I8dfe76c1916df51a1a1e1334081d3adf01358aab
Signed-off-by: chen <chen89.chen@samsung.com>
57 files changed:
common/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_exist.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_extend.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate.html
common/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_NotFoundError.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_createNotificationFromTemplate_exist.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_exist.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getNotification.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getNotification_exist.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getNotification_id_invalid.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_getNotification_misarg.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_post_ONGOING.html
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_QuotaExceededError.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_exist.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_invalid_obj.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_misarg.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/Notification_content_attribute.html
common/tct-notification-tizen-tests/notification/Notification_extend.html
common/tct-notification-tizen-tests/notification/Notification_id_attribute.html
common/tct-notification-tizen-tests/notification/Notification_title_attribute.html
common/tct-notification-tizen-tests/notification/Notification_type_attribute.html
common/tct-notification-tizen-tests/notification/UserNotification_actions_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_ONGOING_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_PROGRESS_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_SIMPLE_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_THUMBNAIL_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_-1_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_0_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_100_PERCENTAGE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_constructor_progessValue_max_BYTE.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_exist.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_extend.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_groupContents_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_images_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html [new file with mode: 0755]
common/tct-notification-tizen-tests/notification/UserNotification_leds_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_textContents_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_thumbnails_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/notification/UserNotification_userType_attribute.html [changed mode: 0644->0755]
common/tct-notification-tizen-tests/tests.full.xml
common/tct-notification-tizen-tests/tests.xml

diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html b/common/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html
new file mode 100755 (executable)
index 0000000..1127978
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_appControl_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_appControl_attribute\r
+//==== LABEL Check if NotificationButton have appControl attribute exists, with proper type and is writeable\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:appControl A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG AN\r
+\r
+test(function () {\r
+    var info = {content: "This is an active notification with a button."};\r
+    var notification = new tizen.UserNotification("SIMPLE", "Notification", info);\r
+    var appControl1 = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+\r
+    var button1 = new tizen.NotificationButton("Button 1", appControl1, null);\r
+    var appControl2 = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/view", null, "image/jpg", null);\r
+\r
+    check_attribute(button1, "appControl", appControl1, "object", appControl2);\r
+    check_not_nullable(button1, "appControl");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html b/common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html
new file mode 100755 (executable)
index 0000000..d29c88a
--- /dev/null
@@ -0,0 +1,54 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_constructor_text_appControl</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_constructor_text_appControl\r
+//==== LABEL Test whether the constructor with NotificationButton parameter are supported.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:NotificationButton C\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA CONSTRA CONSTRM\r
+\r
+test(function () {\r
+    var info = {content: "This is an active notification with a button."};\r
+    var notification = new tizen.UserNotification("SIMPLE", "Notification", info)\r
+    var appControl = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+    var button1 = new tizen.NotificationButton("Click me", appControl);\r
+    notification.inputs =\r
+    {\r
+        buttons: [button1]\r
+    };\r
+\r
+    assert_true(button1 instanceof tizen.NotificationButton, "object was not created properly");\r
+    assert_equals(button1.text, "Click me", "text passed as constructor parameter is different with text in the object");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html b/common/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html
new file mode 100755 (executable)
index 0000000..ba76c11
--- /dev/null
@@ -0,0 +1,55 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_constructor_text_appControl_imagePath</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_constructor_text_appControl_imagePath\r
+//==== LABEL Test whether the constructor with NotificationButton parameter are supported.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:NotificationButton C\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA CONSTRA CONSTRM\r
+\r
+test(function () {\r
+    var info = {content: "This is an active notification with a button."};\r
+    var notification = new tizen.UserNotification("SIMPLE", "Notification", info)\r
+    var appControl = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+    var button1 = new tizen.NotificationButton("Click me", appControl, "images/button.png");\r
+    notification.inputs =\r
+    {\r
+        buttons: [button1]\r
+    };\r
+\r
+    assert_true(button1 instanceof tizen.NotificationButton, "object was not created properly");\r
+    assert_equals(button1.text, "Click me", "text passed as constructor parameter is different with text in the object");\r
+    assert_equals(button1.imagePath, "images/button.png", "imagePath passed as constructor parameter is different with imagePath in the object");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_exist.html b/common/tct-notification-tizen-tests/notification/NotificationButton_exist.html
new file mode 100755 (executable)
index 0000000..87fcc21
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_exist</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_exist\r
+//==== LABEL Check if NotificationButton exists.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:NotificationButton C\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA CONSTRF\r
+\r
+test(function () {\r
+    check_constructor("NotificationButton");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_extend.html b/common/tct-notification-tizen-tests/notification/NotificationButton_extend.html
new file mode 100755 (executable)
index 0000000..6071ba0
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_extend</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_extend\r
+//==== LABEL Check if NotificationButton object is extendable.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:NotificationButton U\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P3\r
+//==== TEST_CRITERIA OBX\r
+\r
+test(function () {\r
+    var info = {content: "This is an active notification with a button."};\r
+    var notification = new tizen.UserNotification("SIMPLE", "Notification", info);\r
+    var appControl = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+\r
+    var button = new tizen.NotificationButton("Click me", appControl, null);\r
+    check_extensibility(button);\r
+}, document.title);\r
+\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html b/common/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html
new file mode 100755 (executable)
index 0000000..42b0b01
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_imagePath_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_imagePath_attribute\r
+//==== LABEL Check if attribute imagePath of NotificationButton exists, has proper type and value can be modified\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:imagePath A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG\r
+\r
+test(function () {\r
+    var appControl = new tizen.ApplicationControl(\r
+    "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+    var button = new tizen.NotificationButton("Button 1", appControl, "images/button.png");\r
+    check_attribute(button, "imagePath", "images/button.png", "string", null);\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html b/common/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html
new file mode 100755 (executable)
index 0000000..09ba457
--- /dev/null
@@ -0,0 +1,50 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationButton_text_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationButton_text_attribute\r
+//==== LABEL Check if NotificationButton have text attribute exists, with proper type and is writeable\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationButton:text A\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG AN\r
+\r
+test(function () {\r
+    var info = {content: "This is an active notification with a button."};\r
+    var notification = new tizen.UserNotification("SIMPLE", "Notification", info);\r
+    var appControl = new tizen.ApplicationControl(\r
+        "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+    var button1 = new tizen.NotificationButton("Button 1", appControl, null);\r
+\r
+    check_attribute(button1, "text", "Button 1", "string", "Button 2");\r
+    check_not_nullable(button1, "text");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
index 76c691e11fb7ab0690e882328cc6566a8cda0c50..1af86b68da981b66bfa59b4195b73dd0b6bd9ec8 100755 (executable)
@@ -34,7 +34,7 @@ Authors:
 //==== TEST: NotificationManager_createNotificationFromTemplate
 //==== LABEL Check if NotificationManager createNotificationFromTemplate method works properly
 //==== SPEC Tizen Web API:Application:Notification:NotificationManager:createNotificationFromTemplate M
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MR
 
old mode 100644 (file)
new mode 100755 (executable)
index 93f3315..536f437
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MC
 
old mode 100644 (file)
new mode 100755 (executable)
index bad4413..f281c4c
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
old mode 100644 (file)
new mode 100755 (executable)
index b6634d4..d4c045e
@@ -34,7 +34,7 @@ Authors:
 //==== TEST: NotificationManager_getAllNotifications
 //==== LABEL Check if NotificationManager.getAllNotifications method works
 //==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:getAllNotifications M
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MNA MR
 
old mode 100644 (file)
new mode 100755 (executable)
index 1cabe3b..53b9529
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
old mode 100644 (file)
new mode 100755 (executable)
index 73e24c9..e6e114a
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MNAEX
 
diff --git a/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html b/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html
new file mode 100755 (executable)
index 0000000..97c78e6
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationManager_getBlockState</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationManager_getBlockState\r
+//==== LABEL Check if NotificationManager:getBlockState() method works properly.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationManager:getBlockState M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MR MNA\r
+\r
+test(function () {\r
+    var state;\r
+    try\r
+    {\r
+        state = tizen.notification.getBlockState();\r
+    }\r
+    catch (err)\r
+    {\r
+        assert_unreached("[getBlockState] call syncFunction exception " + err.name + ":" + err.message);\r
+    }\r
+    assert_not_equals(state, null, "Incorrect returned value.");\r
+    if("ALLOWED" !== state && "BLOCKED" !== state && "DO_NOT_DISTURB" != state)\r
+    {\r
+        assert_unreached("getBlockState get incorrect value");\r
+    }\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html b/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html
new file mode 100755 (executable)
index 0000000..dc570de
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationManager_getBlockState_exist</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationManager_getBlockState_exist\r
+//==== LABEL Check if NotificationManager::getBlockState() method exists.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationManager:getBlockState M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P0\r
+//==== TEST_CRITERIA ME\r
+\r
+test(function () {\r
+    check_method_exists(tizen.notification, "getBlockState");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
diff --git a/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html b/common/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html
new file mode 100755 (executable)
index 0000000..563e710
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>NotificationManager_getBlockState_extra_argument</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: NotificationManager_getBlockState_extra_argument\r
+//==== LABEL Check using NotificationManager:getBlockState() method with extra argument.\r
+//==== SPEC Tizen Web API:TBD:Notification:NotificationManager:getBlockState M\r
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA MNAEX\r
+\r
+test(function () {\r
+    checkExtraArgument(tizen.notification, "getBlockState");\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
old mode 100644 (file)
new mode 100755 (executable)
index cf089a2..c12609f
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA MR
 
 var notification, statusType = "PROGRESS", progressTypeToSet = "PERCENTAGE", notificationToPost, postedTime, i;
old mode 100644 (file)
new mode 100755 (executable)
index a85285f..276c700
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
old mode 100644 (file)
new mode 100755 (executable)
index 9d966ea..437e2ff
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MC
 
old mode 100644 (file)
new mode 100755 (executable)
index bcf3f62..aa9f029
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
index 322662f29af19b55e9ef4f4f2fa2ec591c1c52f5..26d04279890409927c3edb5af0ce6222b7c98d05 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== 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 TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MR MAST
 
old mode 100644 (file)
new mode 100755 (executable)
index a335ffc..d13cc4b
@@ -34,7 +34,7 @@ Authors:
 //==== TEST: NotificationManager_saveNotificationAsTemplate
 //==== LABEL Check if NotificationManager saveNotificationAsTemplate method works properly
 //==== SPEC Tizen Web API:Application:Notification:NotificationManager:saveNotificationAsTemplate M
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA MR
 
old mode 100644 (file)
new mode 100755 (executable)
index 7e6067d..d065324
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MC
 
old mode 100644 (file)
new mode 100755 (executable)
index f9f63f0..ff51d83
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
old mode 100644 (file)
new mode 100755 (executable)
index fb9a3ba..8eccd8e
@@ -31,7 +31,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA MTO
 
 test(function () {
old mode 100644 (file)
new mode 100755 (executable)
index 45c8db6..f5a6471
@@ -32,7 +32,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMA
 
old mode 100644 (file)
new mode 100755 (executable)
index b4adc77..b3c024a
@@ -33,7 +33,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== TEST_CRITERIA MC
 
 test(function () {
index 61bf6cb9fa302f4d95a25c430fa19879faf60782..cfa1c0d73da038524328da85964fe3e4e94c78fb 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== 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 TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
index 58ca310cb5f24fc6653060508d4272d79c736463..b2d0614f7fee33919f22eeeb7395893ad1f66e00 100755 (executable)
@@ -33,7 +33,7 @@ Authors:
 //==== TEST: Notification_extend
 //==== LABEL Check if Notification can be extended
 //==== SPEC Tizen Web API:User Interface:Notification:Notification:Notification U
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P3
 //==== TEST_CRITERIA OBX
 
index ab0484c6748de29660956886b19fdc84b3e165d9..74a92703e62713d422e876fb73f63e3cae56adca 100755 (executable)
@@ -36,7 +36,7 @@ Authors:
 //==== 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 TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE ADV ARO AT
 
index 633ecdbef90644bc88c0d520fafae4c63b60b294..dd4203bffa70076e9ad6d390049284971de2632b 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== 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 TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG AN
 
index 10daec2ee457a9a4302d0a892cbcde69e1b94854..37a5d5504e9332f6602bdd2a6cf43858a24047d4 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== 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 TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ARO
 
old mode 100644 (file)
new mode 100755 (executable)
index f9f2677..2a50bc4
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
old mode 100644 (file)
new mode 100755 (executable)
index 8183b42..97f6a1c
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 350309b..c57261f
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index bc1c4d7..60a6420
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 2344b2f..5c1fd80
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 32f3cde..3c7389d
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 385ab6f..54bed95
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 14978af..674fe64
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 3220e32..322f15a
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index f13b902..92021dc
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index c054f57..274866e
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index bfc3be5..65f3165
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index b011f80..1d7edbb
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index 2ed8cfa..c963190
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRM CONSTRA
 
old mode 100644 (file)
new mode 100755 (executable)
index ff361db..81598b6
@@ -31,7 +31,7 @@ Authors:
 //==== TEST: UserNotification_exist
 //==== LABEL Check if UserNotification exists
 //==== SPEC Tizen Web API:User Interface:Notification:UserNotification:constructor C
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRF
 
old mode 100644 (file)
new mode 100755 (executable)
index c30a097..5e20aac
@@ -34,7 +34,7 @@ Authors:
 //==== TEST: UserNotification_extend
 //==== LABEL Check if UserNotification is extendable
 //==== SPEC Tizen Web API:User Interface:Notification:UserNotification:UserNotification U
-//==== SPEC_URL TBD
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P3
 //==== TEST_CRITERIA OBX
 
old mode 100644 (file)
new mode 100755 (executable)
index c8b32d2..88b5734
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
old mode 100644 (file)
new mode 100755 (executable)
index a1b6576..ed71d81
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
diff --git a/common/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html b/common/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html
new file mode 100755 (executable)
index 0000000..756921f
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2022 Samsung Electronics Co., Ltd.\r
+\r
+Licensed under the Apache License, Version 2.0 (the License);\r
+you may not use this file except in compliance with the License.\r
+You may obtain a copy of the License at\r
+\r
+    http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+Unless required by applicable law or agreed to in writing, software\r
+distributed under the License is distributed on an "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+See the License for the specific language governing permissions and\r
+limitations under the License.\r
+\r
+Authors:\r
+        Chen Chen <chen89.chen@samsung.com>\r
+\r
+-->\r
+<html>\r
+<head>\r
+<title>UserNotification_inputs_attribute</title>\r
+<meta charset="utf-8"/>\r
+<script src="support/unitcommon.js"></script>\r
+</head>\r
+<body>\r
+<div id="log"></div>\r
+<script>\r
+//==== TEST: UserNotification_inputs_attribute\r
+//==== LABEL Check if attribute inputs of UserNotification exists, has proper type and value can be modified\r
+//==== SPEC Tizen Web API:TBD:Notification:UserNotification:inputs A\r
+//==== SPEC_URL TBD\r
+//==== PRIORITY P1\r
+//==== TEST_CRITERIA AE AT ASG\r
+\r
+test(function () {\r
+    var appControl, textInputInfo, textInfo, userTextNotification, userTextNotification, button1, button2, buttonInfo, userButtonNotification;\r
+    appControl = new tizen.ApplicationControl(\r
+    "http://tizen.org/appcontrol/operation/create_content", null, "image/*");\r
+    textInputInfo =\r
+    {\r
+        maxLength: 160,\r
+        appControl: appControl,\r
+        buttonText: "Send",\r
+        imagePath: null,\r
+        placeholder: "Placeholder text"\r
+    };\r
+    textInfo =\r
+    {\r
+        content: "This is an active notification with a text input.",\r
+        inputs: {textInput: textInputInfo}\r
+    };\r
+    userTextNotification = new tizen.UserNotification("SIMPLE", "Notification", textInfo);\r
+    tizen.notification.post(userTextNotification);\r
+\r
+    assert_own_property(userTextNotification, "inputs", "userTextNouserButtonNotificationtification doesn't own inputs property.");\r
+    assert_type(userTextNotification.inputs, "object", "userTextNotification.inputs type should be object");\r
+\r
+    assert_own_property(userTextNotification.inputs, "textInput", "userTextNotification doesn't own textInput property.");\r
+\r
+    assert_own_property(userTextNotification.inputs.textInput, "maxLength", "textInput doesn't own maxLength property.");\r
+    assert_type(userTextNotification.inputs.textInput.maxLength, "unsigned long", "userTextNotification.inputs.textInput.maxLengthshould be number");\r
+    assert_equals(userTextNotification.inputs.textInput.maxLength, 160, "userTextNotification.inputs.textInput.maxLength value after set");\r
+\r
+    assert_own_property(userTextNotification.inputs.textInput, "appControl", "textInput doesn't own appControl property.");\r
+    assert_type(userTextNotification.inputs.textInput.appControl, "object", "userTextNotification.inputs.textInput.appControl should be object");\r
+\r
+    assert_own_property(userTextNotification.inputs.textInput, "imagePath", "textInput doesn't own imagePath property.");\r
+    assert_type(userTextNotification.inputs.textInput.buttonText, "string", "userTextNotification.inputs.textInput.imagePath should be string");\r
+    assert_equals(userTextNotification.inputs.textInput.buttonText, "Send", "userTextNotification.inputs.textInput.buttonText value after set");\r
+\r
+    assert_own_property(userTextNotification.inputs.textInput, "placeholder", "textInput doesn't own placeholder property.");\r
+    assert_type(userTextNotification.inputs.textInput.placeholder, "string", "userTextNotification.inputs.textInput.placeholder should be string");\r
+    assert_equals(userTextNotification.inputs.textInput.placeholder, "Placeholder text", "userTextNotification.inputs.textInput.placeholder value after set");\r
+\r
+    button1 = new tizen.NotificationButton("Button 1", appControl, null);\r
+    button2 = new tizen.NotificationButton("Button 2", appControl, "images/button.png");\r
+    buttonInfo =\r
+    {\r
+        content: "This is an active notification with buttons.",\r
+        inputs: {buttons: [button1, button2]}\r
+    };\r
+    userButtonNotification = new tizen.UserNotification("SIMPLE", "Notification", buttonInfo);\r
+    tizen.notification.post(userButtonNotification);\r
+\r
+    assert_own_property(userButtonNotification, "inputs", "userButtonNotification doesn't own inputs property.");\r
+    assert_type(userButtonNotification.inputs, "object", "userButtonNotification.inputs type should be object");\r
+    assert_own_property(userButtonNotification.inputs, "buttons", "userButtonNotification doesn't own buttons property.");\r
+    assert_type(userButtonNotification.inputs.buttons, "object", "userButtonNotification.inputs.buttons should be dictionary");\r
+\r
+    assert_own_property(userButtonNotification.inputs.buttons[0], "text", "NotificationButton doesn't own text property.");\r
+    assert_own_property(userButtonNotification.inputs.buttons[0], "appControl", "NotificationButton doesn't own appControl property.");\r
+    assert_type(userButtonNotification.inputs.buttons[0], "object", "userButtonNotification.inputs.buttons should be object");\r
+    assert_equals(userButtonNotification.inputs.buttons[0].text, "Button 1", "button1 value after set");\r
+    assert_equals(userButtonNotification.inputs.buttons[1].text, "Button 2", "button2 value after set");\r
+\r
+}, document.title);\r
+\r
+</script>\r
+</body>\r
+</html>
\ No newline at end of file
old mode 100644 (file)
new mode 100755 (executable)
index 3a5f339..d5d8855
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
old mode 100644 (file)
new mode 100755 (executable)
index 841edc4..63650c1
@@ -35,7 +35,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ASG
 
old mode 100644 (file)
new mode 100755 (executable)
index 714f624..69f967e
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE ASG AT ADV
 
old mode 100644 (file)
new mode 100755 (executable)
index e0ce117..b7e9e41
@@ -34,7 +34,7 @@ Authors:
 //==== 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
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
 //==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ARO
 
index c669dbdbf09fc01774c0ba07f0f0003b0a9f1096..80e2d78067167b57f13c0b177025725517b62670 100755 (executable)
@@ -7,6 +7,138 @@
         <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
         <capability name="http://tizen.org/feature/notification"/>
       </capabilities>
+      <testcase purpose="Check if NotificationButton have appControl attribute exists, with proper type and is writeable " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_appControl_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="appControl" 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="Test whether the constructor with NotificationButton parameter are supported. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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="Test whether the constructor with NotificationButton parameter are supported. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl_imagePath">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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 NotificationButton exists. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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 NotificationButton object is extendable. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3 " id="NotificationButton_extend">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" 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 imagePath of NotificationButton exists, has proper type and value can be modified " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_imagePath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="imagePath" 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 NotificationButton have text attribute exists, with proper type and is writeable " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_text_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="text" 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:getBlockState() method works properly. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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::getBlockState() method exists. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0 " id="NotificationManager_getBlockState_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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 using NotificationManager:getBlockState() method with extra argument. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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 inputs of UserNotification exists, has proper type and value can be modified " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="UserNotification_inputs_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="UserNotification" element_type="attribute" element_name="inputs" 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." 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>
         <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
         <capability name="http://tizen.org/feature/notification"/>
       </capabilities>
+      <testcase purpose="Check if NotificationButton have appControl attribute exists, with proper type and is writeable " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_appControl_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="appControl" 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="Test whether the constructor with NotificationButton parameter are supported. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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="Test whether the constructor with NotificationButton parameter are supported. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl_imagePath">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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 NotificationButton exists. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="constructor" element_name="NotificationButton" 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 NotificationButton object is extendable. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3 " id="NotificationButton_extend">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" 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 imagePath of NotificationButton exists, has proper type and value can be modified " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_imagePath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="imagePath" 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 NotificationButton have text attribute exists, with proper type and is writeable " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_text_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationButton" element_type="attribute" element_name="text" 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:getBlockState() method works properly. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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::getBlockState() method exists. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0 " id="NotificationManager_getBlockState_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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 using NotificationManager:getBlockState() method with extra argument. " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="NotificationManager" element_type="method" element_name="getBlockState" 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 inputs of UserNotification exists, has proper type and value can be modified " type="compliance" status="approved" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="UserNotification_inputs_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="UserNotification" element_type="attribute" element_name="inputs" 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." 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>
index 055ce595dbda7f5a62e75f42204103e07635f236..e2096619597f50bd8ca31f77e19123a823af1115 100755 (executable)
@@ -3,10 +3,45 @@
 <test_definition>
   <suite name="tct-notification-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
     <set name="Notification_mobile" type="js">
-      <capabilities>
+     <capabilities>
         <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
         <capability name="http://tizen.org/feature/notification"/>
-      </capabilities>
+     </capabilities>
+      <testcase purpose="Check if NotificationButton have appControl attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_appControl_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl_imagePath">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton object is extendable. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3 " id="NotificationButton_extend">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute imagePath of NotificationButton exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_imagePath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton have text attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_text_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html</test_script_entry>
+        </description>
+      </testcase>
       <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>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications_extra_argument.html</test_script_entry>
         </description>
       </testcase>
+      <testcase purpose="Check if NotificationManager:getBlockState() method works properly. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationManager::getBlockState() method exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0 " id="NotificationManager_getBlockState_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check using NotificationManager:getBlockState() method with extra argument. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute inputs of UserNotification exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="UserNotification_inputs_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html</test_script_entry>
+        </description>
+      </testcase>
       <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_getNotification.html</test_script_entry>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_saveNotificationAsTemplate_notification_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <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">
+      <testcase purpose="Check if the parameter NotificationManager which in update method ok" component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1" id="NotificationManager_update">
         <description>
           <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_update.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 purpose="Check if NotificationButton have appControl attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_appControl_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl_imagePath">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton object is extendable. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3 " id="NotificationButton_extend">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute imagePath of NotificationButton exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_imagePath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton have text attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_text_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationManager:getBlockState() method works properly. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationManager::getBlockState() method exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0 " id="NotificationManager_getBlockState_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check using NotificationManager:getBlockState() method with extra argument. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute inputs of UserNotification exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="UserNotification_inputs_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html</test_script_entry>
+        </description>
+      </testcase>
       <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>
         <capability name="http://tizen.org/feature/profile"><value>COMMON</value></capability>
         <capability name="http://tizen.org/feature/notification"/>
       </capabilities>
+      <testcase purpose="Check if NotificationButton have appControl attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_appControl_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_appControl_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Test whether the constructor with NotificationButton parameter are supported. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_constructor_text_appControl_imagePath">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_constructor_text_appControl_imagePath.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton object is extendable. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P3 " id="NotificationButton_extend">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute imagePath of NotificationButton exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_imagePath_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_imagePath_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationButton have text attribute exists, with proper type and is writeable " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationButton_text_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationButton_text_attribute.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationManager:getBlockState() method works properly. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NotificationManager::getBlockState() method exists. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P0 " id="NotificationManager_getBlockState_exist">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check using NotificationManager:getBlockState() method with extra argument. " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="NotificationManager_getBlockState_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_getBlockState_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if attribute inputs of UserNotification exists, has proper type and value can be modified " component="Tizen Device APIs/User Interface/Notification" execution_type="auto" priority="P1 " id="UserNotification_inputs_attribute">
+        <description>
+          <test_script_entry>/opt/tct-notification-tizen-tests/notification/UserNotification_inputs_attribute.html</test_script_entry>
+        </description>
+      </testcase>
       <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>
       </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>