+++ /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:
- Junghyuk Park <junghyuk.park@samsung.com>
-
--->
-<html>
-<head>
-<title>WebSettingManager_removeAllCookies_check_privilege</title>
-<meta charset="utf-8">
-<script type="text/javascript" src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: WebSettingManager_removeAllCookies_check_privilege
-//==== LABEL Check if method WebSettingManager::removeAllCookies() is forbidden without proper privilege
-//==== SPEC: Tizen Web API:Tizen Specification:WebSetting:WebSettingManager:removeAllCookies M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/websetting.html
-//==== PRIORITY P2
-
-test(function () {
- assert_throws({"name": "SecurityError"}, function () {
- tizen.websetting.removeAllCookies();
- });
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method BluetoothManager::getLEAdapter is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" priority="P1" id="BluetoothManager_getLEAdapter_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BluetoothManager_getLEAdapter.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothManager" element_type="method" element_name="getLEAdapter" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/development/api-references/api-reference-2.4.0?redirect=https%3A//developer.tizen.org/dev-guide/latest/org.tizen.gettingstarted/html/cover_page.htm</spec_url>
- <spec_statement>TBD</spec_statement>
- </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>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method WebSettingManager::removeAllCookies() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/System/WebSetting" execution_type="auto" priority="P2" id="WebSettingManager_removeAllCookies_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/WebSettingManager_removeAllCookies.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="WebSettingManager" element_type="method" element_name="removeAllCookies" specification="WebSetting" section="System" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/websetting.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if method AppCommunicationService::start() is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Tizen Specification/Convergence" execution_type="auto" priority="P2" id="AppCommunicationService_start_check_privilege">
<description>
<test_script_entry>/opt/tct-privilege-tizen-tests/privilege/AppCommunicationService_start.html</test_script_entry>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if method BluetoothManager::getLEAdapter is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" priority="P1" id="BluetoothManager_getLEAdapter_check_privilege">
+ <description>
+ <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BluetoothManager_getLEAdapter.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="BluetoothManager" element_type="method" element_name="getLEAdapter" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/development/api-references/api-reference-2.4.0?redirect=https%3A//developer.tizen.org/dev-guide/latest/org.tizen.gettingstarted/html/cover_page.htm</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
<set name="Privilege_weareble" type="js">
<capabilities>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if method BluetoothManager::getLEAdapter is forbidden without proper privilege" type="compliance" status="approved" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" priority="P1" id="BluetoothManager_getLEAdapter_check_privilege">
+ <description>
+ <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BluetoothManager_getLEAdapter.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="BluetoothManager" element_type="method" element_name="getLEAdapter" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/development/api-references/api-reference-2.4.0?redirect=https%3A//developer.tizen.org/dev-guide/latest/org.tizen.gettingstarted/html/cover_page.htm</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
</suite>
</test_definition>
</description>
</testcase>
</set>
- <set name = "PrivilegeBluetooth" type="js">
+ <set name = "PrivilegeBluetooth_mobile" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/network.bluetooth"/>
+ <capability name="http://tizen.org/feature/network.bluetooth"/>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ </capabilities>
+<!-- <testcase purpose="Check if method BluetoothManager::getDefaultAdapter is forbidden without proper privilege" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothManager_getDefaultAdapter_check_privilege">
+ <description>
+ <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BluetoothManager_getDefaultAdapter.html</test_script_entry>
+ </description>
+ </testcase> -->
+ <testcase purpose="Check if method BluetoothManager::getLEAdapter is forbidden without proper privilege" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" id="BluetoothManager_getLEAdapter_check_privilege">
+ <description>
+ <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/BluetoothManager_getLEAdapter.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
+ <set name = "PrivilegeBluetooth_wearable" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/network.bluetooth"/>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</capabilities>
<!-- <testcase purpose="Check if method BluetoothManager::getDefaultAdapter is forbidden without proper privilege" component="Tizen Device APIs/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothManager_getDefaultAdapter_check_privilege">
<description>
</description>
</testcase>
</set>
-<!-- <set name = "PrivilegeWebsetting" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/websetting"/>
- </capabilities>
- <testcase purpose="Check if method WebSettingManager::removeAllCookies() is forbidden without proper privilege" component="Tizen Device APIs/System/WebSetting" execution_type="auto" priority="P2" id="WebSettingManager_removeAllCookies_check_privilege">
- <description>
- <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/WebSettingManager_removeAllCookies.html</test_script_entry>
- </description>
- </testcase>
- </set> -->
<set name = "PrivilegeHumanActivityMonitor" type="js">
<capabilities>
<capability name="http://tizen.org/feature/sensor.pedometer"/>