--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEAdapter_isScanning_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEAdapter_isScanning_exist
+//==== LABEL Check if is BluetoothLEAdapter_isScanning exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEAdapter:isScanning M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ var adapter = tizen.bluetooth.getLEAdapter();
+ check_method_exists(adapter, "isScanning");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEDevice_addAttMtuChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEDevice_addAttMtuChangeListener_exist
+//==== LABEL Check if is BluetoothLEDevice_addAttMtuChangeListener exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEDevice:addAttMtuChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+setup({timeout: 180000});
+
+var adapter = null, t = async_test(document.title, {timeout: 180000}), SuccessCB, device = null;
+
+t.step(function () {
+
+ SuccessCB = t.step_func(function (bledevice) {
+ if (bledevice.address == REMOTE_BLE_DEVICE_ADDRESS && device == null) {
+ device = bledevice;
+ check_method_exists(device, "addAttMtuChangeListener");
+ t.done();
+ }
+ });
+
+ adapter = tizen.bluetooth.getLEAdapter();
+ adapter.stopScan();
+ adapter.startScan(SuccessCB);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEDevice_getAttMtu_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEDevice_getAttMtu_exist
+//==== LABEL Check if is BluetoothLEDevice_getAttMtu exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEDevice:getAttMtu M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+setup({timeout: 180000});
+
+var adapter = null, t = async_test(document.title, {timeout: 180000}), SuccessCB, device = null;
+
+t.step(function () {
+
+ SuccessCB = t.step_func(function (bledevice) {
+ if (bledevice.address == REMOTE_BLE_DEVICE_ADDRESS && device == null) {
+ device = bledevice;
+ adapter.stopScan();
+ check_method_exists(device, "getAttMtu");
+ t.done();
+ }
+ });
+
+ adapter = tizen.bluetooth.getLEAdapter();
+ adapter.stopScan();
+ adapter.startScan(SuccessCB);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEDevice_isConnected_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEDevice_isConnected_exist
+//==== LABEL Check if is BluetoothLEDevice_addAttMtuChangeListener exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEDevice:isConnected M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+setup({timeout: 180000});
+
+var adapter = null, t = async_test(document.title, {timeout: 180000}), SuccessCB, device = null;
+
+t.step(function () {
+
+ SuccessCB = t.step_func(function (bledevice) {
+ if (bledevice.address == REMOTE_BLE_DEVICE_ADDRESS && device == null) {
+ device = bledevice;
+ adapter.stopScan();
+ check_method_exists(device, "isConnected");
+ t.done();
+ }
+ });
+
+ adapter = tizen.bluetooth.getLEAdapter();
+ adapter.stopScan();
+ adapter.startScan(SuccessCB);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEDevice_removeAttMtuChangeListener_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEDevice_removeAttMtuChangeListener_exist
+//==== LABEL Check if is BluetoothLEDevice_addAttMtuChangeListener exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEDevice:removeAttMtuChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+setup({timeout: 180000});
+
+var adapter = null, t = async_test(document.title, {timeout: 180000}), SuccessCB, device = null;
+
+t.step(function () {
+
+ SuccessCB = t.step_func(function (bledevice) {
+ if (bledevice.address == REMOTE_BLE_DEVICE_ADDRESS && device == null) {
+ device = bledevice;
+ check_method_exists(device, "removeAttMtuChangeListener");
+ t.done();
+ }
+ });
+
+ adapter = tizen.bluetooth.getLEAdapter();
+ adapter.stopScan();
+ adapter.startScan(SuccessCB);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2020 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:
+ Feng Zhao <feng.zhao@samsung.com>
+
+-->
+<html>
+<head>
+<title>BluetoothLEDevice_requestAttMtuChange_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BluetoothLEDevice_requestAttMtuChange_exist
+//==== LABEL Check if is BluetoothLEDevice_addAttMtuChangeListener exist
+//==== SPEC Tizen Web API:TBD::BluetoothLEDevice:requestAttMtuChange M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/metadata.html
+//==== PRIORITY P0
+//==== TEST_CRITERIA ME
+
+setup({timeout: 180000});
+
+var adapter = null, t = async_test(document.title, {timeout: 180000}), SuccessCB, device = null;
+
+t.step(function () {
+
+ SuccessCB = t.step_func(function (bledevice) {
+ if (bledevice.address == REMOTE_BLE_DEVICE_ADDRESS && device == null) {
+ device = bledevice;
+ check_method_exists(device, "requestAttMtuChange");
+ t.done();
+ }
+ });
+
+ adapter = tizen.bluetooth.getLEAdapter();
+ adapter.stopScan();
+ adapter.startScan(SuccessCB);
+});
+
+</script>
+</body>
+</html>
\ No newline at end of file
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
<capability name="http://tizen.org/feature/network.bluetooth"/>
</capabilities>
+ <testcase purpose="Check if is BluetoothLEDevice_addAttMtuChangeListener_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_addAttMtuChangeListener_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_addAttMtuChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_getAttMtu_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_getAttMtu_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_getAttMtu_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_isConnected_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_isConnected_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_isConnected_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_removeAttMtuChangeListener_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_removeAttMtuChangeListener_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_removeAttMtuChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_requestAttMtuChange_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_requestAttMtuChange_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_requestAttMtuChange_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEAdapter_isScanning exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEAdapter_isScanning_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEAdapter_isScanning_exist.html</test_script_entry>
+ </description>
+ </testcase>
<!--testcase purpose="Check if BluetoothLEConnectChangeCallbacks are called and if their arguments have proper types" onload_delay="180" priority = "P3" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEConnectChangeCallback_connection">
<description>
<pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/network.bluetooth"/>
</capabilities>
+ <testcase purpose="Check if is BluetoothLEDevice_addAttMtuChangeListener_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_addAttMtuChangeListener_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_addAttMtuChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_getAttMtu_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_getAttMtu_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_getAttMtu_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_isConnected_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_isConnected_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_isConnected_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_removeAttMtuChangeListener_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_removeAttMtuChangeListener_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_removeAttMtuChangeListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEDevice_requestAttMtuChange_exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEDevice_requestAttMtuChange_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEDevice_requestAttMtuChange_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if is BluetoothLEAdapter_isScanning exist" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothLEAdapter_isScanning_exist" priority = "P3" onload_delay="180">
+ <description>
+ <pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>several tests executed from base test</step_desc>
+ <expected>all subtests should be successful</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothLEAdapter_isScanning_exist.html</test_script_entry>
+ </description>
+ </testcase>
<testcase purpose="Check if BluetoothGATT works" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothGATTCombined" priority = "P3" onload_delay="180">
<description>
<pre_condition>The bluetooth of the remote/test device MUST support BLE and be turned on and discoverable from other devices.</pre_condition>