[Bluetooth] cleanup
authorWitold Choinkowski <w.choinkowsk@samsung.com>
Tue, 8 Oct 2013 09:22:52 +0000 (11:22 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 8 Oct 2013 10:23:56 +0000 (10:23 +0000)
Change-Id: Ic65a056b3c102203caed79e7b45400ffc8cc4fe1

Conflicts:

tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html

107 files changed:
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onnamechanged.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onstatechanged.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_bondingDevice.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicebonded.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicename_correct.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceuuid_correct.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_onerror.html [changed mode: 0755->0644]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_successful.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfinish_successful.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_deviceaddress.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_devicename.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_successful.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getBluetoothProfileHandler.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_successful.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_callback_error.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_longname.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPower_off.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_errorCallback.html [changed mode: 0755->0644]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_successCallback.html [changed mode: 0755->0644]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_timeout.html [changed mode: 0755->0644]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_callback_onerror.html [changed mode: 0755->0644]
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener_extra_argument.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothClass_hasService.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDeviceArraySuccessCallback_onsuccess.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicedisappeared.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicefound.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onfinished.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onstarted.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplicationSuccessCallback_onsuccess.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_callback_onerror.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_connectToSource_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_callback_error.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter_extra_argument.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_in_tizen.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_errorCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_successCallback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceSuccessCallback_onsuccess.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocketState_open_enum.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_close.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onclose_callback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onmessage_callback.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_readData.html
tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_writeData.html
tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js
tct-bluetooth-tizen-tests/tests.full.xml
tct-bluetooth-tizen-tests/tests.xml

index c7672a0162c5b5f8457d36b0fc22a854b5c28cb5..1410a45efbcc74969057255c13e92a1300d2e68c 100644 (file)
@@ -39,13 +39,13 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA CBT CBOA
 setup({timeout:90000});
-var powerOnSuccess, powerOnError, adapter, listener, t = async_test("BluetoothAdapterChangeCallback_onnamechanged", {timeout:90000}), test_name;
+var powerOnSuccess, adapter, listener, t = async_test("BluetoothAdapterChangeCallback_onnamechanged", {timeout:90000}), test_name;
 t.step(function () {
     listener = {
         onstatechanged: t.step_func(function (powered) {
         }),
         onnamechanged: t.step_func(function (name) {
-            assert_type(name, "string", "name has wrong type");
+            assert_type(name, "string", "Argument name has wrong type.");
             if (name === test_name) {
                 adapter.unsetChangeListener();
                 t.done();
@@ -61,13 +61,10 @@ t.step(function () {
         adapter.setName(test_name);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index c3da5ff54cdca72c250309f79bd4bcf09e9fede3..5c70d6471e5cbdb4a52a5de1f0601282682b2060 100644 (file)
@@ -44,8 +44,8 @@ var adapter, listener, value, t = async_test("BluetoothAdapterChangeCallback_ons
 t.step(function () {
     listener = {
         onstatechanged: t.step_func(function (powered) {
-            assert_type(powered, "boolean", "powered has wrong type");
-            assert_equals(powered, value, "powered has wrong value");
+            assert_type(powered, "boolean", "Argument powered has wrong type.");
+            assert_equals(powered, value, "Argument powered has wrong value.");
             adapter.unsetChangeListener();
             t.done();
         }),
@@ -61,6 +61,7 @@ t.step(function () {
 
     adapter.setPowered(value);
 });
+
 </script>
 </body>
 </html>
index a4249b9c88a4c04323b135f4345caf98546bcf4f..0c79eb6896e56298fec996426cbdd0036f6ca74c 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA CBT CBOA
 setup({timeout:90000});
-var powerOnSuccess, powerOnError, adapter, listener, value, t = async_test("BluetoothAdapterChangeCallback_onvisibilitychanged", {timeout:90000});
+var powerOnSuccess, adapter, listener, value, t = async_test("BluetoothAdapterChangeCallback_onvisibilitychanged", {timeout:90000});
 t.step(function () {
     listener = {
         onstatechanged: t.step_func(function (powered) {
@@ -47,8 +47,8 @@ t.step(function () {
         onnamechanged: t.step_func(function (name) {
         }),
         onvisibilitychanged: t.step_func(function (visible) {
-            assert_type(visible, "boolean", "visible has wrong type");
-            assert_equals(visible, value, "powered has wrong value");
+            assert_type(visible, "boolean", "Argument visible has wrong type.");
+            assert_equals(visible, value, "Argument visible has wrong value.");
             adapter.unsetChangeListener();
             t.done();
         })
@@ -60,13 +60,10 @@ t.step(function () {
         adapter.setVisible(value);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index c1b1b0d38bdc9b0b863629ffa51c4e33d698bc61..7000d720ecd579ed3b9c490851253b853398c13b 100644 (file)
@@ -41,7 +41,7 @@ Authors:
 
 setup({timeout: 90000});
 var adapter = null, t = async_test("BluetoothAdapter_createBonding",{timeout:90000}), createBondingSuccess,
-    powerOnSuccess, powerOnError, retValue = null;
+    powerOnSuccess, retValue = null;
 t.step(function () {
     createBondingSuccess = t.step_func(function (device) {
         check_bluetooth_device(device);
@@ -54,13 +54,10 @@ t.step(function () {
         retValue = adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
-  </body>
+</body>
 </html>
index 50fbaa93c9a10e67e0ab52439c7258f79a25d79e..755839ba593095cbe1d3e15a7b202dfded80e11e 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_createBonding_address_NotFound</title>
@@ -33,26 +33,28 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: BluetoothAdapter_createBonding_address_NotFound
-//==== LABEL check whether 'createBonding' method called with invalid arguments reports not found error
+//==== 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#createBondingid2317306
+//==== 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("BluetoothAdapter_createBonding_address_NotFound", {timeout: 90000});
 t.step(function () {
-    var adapter, count = 0, createBondingSuccessCB, createBondingErrorCB, i, powerOnSuccess, powerOnError;
+    var adapter, count = 0, createBondingSuccessCB, createBondingErrorCB, i, powerOnSuccess;
 
     createBondingSuccessCB = t.step_func(function () {
-        assert_unreached("Shouldn't be here");
+        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) {
+        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
             t.done();
+        } else {
+            count++;
         }
     });
 
@@ -62,13 +64,10 @@ t.step(function () {
         }
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index d5a864c75263bc75ac355a6e4a12fabaef618e92..ef81987c8fe20ee7cb3bb34e8fe7e68488368459 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothAdapter interface - usage test of interface</title>
+<title>BluetoothAdapter_createBonding_bondingDevice</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -92,6 +92,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index d3ebad83c45f17bcdb8fdddbd814b9a0b74aeb1d..ac977f6eb248089f3d43bde5f18427756caec0fd 100644 (file)
@@ -50,14 +50,14 @@ setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_createBonding_callback_onerror", {timeout: 90000});
 t.step(function (){
-    var adapter, powerOffError, powerOffSuccess, onBondingError, onBondingSuccess;
+    var adapter, powerOffSuccess, onBondingError, onBondingSuccess;
 
     onBondingSuccess = t.step_func(function (device) {
-        assert_unreached("onBondingSuccess shouldn't be here");
+        assert_unreached("Method createBonding shouldn't end successful.");
     });
 
     onBondingError = t.step_func(function (e) {
-        assert_equals(e.name, "ServiceNotAvailableError", "error name in onBondingError");
+        assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in createBonding.");
         t.done();
     });
 
@@ -65,13 +65,10 @@ t.step(function (){
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 4b485803f9dcbb56b644ed338db4e398824fd85b..7f68f2217fd6d57f63f16f3a90e0914bcb254d8d 100644 (file)
@@ -51,7 +51,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_createBonding_deviceaddress_correct", {timeout:90000});
 t.step(function () {
-    var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+    var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
 
     onBondingSuccess = t.step_func(function (device) {
         assert_equals(device.address, REMOTE_DEVICE_ADDRESS, "device address in onBondingSuccess");
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 0f33f6db2ff50ce61c83186be2757ca11f91528b..f4357585d8d9e8f71b92bd46afa4ac4ac5b8e925 100644 (file)
@@ -51,7 +51,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_createBonding_devicebonded", {timeout:90000});
 t.step(function () {
-    var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+    var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
 
     onBondingSuccess = t.step_func(function (device) {
         assert_equals(device.address, REMOTE_DEVICE_ADDRESS, "device address in onBondingSuccess");
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 084604145fafe9f9082872557cfbcc6e1fdad7e9..9af9eff8a7039c235af2bddc5035bf1a4a4f561d 100644 (file)
@@ -52,7 +52,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_createBonding_devicename_correct", {timeout:90000});
 t.step(function () {
-    var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess;
+    var adapter, powerOnSuccess, onBondingError, onBondingSuccess;
 
     onBondingSuccess = t.step_func(function (device) {
         assert_equals(device.name, REMOTE_DEVICE_NAME, "device name in onBondingSuccess");
@@ -67,13 +67,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index c372009a30a6f2dca476a2e680fb736b290de7e8..28070715bf2b0d57b24fc9be8b4bda8df110605d 100644 (file)
@@ -52,7 +52,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_createBonding_deviceuuid_correct", {timeout:90000});
 t.step(function () {
-    var adapter, powerOnError, powerOnSuccess, onBondingError, onBondingSuccess, message = "UUIDs: \n", i;
+    var adapter, powerOnSuccess, onBondingError, onBondingSuccess, message = "UUIDs: \n", i;
 
     onBondingSuccess = t.step_func(function (device) {
         for(i = 0; i < device.uuids.length; i ++) {
@@ -72,13 +72,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 222414eb378d49728e4941a586db245cd4014832..8ff9573f9afea2cf833e9b154fa4f0c25fa2f6ce 100644 (file)
@@ -41,7 +41,7 @@ setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_createBonding_missarg", {timeout: 90000});
 t.step(function (){
-    var adapter, powerOnError, powerOnSuccess;
+    var adapter, powerOnSuccess;
 
     powerOnSuccess = t.step_func(function () {
         assert_throws ({name:"TypeMismatchError"},
@@ -51,13 +51,10 @@ t.step(function (){
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 4e0da1c0c3b63607f6890e3507478634485a3ab7..c791d5e4e0df92d3cf6f91be3cec75538146348b 100644 (file)
@@ -50,7 +50,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 var adapter = null,t = async_test("BluetoothAdapter_createBonding_with_errorCallback",{timeout:90000}),
-    createBondingSuccess, createBondingError, powerOnSuccess, powerOnError;
+    createBondingSuccess, createBondingError, powerOnSuccess;
 t.step(function () {
     createBondingSuccess = t.step_func(function (device) {
         check_bluetooth_device(device);
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, createBondingSuccess, createBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
-  </body>
+</body>
 </html>
index 679093b3f4eca9b23ad7cdc78d79eacef749fc7b..1c4ea09be4e4c551922d25845d2bd0e95ff47e43 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 setup({timeout: 90000});
 var adapter = null, t = async_test("BluetoothAdapter_destroyBonding",{timeout:90000}),
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+    onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
 t.step(function () {
     onBondingSuccess = t.step_func(function () {
         retValue = adapter.destroyBonding(REMOTE_DEVICE_ADDRESS);
@@ -57,13 +57,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index ec682216c76c5a949ac0d83a9226ad7e7178676b..455de18ce2cb38ea77f864a7afc404bee568b552 100644 (file)
@@ -21,7 +21,7 @@ Authors:
         Junghyuk Park <junghyuk.park@samsung.com>
 
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_destroyBonding_address_NotFound</title>
@@ -34,16 +34,16 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: BluetoothAdapter_destroyBonding_address_NotFound
-//==== LABEL check whether 'destroyBonding' method called with invalid arguments reports not found error
+//==== 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#destroyBondingid2317500
+//==== 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("BluetoothAdapter_destroyBonding_address_NotFound",{timeout:90000}),
-    destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, count = 0, i;
+    destroyBondingSuccessCB, destroyBondingErrorCB, onBondingSuccess, onBondingError, powerOnSuccess, count = 0, i;
 t.step(function () {
 
     destroyBondingSuccessCB = t.step_func(function () {
@@ -52,10 +52,12 @@ t.step(function () {
 
     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() {
+        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
+            adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
                 t.done();
             });
+        } else {
+            count++;
         }
     });
 
@@ -73,13 +75,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index a7b4a64d65b8ff9ec4caa3b875fbc15ca59d742e..128b9e05a801375b1eff7b8681439003c40aa1fe 100644 (file)
@@ -50,7 +50,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_destroyBonding_callback_onerror", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOffSuccess, powerOffError, onDestroySuccess, onDestroyError;
+    var adapter, powerOffSuccess, onDestroySuccess, onDestroyError;
 
     onDestroySuccess = t.step_func(function () {
         assert_unreached("onDestroySuccess shouldn't be here");
@@ -65,13 +65,10 @@ t.step(function () {
         adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, onDestroySuccess, onDestroyError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 51e2fe2b0d63b3165df82e9114814eaae9a1191b..5e91128090688d88635c931a2fb6b9a54cf8c2d2 100644 (file)
@@ -49,7 +49,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_with_errorCallback",{timeout:90000}),
-    successCallback, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    successCallback, errorCallback, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
     successCallback = t.step_func(function () {
         t.done();
@@ -71,13 +71,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index ad28b2ab04ee70205c3bd2fc83c8ada573c5f0c3..7c80e17a9a2a5f72d0d277423ea75bed8de68161 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 var adapter = null, t = async_test("BluetoothAdapter_destroyBonding_with_successCallback",{timeout:90000}),successCallback,
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
     successCallback = t.step_func(function () {
         t.done();
@@ -58,13 +58,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index d2c2265c7a4e0fedae76133d0fd1b4c107b252ee..889e0596114aebc9d31977702ba7d2780ffc1b5d 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>bluetooth.adapter.discoverDevices() - found devices finish</title>
+<title>BluetoothAdapter_discoverDevices</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -65,6 +65,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
old mode 100755 (executable)
new mode 100644 (file)
index 6d33675..154c861
@@ -38,9 +38,10 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MERRCB
 setup({timeout:90000});
-var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_callback_onerror",{ timeout:90000 }), powerOffSuccess,
-    powerOffError,discoverDevicesSuccessCB, errorCallback;
+var adapter = null, t = async_test("BluetoothAdapter_discoverDevices_callback_onerror",{ timeout:90000 }), stopDiscoverySuccess,
+    discoverDevicesSuccessCB, errorCallback, powerOffSuccess;
 t.step(function () {
+
     discoverDevicesSuccessCB = {
         onstarted: t.step_func(function () {
             assert_unreached("invalid onstarted invoked");
@@ -48,29 +49,32 @@ t.step(function () {
         ondevicefound: t.step_func(function (device) {
             assert_unreached("invalid ondevicefound invoked");
         }),
-        ondevicedisappeared: function (address) {
+        ondevicedisappeared: t.step_func(function (address) {
             assert_unreached("invalid ondevicedisappeared invoked");
-        },
+        }),
         onfinished: t.step_func(function (devices) {
             assert_unreached("invalid onfinished invoked");
         })
     };
+
     errorCallback = t.step_func(function (error) {
         assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
 
         t.done();
     });
+
     powerOffSuccess = t.step_func(function () {
         adapter.discoverDevices(discoverDevicesSuccessCB,errorCallback);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception:" + e.message);
+    stopDiscoverySuccess = t.step_func(function () {
+        setUnpowered(t, adapter, powerOffSuccess);
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 3541ea5955ba118a60e5c2b3620d4686e301586e..ba6606d2b58dcfc0f1851d4e415ead50525019db 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.discoverDevices() - call back successful</title>
+<title>BluetoothAdapter_discoverDevices_callback_successful</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -75,6 +75,7 @@ t.step(function () {
     setBluetoothDiscoveryCleanup(adapter);
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 41c0cf194a6a98826cc4293706ba68efada1e4c0..120ef3579efb3f8e35407e5534afefaa6a444ffe 100644 (file)
@@ -20,10 +20,10 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_discoverDevices_invalid_callback_name</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -34,11 +34,11 @@ Authors:
 <script>
 
 //==== TEST: BluetoothAdapter_discoverDevices_invalid_callback_name
-//==== LABEL check whether 'discoverDevices' method called with invalid successCallback throws an exception
+//==== LABEL check whether discoverDevices() method called with invalid successCallback throws an exception
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:discoverDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MMINA MAST
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_discoverDevices_invalid_callback_name",{timeout:90000});
@@ -70,8 +70,5 @@ t.step(function () {
 }, "BluetoothAdapter_discoverDevices_invalid_callback_name");
 
 </script>
-
 </body>
-
 </html>
-
index 02631c5e522bbd829bc64c1b786ffa24fd519374..d14b644e162d2c98bdadd48fb2210ee0cc31fc57 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothAdapter.discoverDevices() - Check with missing non-optional argument </title>
+<title>BluetoothAdapter_discoverDevices_missarg</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -53,6 +53,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 120c46cdc1da09c8f000b11694c9a5ab66a397cc..8e509f9d670a911c1411c767fe2d4a748a62c0ae 100644 (file)
@@ -77,6 +77,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index c05dd60ba97652bedfe2bafdf6b03d3f075ecced..7331a2fc3f039d3379f2cee7fcd30d277fc20a4c 100644 (file)
@@ -82,6 +82,7 @@ t.step(function () {
     setBluetoothDiscoveryCleanup(adapter);
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 85bb4a02b18261cccfdd8d2a9a563fca8e852a5f..a871f4f1b4c62aace57db0df219a9d0c5e4e506f 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.discoverDevices() - found device name</title>
+<title>BluetoothAdapter_discoverDevices_onfound_devicename</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -81,6 +81,7 @@ t.step(function () {
     setBluetoothDiscoveryCleanup(adapter);
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 16f3fa5affec75098c70d5540a380913f49ec8ad..27e3023f3cd09d1611d83d87c03b5521edf09602 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.discoverDevices() - found device</title>
+<title>BluetoothAdapter_discoverDevices_onfound_successful</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -82,6 +82,7 @@ t.step(function () {
     setBluetoothDiscoveryCleanup(adapter);
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 068ed1ad82bf155ed436d347f1a6b27b68ef7329..5c30fec8b35b337fd41a235b95163cfa04e66650 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>_with_errorCallback</title>
+<title>BluetoothAdapter_discoverDevices_with_errorCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -69,6 +69,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 129c9dd32ba9a03ef79f4c4c3cf3431eab1fda48..66f6e33af65a9b6ddbc326cf14947d3352e37dbc 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_function_type_check</title>
@@ -36,7 +36,7 @@ Authors:
 //==== TEST: BluetoothAdapter_function_type_check
 //==== LABEL check if BluetoothAdapter exists and implements methods
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothManager:getDefaultAdapter M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#::Bluetooth::BluetoothAdapter
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MR MNA
 test(function () {
     var globalBluetoothAdapter = tizen.bluetooth.getDefaultAdapter();
@@ -53,8 +53,5 @@ test(function () {
 }, "BluetoothAdapter_function_type_check");
 
 </script>
-
 </body>
-
 </html>
-
index 91da6cc66ca97f3b595ba688bdd2e7a755fd3392..f56da514efe217cacc6728de540d73d0fa1b7a04 100644 (file)
@@ -43,6 +43,7 @@ test(function () {
 
     assert_equals(healthProfileHandler.profileType, profileType, "healthProfileHandler profileType has wrong value or type");
 }, "BluetoothAdapter_getBluetoothProfileHandler");
+
 </script>
 </body>
 </html>
index 8b824d149c3a63eeb0784010b2581f36afd2733f..99a89e9607ab8ab30f789ddb309d947a2f62c21a 100644 (file)
@@ -41,11 +41,11 @@ Authors:
 //==== TEST_CRITERIA MMINA MAST MR
 setup({timeout:90000});
 var adapter = null,t = async_test("BluetoothAdapter_getDevice", {timeout:90000}),
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, gotDeviceInfo, retValue = null;
+    onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, retValue = null;
 t.step(function () {
     gotDeviceInfo = t.step_func(function (device) {
         check_bluetooth_device(device);
-        assert_equals(retValue, undefined, "getDevice returns wrong value");
+        assert_equals(retValue, undefined, "Argument getDevice returns wrong value.");
         t.done();
     });
 
@@ -61,13 +61,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 351cc64e07be6a2d068818711a8625f1bd98c722..bcf8d03813f80f362179295d19601d39496303fe 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_getDevice_address_NotFound</title>
@@ -34,16 +34,16 @@ Authors:
 <script>
 
 //==== TEST: BluetoothAdapter_getDevice_address_NotFound
-//==== LABEL check whether 'getDevice' method called with invalid arguments reports not found error
+//==== 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#getDeviceid2317115
+//==== 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("BluetoothAdapter_getDevice_address_NotFound", {timeout:90000}),
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, gotDeviceInfo, gotDeviceError, count = 0, i;
+    onBondingSuccess, onBondingError, powerOnSuccess, gotDeviceInfo, gotDeviceError, count = 0, i;
 t.step(function () {
     gotDeviceInfo = t.step_func(function (device) {
         assert_unreached("Shouldn't be here");
@@ -51,10 +51,12 @@ t.step(function () {
 
     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() {
+        if (count === INVALID_BLUETOOTH_ADDRESS.length) {
+            adapter.destroyBonding(REMOTE_DEVICE_ADDRESS, function () {
                 t.done();
             });
+        } else {
+            count++;
         }
     });
 
@@ -72,13 +74,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 451b162a1da17b8c7de3a3b0e2f56e0c6cd3ca6c..f89af2de7b0a4f2278cdb2a5b570d8ec82de64b5 100644 (file)
@@ -50,14 +50,14 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_getDevice_callback_onerror", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOffSuccess, powerOffError, gotDeviceInfo, gotDeviceError;
+    var adapter, powerOffSuccess, gotDeviceInfo, gotDeviceError;
 
     gotDeviceInfo = t.step_func(function (device) {
-        assert_unreached("Should not be here");
+        assert_unreached("Method getDevice shouldn't end successful.");
     });
 
-    gotDeviceError = t.step_func(function (e) {
-        assert_equals(e.name, "ServiceNotAvailableError", "error name in gotDeviceError");
+    gotDeviceError = t.step_func(function (error) {
+        assert_equals(error.name, "ServiceNotAvailableError", "Wrong value of error name in gotDeviceError.");
         t.done();
     });
 
@@ -65,13 +65,10 @@ t.step(function () {
         adapter.getDevice(REMOTE_DEVICE_ADDRESS, gotDeviceInfo, gotDeviceError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 3758d82b9d855af1308783f645b13cf8e9953823..60714ac0b3f508edda9b80d2092584ce25f54098 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_getDevice_missarg", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError;
+    var adapter, powerOnSuccess;
 
     powerOnSuccess = t.step_func(function () {
         assert_throws ({name:"TypeMismatchError"},
@@ -50,13 +50,10 @@ t.step(function () {
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index bbd6df51d9514122716f6c1a7fce32b99057050f..89fe5ee53854fa7ccfea452826b994d469901c52 100644 (file)
@@ -51,7 +51,7 @@ Authors:
 //==== TEST_CRITERIA MOA
 setup({timeout:90000});
 var adapter = null,t = async_test("BluetoothAdapter_getDevice_with_errorCallback", {timeout:90000}),
-    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
     gotDeviceInfo = t.step_func(function (device) {
         check_bluetooth_device(device);
@@ -74,13 +74,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 831f9e685784b91bf3b1c664e46f53fafc272c38..e259381ff8b4d05989c91e6dd8a800cfc2826bbd 100644 (file)
@@ -18,9 +18,9 @@ limitations under the License.
 
 
 Authors:
-    Lukasz Bardeli <l.bardeli@samsung.com>
+        Lukasz Bardeli <l.bardeli@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_getKnownDevices</title>
@@ -36,7 +36,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== 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 MMINA MAST MR
 setup({timeout:90000});
@@ -47,7 +47,7 @@ t.step(function () {
     testDeviceSuccessCB = t.step_func(function (devices) {
         check_bluetooth_device_array(devices);
         check_bluetooth_device(devices[0]);
-        assert_equals(retValue, undefined, "getKnownDevices returns wrong value");
+        assert_equals(retValue, undefined, "Method getKnownDevices returns wrong value.");
 
         t.done();
     });
@@ -77,6 +77,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index fb436a360ce57c141567c7e599b8e676f02899f2..9ef6ff78f1cd6674698c474e91513f825d3c95b7 100644 (file)
@@ -51,14 +51,14 @@ setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_getKnownDevices_callback_onerror", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOffSuccess, powerOffError, getKnownDevicesSuccess, getKnownDevicesError;
+    var adapter, powerOffSuccess, getKnownDevicesSuccess, getKnownDevicesError;
 
     getKnownDevicesSuccess = t.step_func(function (devices) {
-        assert_unreached("Shouldn't be here");
+        assert_unreached("Method getKnownDevices shouldn't end successful.");
     });
 
     getKnownDevicesError = t.step_func(function (e) {
-        assert_equals(e.name, "ServiceNotAvailableError", "error name in getKnownDevicesError");
+        assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in getKnownDevicesError.");
         t.done();
     });
 
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.getKnownDevices(getKnownDevicesSuccess, getKnownDevicesError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 5fefd20d8cec266c57809e56b3cb2831230c1a2c..6c1e62ace769886c985239ff76e2c27a60fd4654 100644 (file)
@@ -51,7 +51,7 @@ setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_getKnownDevices_callback_successful", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError, getKnownDevicesSuccess, getKnownDevicesError;
+    var adapter, powerOnSuccess, getKnownDevicesSuccess, getKnownDevicesError;
 
     getKnownDevicesSuccess = t.step_func(function (devices) {
         t.done();
@@ -65,13 +65,10 @@ t.step(function () {
         adapter.getKnownDevices(getKnownDevicesSuccess, getKnownDevicesError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 094629faae745e255df9939c0f341590c2736f19..e7ab9a53f603361bf816282b18b0b63b6294d6ae 100644 (file)
@@ -20,7 +20,7 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
 <title>BluetoothAdapter_getKnownDevices_check_types</title>
@@ -37,7 +37,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== 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 MMINA
 setup({timeout:90000});
@@ -92,8 +92,5 @@ t.step(function () {
 });
 
 </script>
-
 </body>
-
 </html>
-
index e561ee2f9f5b424e26740a1fb8cb0fb27dd8f31c..89fc964f8ecc284874010da8d654b61378589f42 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothAdapter.getKnownDevices() - Check with missing non-optional argument</title>
+<title>BluetoothAdapter_getKnownDevices_missarg</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -40,7 +40,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_getKnownDevices_missarg", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError;
+    var adapter, powerOnSuccess;
 
     powerOnSuccess = t.step_func(function () {
         assert_throws ({name:"TypeMismatchError"},
@@ -50,13 +50,10 @@ t.step(function () {
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 0703e0adc178a0f1cbe425a69813b406e19a7212..6b1cd52afa53e048a159d58da8d80aee71e46e59 100644 (file)
@@ -17,12 +17,12 @@ limitations under the License.
 
 
 Authors:
-    Lukasz Bardeli <l.bardeli@samsung.com>
+        Lukasz Bardeli <l.bardeli@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_getKnownDevices_with_errorCallback</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -35,7 +35,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:getKnownDevices M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922
+//==== 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 MOA
 setup({timeout:90000});
@@ -79,6 +79,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 260793a02f48985823d5849ef28d498b2cce727b..ea40b5c722e9eb1486c18f2645a87a62ecc437b7 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -48,18 +48,18 @@ Authors:
 //==== TEST_CRITERIA MMINA MAST MR
 setup({timeout:90000, explicit_done:true});
 var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID",{ timeout: 90000 }), registerRFCOMMServiceByUUIDSuccess,
-    powerOnSuccess, powerOnError, retValue = null;
+    powerOnSuccess, retValue = null;
 t.step(function () {
 
     registerRFCOMMServiceByUUIDSuccess = t.step_func(function (handler) {
         setBluetoothHandlerCleanup(handler);
-        assert_true("uuid" in handler, "No uuid in recordHandler");
-        assert_true("name" in handler, "No name in recordHandler");
-        assert_true("isConnected" in handler, "No isConnected in recordHandler");
-        assert_true("onconnect" in handler, "No onconnect in recordHandler");
+        assert_true("uuid" in handler, "No uuid in recordHandler.");
+        assert_true("name" in handler, "No name in recordHandler.");
+        assert_true("isConnected" in handler, "No isConnected in recordHandler.");
+        assert_true("onconnect" in handler, "No onconnect in recordHandler.");
         assert_type(handler.unregister, "function", "Method unregister does not exist.");
 
-        assert_equals(retValue, undefined, "registerRFCOMMServiceByUUID returns wrong value");
+        assert_equals(retValue, undefined, "Method registerRFCOMMServiceByUUID returns wrong value.");
 
         t.done();
     });
@@ -68,13 +68,10 @@ t.step(function () {
         retValue = adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 48443205f077d92651f90f9d0e1a1d1d95b3e51b..59338b34d56393d73fff6c0ad902370aa43decce 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothAdapter.registerRFCOMMServiceByUUID() - Check with missing non-optional argument </title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_missarg</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -40,7 +40,7 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_missarg", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError;
+    var adapter, powerOnSuccess;
 
     powerOnSuccess = t.step_func(function () {
         assert_throws ({name:"TypeMismatchError"},
@@ -50,13 +50,10 @@ t.step(function () {
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 6a39c08205f12dae3290f122fc58b0e257dd5928..672b3eb72e0c5fb5f7412aa3e22176c8d18aa4c7 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -54,7 +54,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout:90000, explicit_done:true});
 var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful",{timeout:90000}),
-    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError,
+    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess,
     visibleSuccess, visibleError;
 t.step(function () {
 
@@ -84,14 +84,10 @@ t.step(function () {
         adapter.setVisible(true, visibleSuccess, visibleError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-
-    adapter.setPowered(true,powerOnSuccess,powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index b94873b9fa7d9c2b2481879f33335369855ce151..ef4bc04e2a39183f5095073d7c1df2e99f2a94a1 100644 (file)
@@ -50,17 +50,17 @@ Authors:
 setup({timeout: 90000, explicit_done:true});
 
 var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onerror", {timeout: 90000}),
-    adapter, powerOffSuccess, powerOffError, chatServiceSuccessCallback, chatServiceErrorCallback;
+    adapter, powerOffSuccess, chatServiceSuccessCallback, chatServiceErrorCallback;
 
 t.step(function () {
 
     chatServiceSuccessCallback = t.step_func(function (handler) {
         setBluetoothHandlerCleanup(handler);
-        assert_unreached("Shouldn't be here");
+        assert_unreached("Method registerRFCOMMServiceByUUID shouldn't end successful.");
     });
 
     chatServiceErrorCallback = t.step_func(function (e) {
-        assert_equals(e.name, "ServiceNotAvailableError", "error name in chatServiceErrorCallback");
+        assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in chatServiceErrorCallback.");
         t.done();
         done();
     });
@@ -69,13 +69,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 5ce7f62d257b2e13166bb13911ac3b4d5776b9fc..8f8d6de2894e9d1a4ff24aa2fab0d302b75760b4 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful</title>
+<title>BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -49,15 +49,15 @@ Authors:
 setup({timeout: 90000, explicit_done:true});
 
 var adapter = null,t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback", {timeout: 90000}),
-    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
 t.step(function () {
 
     registerRFCOMMServiceByUUIDSuccess = t.step_func(function (recordHandler) {
         setBluetoothHandlerCleanup(recordHandler);
-        assert_true("uuid" in recordHandler, "No uuid in recordHandler");
-        assert_true("name" in recordHandler, "No name in recordHandler");
-        assert_true("isConnected" in recordHandler, "No isConnected in recordHandler");
-        assert_true("onconnect" in recordHandler, "No onconnect in recordHandler");
+        assert_true("uuid" in recordHandler, "No uuid in recordHandler.");
+        assert_true("name" in recordHandler, "No name in recordHandler.");
+        assert_true("isConnected" in recordHandler, "No isConnected in recordHandler.");
+        assert_true("onconnect" in recordHandler, "No onconnect in recordHandler.");
         assert_type(recordHandler.unregister, "function", "Method unregister does not exist.");
 
         t.done();
@@ -71,13 +71,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 2dde22f2f08fa0f9b7c9b275868fc02e7659c8bc..31fcef1683096253ec7b75278a6f65be2ab26dbc 100644 (file)
@@ -44,7 +44,7 @@ var adapter, listener, retValue, t = async_test("BluetoothAdapter_setChangeListe
 t.step(function () {
     listener = {
         onstatechanged: t.step_func(function (powered) {
-            assert_type(powered, "boolean", "argument powered has wrong type");
+            assert_type(powered, "boolean", "Argument powered has wrong type.");
             t.done();
         }),
         onnamechanged: t.step_func(function (name) {
@@ -56,10 +56,11 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
 
     retValue = adapter.setChangeListener(listener);
-    assert_equals(retValue, undefined, "setChangeListener did not return undefined");
+    assert_equals(retValue, undefined, "Method setChangeListener did not return undefined.");
 
     adapter.setPowered(!adapter.powered);
 });
+
 </script>
 </body>
 </html>
index 325ef799b96d876b80fa8db601c6a4783f3b780c..d3d82f048da93f86ef1948d4ae3b59a41feefc12 100644 (file)
@@ -46,6 +46,7 @@ test(function () {
             adapter.setChangeListener();
         }, "Method with non optional argument.");
 }, "BluetoothAdapter_setChangeListener_missarg");
+
 </script>
 </body>
 </html>
index 3dfa8e721beff38ccffa72ed6ba83f1beff5aa56..756f8f73f4b5c52293bf56d40626daf2e653b1fe 100644 (file)
@@ -39,22 +39,19 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MMINA MR
 setup({timeout:90000});
-var adapter = null, t = async_test("BluetoothAdapter_setName", {timeout:90000}), powerOnSuccess, powerOnError, retValue = null;
+var adapter = null, t = async_test("BluetoothAdapter_setName", {timeout:90000}), powerOnSuccess, retValue = null;
 t.step(function () {
 
     powerOnSuccess = t.step_func(function () {
         retValue = adapter.setName("myBluetooth");
-        assert_equals(retValue, undefined, "setName returns wrong value");
+        assert_equals(retValue, undefined, "Method setName returns wrong value.");
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index cdb10ef59f0a04830050d8243f96e62d92dd4b97..44ade489226e68a26d6a3609cfad5cf7ddcc1f30 100644 (file)
@@ -51,14 +51,14 @@ setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_setName_callback_error", {timeout: 90000});
 t.step(function () {
-    var adapter, powerOffSuccess, powerOffError, setNameSuccess, setNameError;
+    var adapter, powerOffSuccess, setNameSuccess, setNameError;
 
     setNameSuccess = t.step_func(function () {
-        assert_unreached("Shouldn't be here");
+        assert_unreached("Method setName shouldn't end successful.");
     });
 
     setNameError = t.step_func(function (e) {
-        assert_equals(e.name, "ServiceNotAvailableError", "error name in setNameError");
+        assert_equals(e.name, "ServiceNotAvailableError", "Wrong value of error name in setNameError.");
         t.done();
     });
 
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.setName("myBluetooth", setNameSuccess, setNameError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 3a24a8dc60eaa2e2ca070c8c3501cbd4423f7f00..616bdd1281a71085f631c6c883c79e7fe20cbecd 100644 (file)
@@ -51,10 +51,10 @@ Authors:
 setup({timeout:90000});
 var t = async_test("BluetoothAdapter_setName_longname", {timeout:90000});
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError, longname = "mybluetooth", setNameSuccess, setNameError;
+    var adapter, powerOnSuccess, longname = "mybluetooth", setNameSuccess, setNameError;
 
     setNameSuccess = t.step_func(function () {
-        assert_equals(adapter.name, longname, "adapter.name is equal to longname");
+        assert_equals(adapter.name, longname, "Wrong value of attribute name in BluetoothAdapter.");
         t.done();
     });
 
@@ -69,13 +69,10 @@ t.step(function () {
         adapter.setName(longname, setNameSuccess, setNameError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception " + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index e234e3600222937f5e11b1fdef77a34bf2748044..4fd0f4237a6e07f44c4542dc08246d25cf324cf3 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 
 <html>
 <head>
-<title>bluetooth.adapter.setName() - normal case</title>
+<title>BluetoothAdapter_setName_with_errorCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -52,10 +52,10 @@ Authors:
 setup({timeout: 90000});
 
 var adapter = null, t = async_test("BluetoothAdapter_setName_with_errorCallback", {timeout: 90000}),
-    setNameSuccess, setNameError, powerOnSuccess, powerOnError;
+    setNameSuccess, setNameError, powerOnSuccess;
 
 setNameSuccess = t.step_func(function () {
-    assert_equals(adapter.name, "myBluetooth_with_Error","Name not equals");
+    assert_equals(adapter.name, "myBluetooth_with_Error", "Method setName did not set name attribute.");
     t.done();
 });
 
@@ -67,12 +67,9 @@ powerOnSuccess = t.step_func(function () {
     adapter.setName("myBluetooth_with_Error", setNameSuccess, setNameError);
 });
 
-powerOnError = t.step_func(function (e) {
-    assert_unreached("powerOnError exception:" + e.message);
-});
-
 adapter = tizen.bluetooth.getDefaultAdapter();
-adapter.setPowered(true, powerOnSuccess, powerOnError);
+setPowered(t, adapter, powerOnSuccess);
+
 </script>
 </body>
 </html>
index 3d34224e37f496c2c09e5355c77dee59f4e4d227..19e0f3321fca54f47b062ce3240876d124937212 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothAdapter_setName</title>
+<title>BluetoothAdapter_setName_with_successCallback</title>
 <meta charset="utf-8"/>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -40,25 +40,22 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothAdapter_setName_with_successCallback", {timeout:90000}),
-    setNameSuccessCB, powerOnSuccess, powerOnError;
+    setNameSuccessCB, powerOnSuccess, new_name = "myBluetooth_with_Success";
 t.step(function () {
 
     setNameSuccessCB = t.step_func(function () {
-        assert_equals(adapter.name, "myBluetooth_with_Success","Name not equals");
+        assert_equals(adapter.name, new_name, "Method setName did not set name attribute.");
         t.done();
     });
 
     powerOnSuccess = t.step_func(function () {
-        adapter.setName("myBluetooth_with_Success", setNameSuccessCB);
-    });
-
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
+        adapter.setName(new_name, setNameSuccessCB);
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index b819dee2802dfef0362193db57a517e46b787817..1e058e6689cdb99adc7f3bc97953219bdd28c3b0 100644 (file)
@@ -56,17 +56,18 @@ t.step(function () {
     var adapter, powerOffSuccess, powerOffError;
 
     powerOffSuccess = t.step_func(function () {
-        assert_false(adapter.powered, "adapter powered in powerOffSuccess");
+        assert_false(adapter.powered, "Method setPowered did not set powered attribute of BluetoothAdapter to false.");
         t.done();
     });
 
     powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception " + e.message);
+        assert_unreached("powerOffError exception:" + e.message);
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
     adapter.setPowered(false, powerOffSuccess, powerOffError);
 });
+
 </script>
 </body>
 </html>
index 2670c007d5fe1a548f1aa9520ccb53882dfab47e..dc353d3ad5723fa49e87212268725d436c688b14 100644 (file)
@@ -20,10 +20,10 @@ limitations under the License.
 Authors:
         Witold Choinkowski <w.choinkowsk@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/UTC_bluetooth</title>
+<title>BluetoothAdapter_setPowered</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -34,19 +34,17 @@ Authors:
 <script>
 
 //==== TEST: BluetoothAdapter_setPowered
-//==== LABEL check whether 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)
+//==== LABEL check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setPowered M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#setPoweredid2316032
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MMINA MR
 test(function () {
     var adapter = tizen.bluetooth.getDefaultAdapter(), retValue = null;
     retValue = adapter.setPowered(true);
-    assert_equals(retValue, undefined, "setPowered returns wrong value");
+    assert_equals(retValue, undefined, "Method setPowered returns wrong value.");
 }, "BluetoothAdapter_setPowered");
 
 </script>
-
 </body>
-
 </html>
index cd96d621eda7cd26f96d56b58af6e6ca2b829dc4..37ed572ad27be59b74768aa36663cc174bc36f7d 100644 (file)
@@ -36,7 +36,7 @@ Authors:
 <title>BluetoothAdapter_setPowered_with_errorCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
- </head>
+</head>
 <body>
 
 <div id="log"></div>
@@ -50,10 +50,11 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 
-var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_errorCallback", {timeout: 90000}), powerOnSuccess, powerOnError;
+var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_errorCallback", {timeout: 90000}),
+    powerOnError, powerOnSuccess;
 t.step(function () {
     powerOnSuccess = t.step_func(function () {
-        assert_true(adapter.powered,"BluetoothAdapter_setPowered_with_errorCallback");
+        assert_true(adapter.powered,"Method setPowered did not set powered attribute of BluetoothAdapter to true.");
         t.done();
     });
 
@@ -62,8 +63,9 @@ t.step(function () {
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    adapter.setPowered(true, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index b5030d6372b6da5c0e6bf714050a2e4cb4728d58..eac030ea1f9dea1857c0ce5487bbc21755371f2c 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <title>BluetoothAdapter_setPowered_with_successCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
- </head>
+</head>
 <body>
 
 <div id="log"></div>
@@ -44,13 +44,14 @@ setup({timeout: 90000});
 var adapter = null, t = async_test("BluetoothAdapter_setPowered_with_successCallback", {timeout: 90000}), powerOnSuccess;
 t.step(function () {
     powerOnSuccess = t.step_func(function () {
-        assert_true(adapter.powered,"BluetoothAdapter_setPowered_with_errorCallback");
+        assert_true(adapter.powered,"Method setPowered did not set powered attribute of BluetoothAdapter to true.");
         t.done();
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
     adapter.setPowered(true, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index d2e147d000e9044a0abd523e72784681bd78f2f8..54a58d0691f1624970a9e4111561d5bc95585a04 100644 (file)
@@ -36,14 +36,14 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MMINA MR
 
 setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_setVisible", {timeout: 90000}), retValue = null;
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError;
+    var adapter, powerOnSuccess;
 
 
     powerOnSuccess = t.step_func(function () {
@@ -53,13 +53,10 @@ t.step(function () {
         t.done();
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 1d6063d78627d5ee141d2052eaaed4d399e2a39c..36431203d22f59ad4c0f17388d9798fc3c1e5ba8 100644 (file)
@@ -35,36 +35,33 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== 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("BluetoothAdapter_setVisible_callback_onerror", {timeout: 90000}), errorCallback, successCallback;
 t.step(function () {
-    var adapter, powerOffSuccess, powerOffError;
+    var adapter, powerOffSuccess;
 
     errorCallback = t.step_func(function (error) {
-        assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
+        assert_equals(error.name, "ServiceNotAvailableError", "Expected another error.");
 
         t.done();
     });
 
     successCallback = t.step_func(function () {
-        assert_unreached("invalid successCallback invoked");
+        assert_unreached("Method setVisible shouldn't end successful.");
     });
 
     powerOffSuccess = t.step_func(function () {
         adapter.setVisible(true, successCallback, errorCallback);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
old mode 100755 (executable)
new mode 100644 (file)
index 6d8d9b5..f3b0f7f
@@ -36,12 +36,12 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_setVisible_with_errorCallback", {timeout: 90000}),
-    adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+    adapter, powerOnSuccess, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
 
 t.step(function () {
     setInvisibleSuccessCB = t.step_func(function () {
@@ -65,13 +65,10 @@ t.step(function () {
         adapter.setVisible(true, setVisibleSuccessCB, setVisibleErrorCB);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
old mode 100755 (executable)
new mode 100644 (file)
index 5704633..94ea35c
@@ -36,12 +36,12 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MOA MAST
 setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_setVisible_with_successCallback", {timeout: 90000}),
-    adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+    adapter, powerOnSuccess, setVisibleSuccessCB, setInvisibleSuccessCB, setInvisibleErrorCB;
 
 t.step(function () {
     setInvisibleSuccessCB = t.step_func(function () {
@@ -61,13 +61,10 @@ t.step(function () {
         adapter.setVisible(true, setVisibleSuccessCB);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
old mode 100755 (executable)
new mode 100644 (file)
index 3b3281c..c2b9248
@@ -36,12 +36,12 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:setVisible M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MOA
 setup({timeout: 90000});
 
 var t = async_test("BluetoothAdapter_setVisible_with_timeout", {timeout: 90000}),
-    adapter, powerOnSuccess, powerOnError, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
+    adapter, powerOnSuccess, setVisibleSuccessCB, setVisibleErrorCB, setInvisibleSuccessCB, setInvisibleErrorCB;
     
 t.step(function () {
 
@@ -66,13 +66,10 @@ t.step(function () {
         adapter.setVisible(true, setVisibleSuccessCB, setVisibleErrorCB, 90);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 21bb23df89f44bd700bb87ac52c7b2b9ff05f59f..40e64f88b27d4e7f4f9ddbafea9adfd2b30434cf 100644 (file)
@@ -18,12 +18,12 @@ limitations under the License.
 
 
 Authors:
-    Lukasz Bardeli <l.bardeli@samsung.com>
+        Lukasz Bardeli <l.bardeli@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/BluetoothAdapter_stopDiscovery</title>
+<title>BluetoothAdapter_stopDiscovery</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -36,7 +36,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== 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 MMINA MR
 setup({timeout:90000, explicit_done:true});
@@ -71,6 +71,7 @@ t.step(function () {
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 
 });
+
 </script>
 </body>
 </html>
old mode 100755 (executable)
new mode 100644 (file)
index f4dc9a4..bdb4fac
@@ -22,8 +22,10 @@ Authors:
 
 -->
 <html>
+
 <head>
 <title>BluetoothAdapter_stopDiscovery_callback_onerror</title>
+<meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -38,8 +40,8 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
 //==== TEST_CRITERIA MERRCB
 setup({timeout:90000});
-var adapter, t = async_test("BluetoothAdapter_stopDiscovery_callback_onerror", {timeout: 90000}), powerOffSuccess,
-    powerOffError, successCallback, errorCallback;
+var adapter, t = async_test("BluetoothAdapter_stopDiscovery_callback_onerror", {timeout: 90000}), stopDiscoverySuccess,
+    successCallback, errorCallback, powerOffSuccess;
 t.step(function () {
     errorCallback = t.step_func(function (error) {
         assert_equals(error.name, "ServiceNotAvailableError", "expected another error");
@@ -50,17 +52,20 @@ t.step(function () {
     successCallback = t.step_func(function () {
         assert_unreached("invalid successCallback invoked");
     });
+
     powerOffSuccess = t.step_func(function () {
         adapter.stopDiscovery(successCallback, errorCallback);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception:" + e.message);
+    stopDiscoverySuccess = t.step_func(function () {
+        setUnpowered(t, adapter, powerOffSuccess);
     });
 
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    stopDiscovery(t, adapter, stopDiscoverySuccess);
+
 });
+
 </script>
 </body>
 </html>
index 8fa566380e641bc643fd27e3d7f60e5318642894..ba4bfe12938436e31e276a9a4c23479de0e9038a 100644 (file)
@@ -18,12 +18,12 @@ limitations under the License.
 
 
 Authors:
-    Lukasz Bardeli <l.bardeli@samsung.com>
+        Lukasz Bardeli <l.bardeli@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/BluetoothAdapter_stopDiscovery_with_errorCallback</title>
+<title>BluetoothAdapter_stopDiscovery_with_errorCallback</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -36,7 +36,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MOA
 setup({timeout: 90000});
 
@@ -78,10 +78,6 @@ t.step(function () {
 
 });
 
-
 </script>
-
 </body>
-
 </html>
-
index cff0be4a1f03117df9bb9d39b080ab4406b843d4..5847b5d77c0954e02c40a1fef8f195903736f7c2 100644 (file)
@@ -18,12 +18,12 @@ limitations under the License.
 
 
 Authors:
-    Lukasz Bardeli <l.bardeli@samsung.com>
+        Lukasz Bardeli <l.bardeli@samsung.com>
 -->
-<html lang="en">
+<html>
 
 <head>
-<title>Contact/BluetoothAdapter_stopDiscovery_with_successCallback</title>
+<title>BluetoothAdapter_stopDiscovery_with_successCallback</title>
 <meta charset="utf-8">
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
@@ -36,7 +36,7 @@ Authors:
 //==== PRIORITY P2
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:Bluetooth:BluetoothAdapter:stopDiscovery M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
 //==== TEST_CRITERIA MOA
 setup({timeout: 90000});
 
@@ -73,6 +73,7 @@ t.step(function () {
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 
 });
+
 </script>
 </body>
 </html>
index f12c1456f0637c782da5e1ff745b16b8247b7d36..56ba29e9d06d308e86e8cc22cf507a3f43d61b5c 100644 (file)
@@ -63,6 +63,7 @@ t.step(function () {
     });
     adapter.setPowered(!adapter.powered, powerSuccess);
 });
+
 </script>
 </body>
 </html>
index 3923f1fbca3f51855d6e3ce91b179097bcda4043..090e410ee9910ccec523c2835bc866f87f9f5875 100644 (file)
@@ -43,6 +43,7 @@ test(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     checkExtraArgument(adapter, "unsetChangeListener");
 }, "BluetoothAdapter_unsetChangeListener_extra_argument");
+
 </script>
 </body>
 </html>
index 5f8f988423a410ea52177f534c14dcff9b0b3008..751984b21a0beacebd1f24b102f5b55a5c28fbf2 100644 (file)
@@ -54,7 +54,7 @@ Authors:
 
 setup({timeout:90000});
 var t = async_test("BluetoothDevice", {timeout:90000}), adapter, gotDeviceInfo, gotDeviceError,
-        onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, minor, major, devService;
+        onBondingSuccess, onBondingError, powerOnSuccess, minor, major, devService;
 
 t.step(function () {
     gotDeviceInfo = t.step_func(function (device) {
@@ -124,13 +124,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 9f800dd6faf8de30aecba880d1a2f177171b5385..a417155997d99586977397c42de92e878b8465fd 100644 (file)
@@ -50,7 +50,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothClass_hasService", {timeout:90000}), gotDeviceInfo,
-    gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
     gotDeviceInfo = t.step_func(function (device) {
         if (device.deviceClass.services.length > 0){
@@ -77,13 +77,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
-  </body>
+</body>
 </html>
index 3b77f1a94cd2cce8665b156ef6448f6c3c4fb045..af610b27cbcf7ef9f69200577feeaa69a2355dd7 100644 (file)
@@ -67,7 +67,7 @@ Authors:
 //==== PRE The bluetooth of the remote device MUST be turned on and discoverable from other devices. The remote device MUST register the service by pushing [Register service] button on tct-bt-helper.
 
 setup({timeout:90000});
-var t = async_test("BluetoothDevice", {timeout:90000}), adapter, powerOnSuccess, powerOnError,onBondingError, onBondingSuccess, errorCallback,
+var t = async_test("BluetoothDevice", {timeout:90000}), adapter, powerOnSuccess,onBondingError, onBondingSuccess, errorCallback,
     successCallback, exceptionName = "TypeMismatchError",conversionTable, conversionErrorCallback, conversionSuccessCallback,
     incorrectSuccessCallback, incorrectErrorCallback, successCallback, errorCallback, deviceClassCP, fakeDeviceClass, devUuid, i;
 t.step(function () {
@@ -237,13 +237,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 8d3005959e08f080e778c71538ff373d7ef622ba..b2280a4edd9a88754f8eff5cd39b4a75f4865fbc 100644 (file)
@@ -78,6 +78,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 126dbbaa3dcf6da41d59977756f14595410c7e78..59813015a2c3124e05341c1f5ee9978bfc28b449 100644 (file)
@@ -51,12 +51,12 @@ Authors:
 
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID",{timeout:90000}), onSocketConnect,
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+    onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
 t.step(function () {
     onSocketConnect = t.step_func(function (socket) {
         if(socket.state === "OPEN"){
             assert_equals(retValue, undefined, "connectToServiceByUUID returns wrong value");
-            return t.done();
+            t.done();
         }else{
             assert_unreached("Socket is closed");
         }
@@ -74,13 +74,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 93dd34e8d8ea826b4e676a997d88f97df4db8fe0..6f4ed85720069f820bf315b5a85f0908ec511cc2 100644 (file)
@@ -50,7 +50,7 @@ Authors:
 
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID_onerror",{timeout:90000}), onSocketConnect,
-    onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, onSocketError;
+    onBondingSuccess, onBondingError, powerOnSuccess, onSocketError;
 t.step(function () {
     onSocketConnect = t.step_func(function (socket) {
         assert_unreached("Shouldn't be here");
@@ -73,13 +73,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index f9e26099fc2fb9b41889f8e43117643ad079887e..13fbd476444a1adc980061e7bb9562e9f5f05072 100644 (file)
@@ -41,12 +41,12 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothDevice_connectToServiceByUUID_with_errorCallback",{timeout:90000}),
-    onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
     onSocketConnect = t.step_func(function (socket) {
-        if(socket.state === "OPEN"){
-            return t.done();
-        }else{
+        if(socket.state === "OPEN") {
+            t.done();
+        } else {
             assert_unreached("Socket is closed");
         }
     });
@@ -67,13 +67,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 526314f9ca58fde7ec17db0a6303a78874522abc..e24e5302a14ca554f528344e14f46732e1c757f3 100644 (file)
@@ -57,8 +57,9 @@ t.step(function () {
         }),
         ondevicedisappeared: t.step_func(function (address) {
             assert_type(address, "string", "address has wrong type");
-            if(address === REMOTE_DEVICE_ADDRESS)
+            if(address === REMOTE_DEVICE_ADDRESS) {
                 flag = true;
+            }
         }),
         onfinished: t.step_func(function (devices) {
             if(flag) {
@@ -93,6 +94,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 26895a6396a3b62effc240a6a8963dfeb58e975b..8ee3d5c05b1048fe7701e9a29467c1aecff8931a 100644 (file)
@@ -74,6 +74,7 @@ t.step(function () {
     setBluetoothDiscoveryCleanup(adapter);
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index 9f386c773364339dec101899561331d6ee4d7543..6f5694162fb58e3102a1ff464ad8cf47c781eabe 100644 (file)
@@ -50,8 +50,8 @@ t.step(function () {
         }),
         ondevicefound: t.step_func(function (device) {
         }),
-        ondevicedisappeared: function (address) {
-        },
+        ondevicedisappeared: t.step_func(function (address) {
+        }),
         onfinished: t.step_func(function (devices) {
             check_bluetooth_device_array(devices);
             for (i=0; i < devices.length; i++) {
@@ -72,6 +72,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index bcfa2beef945f39ec14963e07a0dba081520a41f..1e43b360221cf8c165c3df77813f037220332b57 100644 (file)
@@ -70,6 +70,7 @@ t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
     stopDiscovery(t, adapter, stopDiscoverySuccess);
 });
+
 </script>
 </body>
 </html>
index a9ce5fcd8687e68474f96a2ddcde071da5a91985..98b78d7624da7f618cb34fc383e3ec73fffeb1af 100644 (file)
@@ -41,7 +41,7 @@ Authors:
 setup({timeout: 90000, explicit_done:true});
 
 var adapter, t = async_test("BluetoothHealthApplicationSuccessCallback_onsuccess", {timeout: 90000}), healthProfileHandler,
-    powerOnSuccess, powerOnError, healthRegisterSuccess;
+    powerOnSuccess, healthRegisterSuccess;
 t.step(function () {
 
     healthRegisterSuccess = t.step_func(function (app) {
@@ -65,13 +65,10 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 913f22eaddfe529022ad05efb538570818d59c12..e6b8c664df5d4dbcf3012729c52317fa68e394f5 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 setup({timeout:90000, explicit_done:true});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
     t = async_test("BluetoothHealthApplication_unregister", {timeout:90000}), appName = "testSinkApp", retValue = null;
 
 t.step(function () {
@@ -63,12 +63,9 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 89ef2fe907f5b55eca7d6116c871c3e7fde43569..c6de1bac4279466db94df4801b126dc360ff7c82 100644 (file)
@@ -39,10 +39,10 @@ Authors:
 //==== TEST_CRITERIA MERRCB
 
 setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
     t = async_test("BluetoothHealthApplication_unregister_callback_onerror", {timeout:90000}),
-    appName = "testSinkApp", errorCallback, successCallback, registerHealthAppCp, powerOffError, powerOffSuccess,
-    successCallback, errorCallback;
+    appName = "testSinkApp", errorCallback, successCallback, registerHealthAppCp, powerOffSuccess,
+    successCallback;
 
 t.step(function () {
     adapter = tizen.bluetooth.getDefaultAdapter();
@@ -61,13 +61,9 @@ t.step(function () {
         registerHealthAppCp.unregister(successCallback, errorCallback);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     healthRegisterSuccess = t.step_func(function (registerHealthApp) {
         registerHealthAppCp = registerHealthApp;
-        adapter.setPowered(false, powerOffSuccess, powerOffError);
+        setUnpowered(t, adapter, powerOffSuccess);
     });
 
     healthRegisterError = t.step_func(function (e) {
@@ -79,12 +75,9 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 2f6d89eaa51bb5e2b33bfa3dec227e1798910937..5ac3c8d193cc018eeb1c85bf5b4fc16cda4a03c5 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 
 setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
     t = async_test("BluetoothHealthApplication_unregister_with_errorCallback", {timeout:90000}), appName = "testSinkApp",
     successCallback, errorCallback;
 
@@ -68,12 +68,9 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 8ca32e5490acbec5eed14d796b977bc4ce920989..691ef091313b6e932fb17eead55e35bd601b1b9c 100644 (file)
@@ -40,7 +40,7 @@ Authors:
 //==== TEST_CRITERIA MOA MAST
 
 setup({timeout:90000});
-var adapter, healthProfileHandler,powerOnSuccess , powerOnError, healthRegisterSuccess, healthRegisterError,
+var adapter, healthProfileHandler,powerOnSuccess, healthRegisterSuccess, healthRegisterError,
     t = async_test("BluetoothHealthApplication_unregister_with_successCallback", {timeout:90000}), appName = "testSinkApp",
     successCallback;
 
@@ -63,13 +63,10 @@ t.step(function () {
         healthProfileHandler = adapter.getBluetoothProfileHandler("HEALTH");
         healthProfileHandler.registerSinkApplication(REMOTE_HEALTH_DEVICE_TYPE, appName, healthRegisterSuccess, healthRegisterError);
     });
-
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index a9ce819bd5c6aea24c080eca8c2c3c1742cfeceb..3489eebc284b8c24aef8df0f2ffbe723774bdbb4 100644 (file)
@@ -47,6 +47,7 @@ test(function () {
             healthProfileHandler.connectToSource();
         }, "Method with non optional argument.");
 }, "BluetoothHealthProfileHandler_connectToSource_missarg");
+
 </script>
 </body>
 </html>
index cf39528bc1fca9d81a39448e3d873d6db54a7c90..c1ae2f69567dfd41a207f56d915971020ded8a48 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MAST MR
 setup({timeout:90000, explicit_done:true});
 var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication", {timeout:90000}), healthProfileHandler,
-    powerOnSuccess, powerOnError, healthRegisterSuccess, retValue = null;
+    powerOnSuccess, healthRegisterSuccess, retValue = null;
 t.step(function () {
 
     healthRegisterSuccess = t.step_func(function (app) {
@@ -55,13 +55,10 @@ t.step(function () {
         retValue = healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 1396682960ac040400f6c09f98f3c7e05bdbec47..a6067c588f22d3e1522a4b4b0cc13537a02ddfbb 100644 (file)
@@ -24,8 +24,9 @@ Authors:
 
 <html>
 <head>
-<title>BluetoothHealthProfileHandler_registerSinkApplication_callback_onerror</title>
+<title>BluetoothHealthProfileHandler_registerSinkApplication_callback_error</title>
 <script src="../resources/unitcommon.js"></script>
+<script src="support/bluetooth_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
@@ -40,7 +41,7 @@ Authors:
 setup({timeout: 90000});
 
 var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_callback_error", {timeout: 90000}), healthProfileHandler,
-    powerOffSuccess, powerOffError, healthRegisterSuccess, healthRegisterError;
+    powerOffSuccess, healthRegisterSuccess, healthRegisterError;
 t.step(function () {
 
     healthRegisterSuccess = t.step_func(function (app) {
@@ -58,13 +59,10 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess, healthRegisterError);
     });
 
-    powerOffError = t.step_func(function (e) {
-        assert_unreached("powerOffError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(false, powerOffSuccess, powerOffError);
+    setUnpowered(t, adapter, powerOffSuccess);
 });
+
 </script>
 </body>
 </html>
index 9cba548ebcb78f0ad98ef136c0a5472000f84894..a2382e7f71fe56b96895a967eeb2f1a610d975c5 100644 (file)
@@ -47,6 +47,7 @@ test(function () {
             healthProfileHandler.registerSinkApplication();
         }, "Method with non optional argument.");
 }, "BluetoothHealthProfileHandler_registerSinkApplication_missarg");
+
 </script>
 </body>
 </html>
index 0ebb6c4c1e5f55cdcfe629cdc99d6de62672ae3e..a7f32b304c3d613c0aa8a9950342da595e9e9400 100644 (file)
@@ -41,7 +41,7 @@ Authors:
 setup({timeout: 90000, explicit_done:true});
 
 var adapter, t = async_test("BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback", {timeout: 90000}), healthProfileHandler,
-    powerOnSuccess, powerOnError, healthRegisterSuccess, healthRegisterError;
+    powerOnSuccess, healthRegisterSuccess, healthRegisterError;
 t.step(function () {
 
     healthRegisterSuccess = t.step_func(function (app) {
@@ -60,13 +60,10 @@ t.step(function () {
         healthProfileHandler.registerSinkApplication(4100, "testSinkApp", healthRegisterSuccess);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 787583c8aa01b72232af3afd0111341146a7e473..4ca620a6f5f187c6186973323ce775f037f7cbfd 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothManager.getDefaultAdapter</title>
+<title>BluetoothManager_getDefaultAdapter</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -44,6 +44,7 @@ test(function () {
     assert_type(adapter.address, "string", "address attribute test");
     assert_type(adapter.name, "string", "name attribute test");
 }, "BluetoothManager_getDefaultAdapter");
+
 </script>
-  </body>
+</body>
 </html>
index ac160f1e2f3d88faccebf4087ce60f09d659b21a..6a9ca4ce70e2008a35642d68e5c0ca39c3761e4a 100644 (file)
@@ -38,6 +38,7 @@ Authors:
 test(function () {
     checkExtraArgument(tizen.bluetooth, "getDefaultAdapter");
 }, "BluetoothManager_getDefaultAdapter_extra_argument");
+
 </script>
 </body>
 </html>
index 5c2d42cf7ed51363fc0252c18b63088266f6371d..570d0eeafb9fccd85795171a5070468e19a4e7a4 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothManager in tizen</title>
+<title>BluetoothManager_in_tizen</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -50,6 +50,7 @@ test(function () {
     assert_true("bluetooth" in tizen, "No bluetooth in tizen");
     check_readonly(tizen, "bluetooth", bt, "object", "Tizen");
 }, "BluetoothManager_in_tizen");
+
 </script>
 </body>
 </html>
index 8164ac9d955fe380ed3039318cff70965b01dc4f..8238574991752214d43cc1688f0ac1faeab1602f 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 setup({timeout: 90000, explicit_done:true});
 
 var adapter = null,t = async_test("BluetoothServiceHandler_unregister", {timeout: 90000}), registerRFCOMMServiceByUUIDSuccess,
-    registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError, retValue = null;
+    registerRFCOMMServiceByUUIDError, powerOnSuccess, retValue = null;
 t.step(function () {
 
     registerRFCOMMServiceByUUIDSuccess = t.step_func(function (recordHandler) {
@@ -58,13 +58,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index ec6ac7fdcfe61f869aff007caa98747717a56736..26dcfb666d28351a6afc8533405ab16fd4df2089 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothServiceHandler interface - usage test of interface</title>
+<title>BluetoothServiceHandler_unregister_unregisterServiceRecord</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -48,7 +48,7 @@ Authors:
 setup({timeout: 90000});
 
 var adapter = null, t = async_test("BluetoothServiceHandler_unregister_unregisterServiceRecord", {timeout: 90000}), unregisterSuccess,
-    unregisterError, chatServiceSuccessCallback, powerOnSuccess, powerOnError, chatServiceErrorCallback;
+    unregisterError, chatServiceSuccessCallback, powerOnSuccess, chatServiceErrorCallback;
 t.step(function () {
     unregisterSuccess = t.step_func(function () {
         t.done();
@@ -70,12 +70,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCallback, chatServiceErrorCallback);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError, Exception: " + e.message);
-    });
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index e5e41609ad9ef3cec014ef9aa5a8dec5afaf1ede..382467d516605ccee1b164a532d77c88f91b2d2f 100644 (file)
@@ -32,7 +32,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothServiceHandler.unregister() - call back successful</title>
+<title>BluetoothServiceHandler_unregister_with_errorCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -49,7 +49,7 @@ Authors:
 setup({timeout: 90000});
 
 var adapter = null,t = async_test("BluetoothServiceHandler_unregister_with_errorCallback", {timeout: 90000}), unregisterSuccess,
-    unregisterError, registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+    unregisterError, registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
 t.step(function () {
 
     unregisterSuccess = t.step_func(function () {
@@ -72,13 +72,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 991ce0891de9642162c06c4be43155f7a4a75587..88b4d9846ac187ac0ccb7a486fadaa569fc6996b 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothServiceHandler.unregister() - call back successful</title>
+<title>BluetoothServiceHandler_unregister_with_successCallback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -40,7 +40,7 @@ Authors:
 setup({timeout: 90000});
 
 var adapter = null,t = async_test("BluetoothServiceHandler_unregister_with_successCallback", {timeout: 90000}), unregisterSuccess,
-    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess, powerOnError;
+    registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError, powerOnSuccess;
 t.step(function () {
 
     unregisterSuccess = t.step_func(function () {
@@ -59,13 +59,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", registerRFCOMMServiceByUUIDSuccess, registerRFCOMMServiceByUUIDError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index dd0cdae12c5a4fa64a943ce75f9638934c5c59ad..1ff7395a476ed97502876fb983a7b3573919ec02 100644 (file)
@@ -39,7 +39,7 @@ Authors:
 //==== TEST_CRITERIA CBT CBOA
 setup({timeout:90000, explicit_done:true});
 var adapter = null,t = async_test("BluetoothServiceSuccessCallback_onsuccess", {timeout:90000}),
-    chatServiceSuccessCB, chatServiceErrorCB, powerOnSuccess, powerOnError;
+    chatServiceSuccessCB, chatServiceErrorCB, powerOnSuccess;
 
 t.step(function () {
 
@@ -62,13 +62,10 @@ t.step(function () {
         adapter.registerRFCOMMServiceByUUID(CHAT_SERVICE_UUID, "Chat service", chatServiceSuccessCB, chatServiceErrorCB);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 1f34394fa094f428747fdde383bc34c13ce565fa..22fe1169af6670c9d7b21d77fc323297bea6fe4b 100644 (file)
@@ -72,7 +72,7 @@ Authors:
 
 setup({timeout:90000});
 var t = async_test("BluetoothSocket", {timeout:90000}), adapter, onSocketConnect, onSocketError,
-    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError,
+    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess,
     peerCP, fakePeer, skState, skUuid, param, i;
 t.step(function () {
     onSocketConnect = t.step_func(function (socket) {
@@ -123,7 +123,7 @@ t.step(function () {
                 isConnected:true,
                 uuids:[],
 
-                connectToServiceByUUID:function(){}
+                connectToServiceByUUID:function (){}
             };
             socket.peer = fakePeer;
             assert_equals(socket.peer.name, peerCP.name, "peer can be modified.");
@@ -233,13 +233,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 36846888588ac877708bf104e41ee535d478d4e8..c293eab7f661710bd0bd920bf1f08fc16e792184 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothDevice interface - usage test of interface</title>
+<title>BluetoothSocketState_open_enum</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -50,7 +50,7 @@ setup({timeout:90000});
 var t = async_test("BluetoothSocketState_open_enum", {timeout:90000});
 
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError, onSocketConnected, onSocketError;
+    var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError, onSocketConnected, onSocketError;
 
     onSocketConnected = t.step_func(function (socket) {
         assert_equals(socket.state, "OPEN", "BluetoothSocket.state enum is no equal to 'OPEN'");
@@ -82,13 +82,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 5688de35b174a6e40864d08806c13ab044b3428e..0c1993cd97c8c543fb623eeb1af46115c3829430 100644 (file)
@@ -41,7 +41,7 @@ Authors:
 //==== TEST_CRITERIA MNA MNAST MR
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothSocket_close", {timeout:90000}), onSocketConnect, onSocketConnectedError,
-    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError, retValue = null;
+    gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, retValue = null;
 t.step(function () {
 
     onSocketConnect = t.step_func(function (socket) {
@@ -82,13 +82,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 911eabf03164235c7fc2282c320f2c5ec9406c70..d07006c13d7c039d180a7b4fcdc453d57ada2cfc 100644 (file)
@@ -53,7 +53,7 @@ setup({timeout:90000});
 var t = async_test("BluetoothSocket_onclose_callback", {timeout:90000});
 
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
+    var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
         onSocketConnected, onSocketError;
 
     onSocketConnected = t.step_func(function (socket) {
@@ -94,13 +94,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 1a29e32fad8afb15c1132b0187f5c96049c74db9..a5c6c52325fa53f27df9e0fa5ba43ecd9ae4f2f6 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothSocket.onmessage - callback</title>
+<title>BluetoothSocket_onmessage_callback</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -52,7 +52,7 @@ setup({timeout:90000});
 var t = async_test("BluetoothSocket_onmessage_callback", {timeout:90000});
 
 t.step(function () {
-    var adapter, powerOnSuccess, powerOnError, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
+    var adapter, powerOnSuccess, onBondingSuccess, onBondingError, gotDeviceInfo, gotDeviceError,
         onSocketConnected, onSocketError;
 
     onSocketConnected = t.step_func(function (socket) {
@@ -93,13 +93,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index be6b570dac82010af8d947672910142b9b51fb0e..dc1ab4457adde66cefcab57d30f785063490e858 100644 (file)
@@ -51,7 +51,7 @@ Authors:
 
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothSocket_readData", {timeout:90000}), onSocketConnect, retValue = null,
-    onSocketConnectedError, gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    onSocketConnectedError, gotDeviceInfo, gotDeviceError, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
 
     onSocketConnect = t.step_func(function (socket) {
@@ -94,13 +94,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess, onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 59927fb9a365d005cfe20bff8dd9d80162562282..b9abfaaa626cb5a67e196c15fd819e0a2bdadae3 100644 (file)
@@ -31,7 +31,7 @@ Authors:
 -->
 <html>
 <head>
-<title>BluetoothSocket.writeData</title>
+<title>BluetoothSocket_writeData</title>
 <script src="../resources/unitcommon.js"></script>
 <script src="support/bluetooth_common.js"></script>
 </head>
@@ -49,7 +49,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 setup({timeout:90000});
 var adapter = null, t = async_test("BluetoothSocket_writeData", {timeout:90000}),
-    onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess, powerOnError;
+    onSocketConnect, onSocketError, onBondingSuccess, onBondingError, powerOnSuccess;
 t.step(function () {
 
     onSocketConnect = t.step_func(function (socket) {
@@ -80,13 +80,10 @@ t.step(function () {
         adapter.createBonding(REMOTE_DEVICE_ADDRESS, onBondingSuccess,onBondingError);
     });
 
-    powerOnError = t.step_func(function (e) {
-        assert_unreached("powerOnError exception:" + e.message);
-    });
-
     adapter = tizen.bluetooth.getDefaultAdapter();
-    adapter.setPowered(true, powerOnSuccess, powerOnError);
+    setPowered(t, adapter, powerOnSuccess);
 });
+
 </script>
 </body>
 </html>
index 85c7fa2930be2308b8b98e6f8a4144f5b473c12e..41edbe3f6aa227d04d899d0b27e891cff3ecc014 100644 (file)
@@ -46,6 +46,14 @@ 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) {
+        assert_unreached("powerOfError exception:" + e.message);
+    });
+
+    adapter.setPowered(false, powerOfSuccess, powerOfError);
+}
+
 function setPowered (t, adapter, powerOnSuccess) {
     var powerOnError = t.step_func(function (e) {
         assert_unreached("powerOnError exception:" + e.message);
index 803e14341b5168ec2a1a7dd146b983e2a308fd05..f985f803bb188efa38fb3972df6fa70b90bf22fd 100644 (file)
           </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">
+      <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#createBondingid2317306</spec_url>
+            <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">
+      <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>
         </description>
           </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">
+      <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>
         <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#destroyBondingid2317500</spec_url>
+            <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">
+      <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>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="discoverDevices" 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#discoverDevicesid2316511</spec_url>
+            <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 arguments reports not found error" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_getDevice_address_NotFound">
+      <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>
         <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#getDeviceid2317115</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</spec_url>
+            <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 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered">
+      <testcase purpose="check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setPowered" 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#setPoweredid2316032</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</spec_url>
+            <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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument setName successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_invalid_cb">
+      <testcase purpose="Check argument setName() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument setName errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
+      <testcase purpose="Check argument setName() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setPowered' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setPowered() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if successful callback of setPowered method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of setPowered() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setPowered' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setPowered() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument setPowered errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
+      <testcase purpose="check argument setPowered() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'discoverDevices' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
+      <testcase purpose="Check whether discoverDevices() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check discoverDevices argument successCallback validation - use simple function" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
+      <testcase purpose="Check discoverDevices() argument successCallback validation - use simple function" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'discoverDevices' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether discoverDevices() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument discoverDevices errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
+      <testcase purpose="Check argument discoverDevices() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'stopDiscovery' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
+      <testcase purpose="Check whether stopDiscovery() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'stopDiscovery' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether stopDiscovery() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check stopDiscovery argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
+      <testcase purpose="Check stopDiscovery() argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check stopDiscovery argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
+      <testcase purpose="check stopDiscovery() argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'getKnownDevices' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+      <testcase purpose="Check getKnownDevices() argument successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+      <testcase purpose="Check getKnownDevices() argument errorCallback validation - use {onerror: function (){}} " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'getDevice' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
+      <testcase purpose="Check whether getDevice() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'getDevice' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether getDevice() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if successful callback of getDevice method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of getDevice() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+      <testcase purpose="Check getDevice() argument errorCallback validation - use {onerror: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'createBonding' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
+      <testcase purpose="Check whether createBonding() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument createBonding successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
+      <testcase purpose="Check argument createBonding() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'createBonding' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether createBonding() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument createBonding errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
+      <testcase purpose="Check argument createBonding() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+      <testcase purpose="Check argument registerRFCOMMServiceByUUID() successCallback validation - use {onsuccess: function (){}}" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument registerRFCOMMServiceByUUID errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
+      <testcase purpose="Check argument registerRFCOMMServiceByUUID() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid successCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
         <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_successCallback_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
         <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_errorCallback_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if destroyBonding method throws exception when invalid success callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
+      <testcase purpose="Check if destroyBonding() method throws exception when invalid success callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
         <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_successCallback_invalid_cb.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if destroyBonding method throws exception when invalid error callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
+      <testcase purpose="Check if destroyBonding() method throws exception when invalid error callback is given" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="manual" priority="P2" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
         <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_errorCallback_invalid_cb.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if successful callback of unregister method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of unregister() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check unregister argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
+      <testcase purpose="check unregister() argument errorCallback validation" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="stopDiscovery" 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#discoverDevicesid2316511</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</spec_url>
+            <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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback callback with invalid callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P1" id="Bluetooth_discoverDevices_successCallback_invalidcb">
+      <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback() callback with invalid callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P1" id="Bluetooth_discoverDevices_successCallback_invalidcb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setVisible' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setVisible() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if successful callback of setVisible method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of setVisible() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setVisible' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setVisible() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback of setVisible method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
+      <testcase purpose="check if error callback of setVisible() method invoked" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+            <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>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+            <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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setChangeListener' method called with invalid listener argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
+      <testcase purpose="Check whether setChangeListener() method called with invalid listener argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check setChangeListener with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
+      <testcase purpose="check setChangeListener() with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'registerSinkApplication' method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether registerSinkApplication() method called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument registerSinkApplication errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
+      <testcase purpose="Check argument registerSinkApplication() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'registerSinkApplication' method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
+      <testcase purpose="Check whether registerSinkApplication() method called with invalid successCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument registerSinkApplication successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
+      <testcase purpose="Check argument registerSinkApplication() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether unregiste() method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument unregister errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
+      <testcase purpose="check argument unregister() errorCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'unregister' 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="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() 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="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check argument unregister successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
+      <testcase purpose="check argument unregister() successCallback validation." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="setVisible" specification="Bluetooth" section="Communication" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html</spec_url>
+            <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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' 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_destroyBonding_address_TypeMismatch">
+      <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>
           </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">
+      <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>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html</test_script_entry>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothManager" element_type="method" element_name="getDefaultAdapter" 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#::Bluetooth::BluetoothAdapter</spec_url>
+            <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 address evokes errorCallback." type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getDevice_address_TypeMismatch">
+      <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>
           </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">
+      <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>
         </description>
         <specs>
           <spec>
             <spec_assertion interface="BluetoothAdapter" element_type="method" element_name="getKnownDevices" 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#getKnownDevicesid2316922</spec_url>
+            <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 'getKnownDevices' method called with invalid successCallback and null as errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback and null as errorCallback argument throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' 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_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() 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_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setName' 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_setName_with_success_TypeMismatch_and_error_null">
+      <testcase purpose="Check whether setName() 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_setName_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid errorCallback and successCallback set to null throws an exception." type="compliance" status="approved" component="TizenAPI/Communication/Bluetooth" execution_type="auto" priority="P2" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html</test_script_entry>
         </description>
index 4b9859b54bda80cc4972187a40c4c185f5d55491..5d1bd962498d204e662540c2e183a3848b13de8d 100644 (file)
           <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">
+      <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">
+      <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">
+      <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">
+      <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">
+      <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>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check whether 'setPowered' method properly sets powered parameter of BluetoothAdapter (part 2)" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered">
+      <testcase purpose="check whether setPowered() method properly sets powered parameter of BluetoothAdapter (part 2)" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument setName successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_invalid_cb">
+      <testcase purpose="Check argument setName() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument setName errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
+      <testcase purpose="Check argument setName() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setPowered' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setPowered() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if successful callback of setPowered method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of setPowered() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setPowered' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setPowered() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument setPowered errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
+      <testcase purpose="check argument setPowered() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setPowered_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'discoverDevices' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
+      <testcase purpose="Check whether discoverDevices() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check discoverDevices argument successCallback validation - use simple function" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
+      <testcase purpose="Check discoverDevices() argument successCallback validation - use simple function" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'discoverDevices' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether discoverDevices() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument discoverDevices errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
+      <testcase purpose="Check argument discoverDevices() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_discoverDevices_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'stopDiscovery' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
+      <testcase purpose="Check whether stopDiscovery() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'stopDiscovery' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether stopDiscovery() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check stopDiscovery argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
+      <testcase purpose="Check stopDiscovery() argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check stopDiscovery argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
+      <testcase purpose="check stopDiscovery() argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'getKnownDevices' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check getKnownDevices argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
+      <testcase purpose="Check getKnownDevices() argument successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check getKnownDevices argument errorCallback validation - use {onerror: function (){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
+      <testcase purpose="Check getKnownDevices() argument errorCallback validation - use {onerror: function (){}} " onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'getDevice' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
+      <testcase purpose="Check whether getDevice() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'getDevice' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether getDevice() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if successful callback of getDevice method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of getDevice() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check getDevice argument errorCallback validation - use {onerror: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
+      <testcase purpose="Check getDevice() argument errorCallback validation - use {onerror: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getDevice_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'createBonding' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
+      <testcase purpose="Check whether createBonding() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument createBonding successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
+      <testcase purpose="Check argument createBonding() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'createBonding' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether createBonding() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument createBonding errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
+      <testcase purpose="Check argument createBonding() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_createBonding_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument registerRFCOMMServiceByUUID successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
+      <testcase purpose="Check argument registerRFCOMMServiceByUUID() successCallback validation - use {onsuccess: function (){}}" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument registerRFCOMMServiceByUUID errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
+      <testcase purpose="Check argument registerRFCOMMServiceByUUID() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid successCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid successCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_TypeMismatch">
         <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_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch">
         <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_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if destroyBonding method throws exception when invalid success callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
+      <testcase purpose="Check if destroyBonding() method throws exception when invalid success callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_successCallback_invalid_cb">
         <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_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if destroyBonding method throws exception when invalid error callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
+      <testcase purpose="Check if destroyBonding() method throws exception when invalid error callback is given" component="TizenAPI/Communication/Bluetooth" execution_type="manual" id="BluetoothAdapter_destroyBonding_errorCallback_invalid_cb">
         <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_errorCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() method of the BluetoothServiceHandler with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if successful callback of unregister method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of unregister() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check unregister argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
+      <testcase purpose="check unregister() argument errorCallback validation" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothServiceHandler_unregister_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback callback with invalid callback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="Bluetooth_discoverDevices_successCallback_invalidcb">
+      <testcase purpose="Check BluetoothDiscoverDevicesSuccessCallback() callback with invalid callback" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="Bluetooth_discoverDevices_successCallback_invalidcb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setVisible' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
+      <testcase purpose="Check whether setVisible() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if successful callback of setVisible method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
+      <testcase purpose="check if successful callback of setVisible() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setVisible' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether setVisible() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if error callback of setVisible method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
+      <testcase purpose="check if error callback of setVisible() method invoked" onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setVisible_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setChangeListener' method called with invalid listener argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
+      <testcase purpose="Check whether setChangeListener() method called with invalid listener argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check setChangeListener with invalid callback" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
+      <testcase purpose="check setChangeListener() with invalid callback" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setChangeListener_listener_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'registerSinkApplication' method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether registerSinkApplication() method called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument registerSinkApplication errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
+      <testcase purpose="Check argument registerSinkApplication() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'registerSinkApplication' method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
+      <testcase purpose="Check whether registerSinkApplication() method called with invalid successCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check argument registerSinkApplication successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
+      <testcase purpose="Check argument registerSinkApplication() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
+      <testcase purpose="Check whether unregiste() method of the BluetoothHealthApplication called with invalid errorCallback argument throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument unregister errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
+      <testcase purpose="check argument unregister() errorCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_errorCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'unregister' method called with invalid successCallback throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
+      <testcase purpose="Check whether unregister() method called with invalid successCallback throws an exception." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check argument unregister successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
+      <testcase purpose="check argument unregister() successCallback validation." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothHealthApplication_unregister_successCallback_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html</test_script_entry>
         </description>
           <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 evokes errorCallback." onload_delay="90" component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_address_TypeMismatch">
+      <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">
+      <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>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'destroyBonding' method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
+      <testcase purpose="Check whether destroyBonding() method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html</test_script_entry>
         </description>
           <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">
+      <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">
+      <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>
         </description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'getKnownDevices' method called with invalid successCallback and null as errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
+      <testcase purpose="Check whether getKnownDevices() method called with invalid successCallback and null as errorCallback argument throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'registerRFCOMMServiceByUUID' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
+      <testcase purpose="Check whether registerRFCOMMServiceByUUID() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
+      <testcase purpose="Check whether setName() method called with invalid successCallback and errorCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check whether 'setName' method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
+      <testcase purpose="Check whether setName() method called with invalid errorCallback and successCallback set to null throws an exception." component="TizenAPI/Communication/Bluetooth" execution_type="auto" id="BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html</test_script_entry>
         </description>