[common][bookmark][fix test annotations and coding style issue] 80/219280/1
authorqunfang.lin <qunfang.lin@samsung.com>
Wed, 4 Dec 2019 20:41:41 +0000 (04:41 +0800)
committerqunfang.lin <qunfang.lin@samsung.com>
Wed, 4 Dec 2019 20:42:32 +0000 (04:42 +0800)
-modify: 36 TCs

Change-Id: Ia833b636eacb5c634d9e28decdce5b412aaf1e79
Signed-off-by: qunfang.lin <qunfang.lin@samsung.com>
39 files changed:
common/tct-bookmark-tizen-tests/bookmark/BookmarkFolder_constructor.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkFolder_exist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkFolder_extend.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkFolder_parent_attribute.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkFolder_title_attribute.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_constructor.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_exist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_extend.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_parent_attribute.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_title_attribute.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkItem_url_attribute.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManagerObject_notexist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_bookmark_TypeMismatch.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_exist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_invalid.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_misarg.html [new file with mode: 0755]
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_missarg.html [deleted file]
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_parentFolder_TypeMismatch.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_parentFolder_invalid_obj.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_with_parentFolder.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_extend.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_exist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_parentFolder_NotFound.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_parentFolder_TypeMismatch.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_parentFolder_invalid_obj.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_with_parentFolder.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_with_recursive.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_in_tizen.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_notexist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_bookmarkFolder.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_bookmark_TypeMismatch.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_exist.html
common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_with_bookmark.html
common/tct-bookmark-tizen-tests/bookmark/Tizen_bookmark_exist.html
common/tct-bookmark-tizen-tests/tests.full.xml
common/tct-bookmark-tizen-tests/tests.xml

index 98278462ef97f7d69c6868344c00c67d6b340f5c..ab2077b31df1c385066e8e6f88da1c89fdee5ccd 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkFolder_constructor</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,10 +32,12 @@ Authors:
 //==== LABEL Check if the values of the attributes are equal to the arguments passed for BookmarkFolder
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkFolder:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRA CONSTRM
 
 test(function () {
     var title = "tizen", tizenB;
+
     tizenB = new tizen.BookmarkFolder(title);
     assert_type(tizenB, "object", "BookmarkFolder constructor test.");
     assert_equals(tizenB.title, title, "title attribute test");
index 134a536f70a9777297b0ab012c69f46a7003a7d3..56d9be27040828f3bf58aa1f0e7aab62597c3a53 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkFolder_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if BookmarkFolder exists
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkFolder:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRF
 
 test(function () {
index 669a3873b9a54e15bce05674f5c3e1799f9de7eb..3ded67f9da00e1446f87708f5ffc6b6154d68baa 100755 (executable)
@@ -23,22 +23,21 @@ Authors:
 <head>
 <title>BookmarkFolder_extend</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkFolder_extend
 //==== LABEL Test whether the BookmarkFolder object can have new attribute added
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkFolder:BookmarkFolder U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA OBX
 //==== PRIORITY P3
+//==== TEST_CRITERIA OBX
 
 test(function () {
     var title = "tizen", tizenB;
+
     tizenB = new tizen.BookmarkFolder(title);
     check_extensibility(tizenB);
 }, document.title);
index 79a1114ea83f369de2d8104fa6f26ed31e41481f..c582ab302b66884815fbe2cab5f1ba804e56824a 100755 (executable)
@@ -24,17 +24,16 @@ Authors:
 <head>
 <title>BookmarkFolder_parent_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkFolder_parent_attribute
 //==== LABEL Check if attribute parent of BookmarkFolder exists, has type BookmarkFolder and is readonly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkFolder:parent A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ADV ARO
 
 test(function () {
@@ -59,7 +58,6 @@ test(function () {
     assert_equals(bookmarkFolder.parent, undefined, "bookmarkFolder.parent after removing bookmark");
 
     tizen.bookmark.remove();
-
 }, document.title);
 
 </script>
index d20d595d1f3fe39f003883c0d2b1d29dc2111f17..9486fa8360f31e9303b1655dc4c0a7e5cd965d83 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkFolder_title_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,10 +32,12 @@ Authors:
 //==== LABEL Check if attribute title of BookmarkFolder exists, has type DOMString and is readonly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkFolder:title A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ARO
-var bookmarkfolder;
 
 test(function () {
+    var bookmarkfolder;
+
     bookmarkfolder = new tizen.BookmarkFolder("Testfolder");
     assert_true("title" in bookmarkfolder, "No title attribute in BookmarkFolder");
     assert_type(bookmarkfolder.title, "string", "Type of title is not DOMString.");
index dbe22294af7fd918ddcdce2d3251f23e1afb45af..b10d6a4ec1e5b0c4248092ca86fd56872ccbc44d 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkItem_constructor</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,10 +32,12 @@ Authors:
 //==== LABEL Check if the values of the attributes are equal to the arguments passed
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRA CONSTRM
 
 test(function () {
     var title = "tizen", url = "https://www.tizen.org", tizenB;
+
     tizenB = new tizen.BookmarkItem(title, url);
     assert_type(tizenB, "object", "BookmarkItem constructor test.");
     assert_equals(tizenB.title, title, "title attribute test");
index 782c1ea8cb6d4773a0ca16e6fab554437474937b..704876bb5a7791ce134faf104ab6d879c0e9c4e5 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkItem_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if BookmarkItem exists
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:constructor C
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA CONSTRF
 
 test(function () {
index b64614334879055ddd25588f056a95aad7a39060..1b58e773e8ee97ab3dbed2866c1689fca566797d 100755 (executable)
@@ -23,22 +23,21 @@ Authors:
 <head>
 <title>BookmarkItem_extend</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkItem_extend
 //==== LABEL Test whether the BookmarkItem object can have new attribute added
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:BookmarkItem U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA OBX
 //==== PRIORITY P3
+//==== TEST_CRITERIA OBX
 
 test(function () {
     var title = "tizen", url = "https://www.tizen.org", tizenB;
+
     tizenB = new tizen.BookmarkItem(title, url);
     check_extensibility(tizenB);
 }, document.title);
index b54f65fab37734076ee0ca23aa6e8552634835a1..2375115061cc109713d90af004dccf0cefe91ac4 100755 (executable)
@@ -24,17 +24,16 @@ Authors:
 <head>
 <title>BookmarkItem_parent_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkItem_parent_attribute
 //==== LABEL Check if attribute parent of BookmarkItem exists, has type BookmarkFolder and is readonly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:parent A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ADV ARO
 
 test(function () {
@@ -61,7 +60,6 @@ test(function () {
     assert_equals(bookmarkItem.parent, undefined, "bookmarkItem.parent after removing bookmark");
 
     tizen.bookmark.remove();
-
 }, document.title);
 
 </script>
index daa74140b415917d37a37e57b768b1e632eb296f..2e65dca68f6396490b8ff099f0039cb51f37d40b 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkItem_title_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,11 +32,12 @@ Authors:
 //==== LABEL Check if attribute title of BookmarkItem exists, has type DOMString and is readonly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:title A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ARO
 
-var bookmarkitem;
-
 test(function () {
+    var bookmarkitem;
+
     bookmarkitem = new tizen.BookmarkItem("Tizen", "https://tizen.org/");
     assert_true("title" in bookmarkitem, "No title attribute in BookmarkFolder");
     assert_type(bookmarkitem.title, "string", "Type of title is not DOMString.");
index 102223e8045314b863f18a30220409df0618c39c..3abcf76791cfc694b449dcd1a2e9f2defe73f95a 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkItem_url_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,11 +32,12 @@ Authors:
 //==== LABEL Check if attribute url of BookmarkItem exists, has type DOMString and is readonly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkItem:url A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA AE AT ARO
 
-var bookmarkitem;
-
 test(function () {
+    var bookmarkitem;
+
     bookmarkitem = new tizen.BookmarkItem("Tizen", "https://tizen.org/");
     assert_true("url" in bookmarkitem, "No url attribute in BookmarkFolder");
     assert_type(bookmarkitem.url, "string", "Type of url is not DOMString.");
index ce9def77bdc6bd5a0c87370d5084ac26cb50afba..3407ac5359331912874841ce8226c4d19802ac35 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManagerObject_notexist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
index 55323f97143511e8781fb2f7729b67cc39782b53..6478c83fe5e253fc280abcdaf826c8d976a1361d 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_add</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,10 +32,12 @@ Authors:
 //==== LABEL Check if BookmarkManager add method works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MR MAST MMINA
 
 test(function () {
     var ret = null, bookmark = null;
+
     bookmark = new tizen.BookmarkItem("tizen", "https://www.tizen.org");
 
     tizen.bookmark.remove();
index 3311acc5dc9e74dd384fb97986aeef2290262283..18cf124f998c9aac8d27d7e34bfce70138c429b5 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_add_bookmark_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_add_bookmark_TypeMismatch
 //==== LABEL Check argument bookmark conversions exception in add method
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MC
 //==== PRIORITY P2
+//==== TEST_CRITERIA MC
 
 test(function () {
     var conversionTable, i, exceptionName = "TypeMismatchError", bookmark;
index 6dd0821eaebdcdf0058d71555a9848a34169078e..3cbcf43f91f89f659a90bffe654a68362df77179 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_add_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if method add of BookmarkManager exists
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
 test(function () {
index 31f8c2a05e374bdf8dff0071b85bd96aa22bba6a..8baade1ab73ed400b241b8ea2d7036d03c57484a 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_add_invalid</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -34,7 +33,7 @@ Authors:
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA
+//==== TEST_CRITERIA MC
 
 test(function () {
     var bookmark, folder;
diff --git a/common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_misarg.html b/common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_misarg.html
new file mode 100755 (executable)
index 0000000..9b19a1d
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Beata Koziarek <b.koziarek@samsung.com>
+
+-->
+<html>
+<head>
+<title>BookmarkManager_add_misarg</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BookmarkManager_add_misarg
+//==== LABEL Check if add method with missing non-optional argument works
+//==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P2
+//==== TEST_CRITERIA MMA
+
+test(function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
+        tizen.bookmark.add();
+    }, "TypeMismatchError should be thrown");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_missarg.html b/common/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_missarg.html
deleted file mode 100755 (executable)
index 5280cd5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
-        Beata Koziarek <b.koziarek@samsung.com>
-
--->
-<html>
-<head>
-<title>BookmarkManager_add_missarg</title>
-<meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BookmarkManager_add_missarg
-//==== LABEL Check if add method with missing non-optional argument works
-//==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MMA
-
-test(function () {
-    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
-        tizen.bookmark.add();
-    }, "TypeMismatchError should be thrown");
-}, document.title);
-
-</script>
-</body>
-</html>
index 0bb3fd029d6fc7fcc0fe81136b2e2a4a6df0dfb6..f0732005634f2ffc0efc2d2272c4807b16f49faa 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_add_parentFolder_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_add_parentFolder_TypeMismatch
 //==== LABEL Check argument parentFolder conversions exception in add method
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MC
 //==== PRIORITY P2
+//==== TEST_CRITERIA MC
 
 test(function () {
     var conversionTable, i, exceptionName = "TypeMismatchError", parentFolder,
index 1fd1d450e979c950f64aafe846b60deb6edad498..86d9c21abc9a57f7a338e7fe04f651eba5fa3097 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_add_parentFolder_invalid_obj</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_add_parentFolder_invalid_obj
 //==== LABEL Check if the parameter parentFolder which is in add method is invalid
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MTO
 //==== PRIORITY P2
+//==== TEST_CRITERIA MTO
 
 test(function () {
     var fakedParentFolder,
index e730c4adc5f02872d08ccc81732dde59a3ae4890..8105e48c6adb71e7017972214fc1e659ae2d22ec 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_add_with_parentFolder</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if BookmarkManager add method with optional parentFolder attribute works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:add M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MOA MAST
 
 test(function () {
index f68185c29d853fafd539a7ded4424a31c426f8c6..94079b3db13f056ba549d1480c1029ef40afd83b 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_extend</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_extend
 //==== LABEL Test whether the BookmarkManager object can have new attribute added
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:BookmarkManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA OBX
 //==== PRIORITY P3
+//==== TEST_CRITERIA OBX
 
 test(function () {
     check_extensibility(tizen.bookmark);
index 76c420d8608ff85327dcc7561d51aa8cab88365b..7863e70352951dbbba7d87ad0128d22f2d55ea18 100755 (executable)
@@ -24,17 +24,16 @@ Authors:
 <head>
 <title>BookmarkManager_get</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_get
 //==== LABEL Check if BookmarkManager get method works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MR MMINA
 
 test(function () {
@@ -53,7 +52,6 @@ test(function () {
     assert_equals(ret[0].url, bookmarkURL, "wrong url");
 
     tizen.bookmark.remove();
-
 }, document.title);
 
 </script>
index 362c2e13b40551a712714ef4cb1002aa5ef60757..425a94380d729a9bb492fe405a5c22702f585a80 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_get_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if method get of BookmarkManager exists
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
 test(function () {
index b4a75054aef1434398f793100e53f9187aa5f734..ba49668d03b9bebb1eecf6c8d30348c38c652e7a 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_get_parentFolder_NotFound</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -34,7 +33,7 @@ Authors:
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MOA MR
+//==== TEST_CRITERIA MC
 
 test(function () {
     var title = "tizen", folder;
@@ -45,7 +44,7 @@ test(function () {
 
     assert_throws(NOT_FOUND_EXCEPTION, function () {
         tizen.bookmark.get(folder);
-    });
+    }, "NotFoundError should be thrown - given incorrect non-existing folder.");
 
     tizen.bookmark.remove();
 }, document.title);
index a5672806410ddcf7852e64b86f16393bb1b27590..f3652521a4f28815248c3d82531b054bf81bb931 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_get_parentFolder_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_get_parentFolder_TypeMismatch
 //==== LABEL Check argument parentFolder conversions exception
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MC
 //==== PRIORITY P2
+//==== TEST_CRITERIA MC
 
 test(function () {
     var ret = null, conversionTable, i, exceptionName = "TypeMismatchError", parentFolder;
index 4586699d1a5a2443e99c3b2c3f0d738abbb7c196..8c38436746ce67abc26c25a35ae05b0a77394efa 100755 (executable)
@@ -24,19 +24,17 @@ Authors:
 <head>
 <title>BookmarkManager_get_parentFolder_invalid_obj</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_get_parentFolder_invalid_obj
 //==== LABEL Check if the parameter parentFolder which is in get method is invalid
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MTO
 //==== PRIORITY P2
+//==== TEST_CRITERIA MTO
 
 test(function () {
     var fakedParentFolder, exceptionName = "TypeMismatchError",
index d28372a61f1bf3e84e0e3966f2e215d92d10c8bb..87bb2724b9d13e947b31fe8c1aa26a0d3f178435 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_get_with_parentFolder</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if BookmarkManager get method with optional parentFolder argument works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MOA MR
 
 test(function () {
index a02e11b6cdc5e89cdd01e85db6f3e4ff6001e7ff..fd499ff9dc952d67d458cc703c32a6d12203b64b 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_get_with_recursive</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if BookmarkManager get method with optional recursive argument works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:get M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MOA MR
 
 test(function () {
index b96279d51b2e64710e06d1fc94c045c20a3988a1..918a6445879895f9cd1975bfbfe93d5848932f94 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_in_tizen</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_in_tizen
 //==== LABEL Check if bookmark exists in tizen
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:BookmarkManager U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA OBME
 //==== PRIORITY P3
+//==== TEST_CRITERIA OBME
 
 test(function () {
     check_readonly(tizen, "bookmark", tizen.bookmark, "object", "Tizen");
index 3d42a154d9597cf3c69a1750ed56ba4f932a53aa..5a35ed07ad56cecfadecb9c24361ca6b0e46ba83 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_notexist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
index 31b9af03c737f38fce48e13ad4a475b2a18274aa..a8972e83b9faf6f1bf246ca68959fbb68c93dfe6 100755 (executable)
@@ -24,21 +24,21 @@ Authors:
 <head>
 <title>BookmarkManager_remove</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_remove
 //==== LABEL Check if BookmarkManager remove method works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MR MAST MMINA
 
 test(function () {
     var ret = null, bookmark = null;
+
     bookmark = new tizen.BookmarkItem("tizen", "https://www.tizen.org");
 
     tizen.bookmark.remove();
@@ -48,7 +48,6 @@ test(function () {
     assert_equals(ret, undefined, "returned by remove");
     ret = tizen.bookmark.get();
     assert_equals(ret.length, 0, "bookmarks are not removed");
-
 }, document.title);
 
 </script>
index 80df7f16324632dcea584ceb12fc5c929028cfba..9b1deff0265cb0c01bdbd71e1c656b2f31992e6e 100755 (executable)
@@ -23,17 +23,16 @@ Authors:
 <head>
 <title>BookmarkManager_remove_bookmarkFolder</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_remove_bookmarkFolder
 //==== LABEL Check if BookmarkManager::remove() method throws InvalidValuesError and NotFoundError
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MAST MOA
 
 test(function () {
index d9c931d1c5b3fc97432780a1034948a8ef6eaa19..d6067785505d8a401cbff7546f39bda191d16b5b 100755 (executable)
@@ -23,19 +23,17 @@ Authors:
 <head>
 <title>BookmarkManager_remove_bookmark_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
-<script type="text/javascript">
-
+<script>
 //==== TEST: BookmarkManager_remove_bookmark_TypeMismatch
 //==== LABEL Check argument bookmark conversions exception in remove method
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== TEST_CRITERIA MC
 //==== PRIORITY P2
+//==== TEST_CRITERIA MC
 
 test(function () {
     var ret = null, conversionTable, i, exceptionName = "TypeMismatchError", bookmark;
index b55b66ef63476ef57808e96bb6b774bd98f75fa3..f3a25c14aa8a2a41b00be357865a39a92e0d4295 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_remove_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,6 +32,7 @@ Authors:
 //==== LABEL Check if method remove of BookmarkManager exists
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P0
 //==== TEST_CRITERIA ME
 
 test(function () {
index c87b07735be69dbc7ee1fa9babc5efa290ccc7df..cce0ebf9e36911b5ae96ce69df3e024a9516977e 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>BookmarkManager_remove_with_bookmark</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
@@ -33,10 +32,12 @@ Authors:
 //==== LABEL Check if BookmarkManager remove method with optional bookmark attribute works properly
 //==== SPEC Tizen Web API:Social:Bookmark:BookmarkManager:remove M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
+//==== PRIORITY P1
 //==== TEST_CRITERIA MOA MR MAST
 
 test(function () {
     var ret = null, rem = null, bookmark = null, i;
+
     bookmark = new tizen.BookmarkItem("tizen", "https://www.tizen.org");
 
     tizen.bookmark.remove();
index f8513d56d6cf7c48680b4253f8ff87e76e5adc68..519fdb83d877b40a396c841335fbbda9d9f2b8b1 100755 (executable)
@@ -23,9 +23,8 @@ Authors:
 <head>
 <title>Tizen_bookmark_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
-
 <body>
 <div id="log"></div>
 <script>
index 65ef843cd1b55e93b42b5755c50e9057a0683233..06e00e6bf873f74ee8e3a2486a8d749f818d0ac7 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_exist" priority="P1" purpose="Check if method add of BookmarkManager exists" status="approved" type="compliance">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_exist" priority="P0" purpose="Check if method add of BookmarkManager exists" status="approved" type="compliance">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_get_exist" priority="P1" purpose="Check if method get of BookmarkManager exists" status="approved" type="compliance">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_get_exist" priority="P0" purpose="Check if method get of BookmarkManager exists" status="approved" type="compliance">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_remove_exist" priority="P1" purpose="Check if method remove of BookmarkManager exists" status="approved" type="compliance">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_remove_exist" priority="P0" purpose="Check if method remove of BookmarkManager exists" status="approved" type="compliance">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_exist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_missarg" priority="P1" purpose="Check if add method with missing non-optional argument works" status="approved" type="compliance">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_misarg" priority="P2" purpose="Check if add method with missing non-optional argument works" status="approved" type="compliance">
         <description>
-          <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_misarg.html</test_script_entry>
         </description>
         <specs>
           <spec>
index cd4400abf3fa63fb75c051e4d87a3fc1ef788477..681e44806994c6c8460c6c9a88a0bf491d782dcb 100755 (executable)
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManagerObject_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_exist" priority="P1" purpose="Check if method add of BookmarkManager exists">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_exist" priority="P0" purpose="Check if method add of BookmarkManager exists">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_get_exist" priority="P1" purpose="Check if method get of BookmarkManager exists">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_get_exist" priority="P0" purpose="Check if method get of BookmarkManager exists">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_get_exist.html</test_script_entry>
         </description>
@@ -62,7 +62,7 @@
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_remove_exist" priority="P1" purpose="Check if method remove of BookmarkManager exists">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_remove_exist" priority="P0" purpose="Check if method remove of BookmarkManager exists">
         <description>
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove_exist.html</test_script_entry>
         </description>
@@ -87,9 +87,9 @@
           <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_remove.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_missarg" priority="P1" purpose="Check if add method with missing non-optional argument works">
+      <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_misarg" priority="P2" purpose="Check if add method with missing non-optional argument works">
         <description>
-          <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_missarg.html</test_script_entry>
+          <test_script_entry>/opt/tct-bookmark-tizen-tests/bookmark/BookmarkManager_add_misarg.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="Tizen Device APIs/Social/Bookmark" execution_type="auto" id="BookmarkManager_add_with_parentFolder" priority="P1" purpose="Check if BookmarkManager add method with optional parentFolder attribute works properly">