+++ /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:
- Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_createBonding_address_NotFound</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: BluetoothAdapter_createBonding_address_NotFound
-//==== LABEL Check whether createBonding() method called with invalid arguments reports not found error
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:createBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter, count = 1, createBondingSuccessCB, createBondingErrorCB,
- i, powerOnSuccess;
-t.step(function () {
-
- createBondingSuccessCB = t.step_func(function () {
- assert_unreached("Method createBonding shouldn't end successful.");
- });
-
- createBondingErrorCB = t.step_func(function (e) {
- assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (count === INVALID_BLUETOOTH_ADDRESS.length) {
- t.done();
- } else {
- count++;
- }
- });
-
- powerOnSuccess = t.step_func(function () {
- for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
- adapter.createBonding(INVALID_BLUETOOTH_ADDRESS[i], createBondingSuccessCB, createBondingErrorCB);
- }
- });
-
- adapter = tizen.bluetooth.getDefaultAdapter();
- setPowered(t, adapter, powerOnSuccess);
-});
-
-</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:
- Junghyuk Park <junghyuk.park@samsung.com>
-
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_destroyBonding_address_NotFound</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: BluetoothAdapter_destroyBonding_address_NotFound
-//==== LABEL Check whether destroyBonding() method called with invalid arguments reports not found error
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-var adapter = null, t = async_test(document.title, {timeout: 90000}),
- destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, count = 1, i;
-t.step(function () {
-
- destroyBondingSuccessCB = t.step_func(function () {
- assert_unreached("Shouldn't be here");
- });
-
- destroyBondingErrorCB = t.step_func(function (e) {
- assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (count === INVALID_BLUETOOTH_ADDRESS.length) {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
- t.done();
- });
- } else {
- count++;
- }
- });
-
- onBondingSuccess = t.step_func(function () {
- for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
- adapter.destroyBonding(INVALID_BLUETOOTH_ADDRESS[i], destroyBondingSuccessCB, destroyBondingErrorCB);
- }
- });
-
- onBondingError = t.step_func(function (e) {
- assert_unreached("onBondingError exception:" + e.message);
- });
-
- powerOnSuccess = t.step_func(function () {
- adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
- });
-
- adapter = tizen.bluetooth.getDefaultAdapter();
- setPowered(t, adapter, powerOnSuccess);
-});
-
-</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:
- Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_destroyBonding_address_TypeMismatch</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: BluetoothAdapter_destroyBonding_address_TypeMismatch
-//==== LABEL Check whether destroyBonding() method called with invalid address invokes errorCallback
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:destroyBonding M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter = tizen.bluetooth.getDefaultAdapter(), param = [null,
- undefined, 1, "aaa", [1, 2, 3], {}], count = 1, destroyBondingSuccess, destroyBondingError, i;
-t.step(function () {
-
- destroyBondingSuccess = t.step_func(function () {
- assert_unreached("Method destroyBonding shouldn't end successfully.");
- });
-
- destroyBondingError = t.step_func(function (e) {
- assert_equals(e.name, NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (count === param.length) {
- t.done();
- } else {
- count++;
- }
- });
-
- for (i = 0; i < param.length; i++) {
- adapter.destroyBonding(param[i], destroyBondingSuccess, destroyBondingError);
- }
-});
-
-</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:
- Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_getDevice_address_NotFound</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: BluetoothAdapter_getDevice_address_NotFound
-//==== LABEL Check whether getDevice() method called with invalid arguments reports not found error
-//==== EXECUTION_TYPE manual
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices.
-//==== TEST_CRITERIA MERRCB
-setup({timeout: 90000});
-var adapter = null, t = async_test(document.title, {timeout: 90000}),
- onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, gotDeviceError, count = 1, i;
-t.step(function () {
- gotDeviceInfo = t.step_func(function (device) {
- assert_unreached("Shouldn't be here");
- });
-
- gotDeviceError = t.step_func(function (e) {
- assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (count === INVALID_BLUETOOTH_ADDRESS.length) {
- adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
- t.done();
- });
- } else {
- count++;
- }
- });
-
- onBondingSuccess = t.step_func(function () {
- for (i = 0; i < INVALID_BLUETOOTH_ADDRESS.length; i++) {
- adapter.getDevice(INVALID_BLUETOOTH_ADDRESS[i], gotDeviceInfo, gotDeviceError);
- }
- });
-
- onBondingError = t.step_func(function (e) {
- assert_unreached("onBondingError exception:" + e.message);
- });
-
- powerOnSuccess = t.step_func(function () {
- adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
- });
-
- adapter = tizen.bluetooth.getDefaultAdapter();
- setPowered(t, adapter, powerOnSuccess);
-});
-
-</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:
- Witold Choinkowski <w.choinkowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>BluetoothAdapter_getDevice_address_TypeMismatch</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: BluetoothAdapter_getDevice_address_TypeMismatch
-//==== LABEL Check whether getDevice() method called with invalid address evokes errorCallback
-//==== PRIORITY P2
-//==== ONLOAD_DELAY 90
-//==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getDevice M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
-//==== TEST_CRITERIA MC
-setup({timeout: 90000});
-
-var t = async_test(document.title, {timeout: 90000}), adapter = tizen.bluetooth.getDefaultAdapter(), param = [null,
- undefined, 1, "aaa", [1, 2, 3], {}], count = 1, createBondingSuccess, createBondingError, i;
-t.step(function () {
-
- createBondingSuccess = t.step_func(function () {
- assert_unreached("Method getDevice shouldn't end successfully.");
- });
-
- createBondingError = t.step_func(function (e) {
- assert_true(e.name === NOT_FOUND_ERR, "Error for index " + count + " got " + e.name + " expected " + NOT_FOUND_ERR);
- if (count === param.length) {
- t.done();
- } else {
- count++;
- }
- });
-
- for (i = 0; i < param.length; i++) {
- adapter.getDevice(param[i], createBondingSuccess, createBondingError);
- }
-});
-
-</script>
-</body>
-</html>
var btAdapter = null;
var REMOTE_HEALTH_DEVICE_TYPE = 4100;
-var INVALID_BLUETOOTH_ADDRESS = [
- null, undefined, 0, 1, "tizen", [1, 2, 3], {}, "35:00:00:00:03"
-];
function setUnpowered (t, adapter, powerOfSuccess) {
var powerOfError = t.step_func(function (e) {
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether createBonding() method called with invalid arguments reports not found error" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_address_NotFound">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="createBonding" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether destroyBonding() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_address_NotFound">
- <description>
- <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="destroyBonding" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check whether discoverDevices() method called with invalid successCallback throws an exception" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether getDevice() method called with invalid arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_getDevice_address_NotFound">
- <description>
- <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getDevice" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check with optional arguments getKnownDevices(valid_successCallback, valid_errorCallback)" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_with_errorCallback">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="destroyBonding" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_address_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getDevice" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether createBonding() method called with invalid arguments reports not found error" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_address_NotFound">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check whether createBonding() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether destroyBonding() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_address_NotFound">
- <description>
- <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check whether discoverDevices() method called with invalid successCallback throws an exception" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_invalid_callback_name">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether getDevice() method called with invalid arguments reports not found error" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_getDevice_address_NotFound">
- <description>
- <pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check with optional arguments getKnownDevices(valid_successCallback, valid_errorCallback)" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_with_errorCallback">
<description>
<pre_condition>The bluetooth of the remote device MUST be turned on and discoverable from other devices.</pre_condition>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether destroyBonding() method called with invalid address invokes errorCallback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check whether destroyBonding() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html</test_script_entry>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether getDevice() method called with invalid address evokes errorCallback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_address_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check whether getDevice() method called with invalid successCallback and errorCallback set to null throws an exception" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null">
<description>
<test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html</test_script_entry>
+++ /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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>NotificationManager_get_invalid_argument</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_get_invalid_argument
-//==== LABEL Check whether calling get() method with incorrect notification id throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:get M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA
-
-test(function () {
- var notificationObj = tizen.notification, incorrectStr = "dummyValue";
-
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.get();
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.get(null);
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.get(undefined);
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.get(incorrectStr);
- });
-}, 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:
- Andrzej Krolikowski <a.krolikowsk@samsung.com>
--->
-<html>
-
-<head>
-<title>NotificationManager_remove_invalid_argument</title>
-<meta charset="utf-8">
-<script src="support/unitcommon.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: NotificationManager_remove_invalid_argument
-//==== LABEL Check whether calling remove() method with incorrect notification id throws an exception
-//==== PRIORITY P2
-//==== SPEC Tizen Web API:User Interface:Notification:NotificationManager:remove M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html
-//==== TEST_CRITERIA
-
-test(function () {
- var notificationObj = tizen.notification, incorrectStr = "dummyValue";
-
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.remove();
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.remove(null);
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.remove(undefined);
- });
- assert_throws(NOT_FOUND_EXCEPTION, function () {
- notificationObj.remove(incorrectStr);
- });
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_get_invalid_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="get" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P2" id="NotificationManager_remove_invalid_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NotificationManager" element_type="method" element_name="remove" specification="Notification" section="User Interface" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/notification.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" type="compliance" status="approved" component="TizenAPI/User Interface/Notification" execution_type="auto" priority="P1" id="StatusNotification_ledColor_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_removeAll_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether calling get() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_get_invalid_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_get_invalid_argument.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check whether calling remove() method with incorrect notification id throws an exception" component="TizenAPI/User Interface/Notification" execution_type="auto" id="NotificationManager_remove_invalid_argument">
- <description>
- <test_script_entry>/opt/tct-notification-tizen-tests/notification/NotificationManager_remove_invalid_argument.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if attribute ledColor of StatusNotification exists, has appropriate type" component="TizenAPI/User Interface/Notification" execution_type="auto" id="StatusNotification_ledColor_attribute">
<description>
<test_script_entry>/opt/tct-notification-tizen-tests/notification/StatusNotification_ledColor_attribute.html</test_script_entry>