+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-<head>
-<title>BookmarkManager_add_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BookmarkManager_add_check_privilege
-//==== LABEL Check if method BookmarkManager::add() is forbidden without proper privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Bookmark:BookmarkManager:add M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== PRIORITY P2
-
-test(function () {
- var bookmark = new tizen.BookmarkItem("tizen", "https://www.tizen.org");
- assert_throws({"name": "SecurityError"}, function () {
- tizen.bookmark.add(bookmark);
- });
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-<head>
-<title>BookmarkManager_get_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BookmarkManager_get_check_privilege
-//==== LABEL Check if method BookmarkManager::get() is forbidden without proper privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Bookmark:BookmarkManager:get M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== PRIORITY P2
-
-test(function () {
- assert_throws({"name": "SecurityError"}, function () {
- tizen.bookmark.get();
- });
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-
-
-Authors:
- Piotr Szydelko <p.szydelko@samsung.com>
-
--->
-<html>
-<head>
-<title>BookmarkManager_remove_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: BookmarkManager_remove_check_privilege
-//==== LABEL Check if method BookmarkManager::remove() is forbidden without proper privilege
-//==== SPEC: Tizen Web API:Tizen Specification:Bookmark:BookmarkManager:remove M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html
-//==== PRIORITY P2
-
-test(function () {
- assert_throws({"name": "SecurityError"}, function () {
- tizen.bookmark.remove();
- });
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method BookmarkManager::add() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_add_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_add.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BookmarkManager" element_type="method" element_name="add" specification="Bookmark" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method BookmarkManager::get() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_get_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_get.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BookmarkManager" element_type="method" element_name="get" specification="Bookmark" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method BookmarkManager::remove() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_remove_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_remove.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BookmarkManager" element_type="method" element_name="remove" specification="Bookmark" section="Social" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bookmark.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
</set>
<set name="Privilege_weareble" type="js">
<capabilities>
</description>
</testcase>
</set>
- <set name = "PrivilegeBookmark" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
- <capability name="http://tizen.org/feature/bookmark"/>
- </capabilities>
- <testcase purpose="Check if method BookmarkManager::add() is forbidden without proper privilege" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_add_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_add.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method BookmarkManager::get() is forbidden without proper privilege" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_get_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_get.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method BookmarkManager::remove() is forbidden without proper privilege" component="Tizen Device APIs/Social/Bookmark" execution_type="auto" priority="P2" id="BookmarkManager_remove_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BookmarkManager_remove.html</test_script_entry>
- </description>
- </testcase>
- </set>
<set name = "PrivilegeCalendar_mobile" type="js">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>