<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>
//==== 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");
<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>
//==== 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 () {
<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);
<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 () {
assert_equals(bookmarkFolder.parent, undefined, "bookmarkFolder.parent after removing bookmark");
tizen.bookmark.remove();
-
}, document.title);
</script>
<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>
//==== 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.");
<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>
//==== 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");
<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>
//==== 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 () {
<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);
<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 () {
assert_equals(bookmarkItem.parent, undefined, "bookmarkItem.parent after removing bookmark");
tizen.bookmark.remove();
-
}, document.title);
</script>
<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>
//==== 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.");
<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>
//==== 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.");
<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>
<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>
//==== 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();
<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;
<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>
//==== 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 () {
<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>
//==== 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;
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+ 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>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-Authors:
- 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>
<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,
<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,
<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>
//==== 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 () {
<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);
<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 () {
assert_equals(ret[0].url, bookmarkURL, "wrong url");
tizen.bookmark.remove();
-
}, document.title);
</script>
<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>
//==== 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 () {
<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>
//==== 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;
assert_throws(NOT_FOUND_EXCEPTION, function () {
tizen.bookmark.get(folder);
- });
+ }, "NotFoundError should be thrown - given incorrect non-existing folder.");
tizen.bookmark.remove();
}, document.title);
<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;
<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",
<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>
//==== 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 () {
<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>
//==== 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 () {
<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");
<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>
<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();
assert_equals(ret, undefined, "returned by remove");
ret = tizen.bookmark.get();
assert_equals(ret.length, 0, "bookmarks are not removed");
-
}, document.title);
</script>
<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 () {
<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;
<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>
//==== 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 () {
<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>
//==== 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();
<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>
</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>
<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>
<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>
<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">