[common][privilege][TWDAPI-257, deprecate bookmark module] 78/233478/1
authorqunfang.lin <qunfang.lin@samsung.com>
Thu, 14 May 2020 20:58:25 +0000 (04:58 +0800)
committerqunfang.lin <qunfang.lin@samsung.com>
Thu, 14 May 2020 20:59:27 +0000 (04:59 +0800)
add: 0 TC, modify: 0 TC, delete: 3 TCs

Change-Id: I72b9db993fb3d7daefd7ea4f22ed38ad3f7b3932
Signed-off-by: qunfang.lin <qunfang.lin@samsung.com>
common/tct-privilege-tizen-tests/privilege/BookmarkManager_add.html [deleted file]
common/tct-privilege-tizen-tests/privilege/BookmarkManager_get.html [deleted file]
common/tct-privilege-tizen-tests/privilege/BookmarkManager_remove.html [deleted file]
common/tct-privilege-tizen-tests/tests.full.xml
common/tct-privilege-tizen-tests/tests.xml

diff --git a/common/tct-privilege-tizen-tests/privilege/BookmarkManager_add.html b/common/tct-privilege-tizen-tests/privilege/BookmarkManager_add.html
deleted file mode 100755 (executable)
index 5b1b928..0000000
+++ /dev/null
@@ -1,49 +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:
-        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>
diff --git a/common/tct-privilege-tizen-tests/privilege/BookmarkManager_get.html b/common/tct-privilege-tizen-tests/privilege/BookmarkManager_get.html
deleted file mode 100755 (executable)
index ffce20a..0000000
+++ /dev/null
@@ -1,48 +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:
-        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>
diff --git a/common/tct-privilege-tizen-tests/privilege/BookmarkManager_remove.html b/common/tct-privilege-tizen-tests/privilege/BookmarkManager_remove.html
deleted file mode 100755 (executable)
index ca40bf6..0000000
+++ /dev/null
@@ -1,48 +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:
-        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>
index 41a8580f48633b6248cdb8ed0d620be80c24c679..1c59399ccb3d94b4743d2a3e01aea108dcefc121 100755 (executable)
           </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>
index e297eb4649ac4ca7df78ad2a85deb5d9b1ee82db..3778f406e423331e11a06f6d027f5d248e897184 100755 (executable)
         </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>