From: Witold Choinkowski Date: Tue, 8 Oct 2013 09:22:52 +0000 (+0200) Subject: [Bluetooth] cleanup X-Git-Tag: 2.2.1_release~105^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6401a649e609454773139bfd57708a0b9d3716ea;p=test%2Ftct%2Fweb%2Fapi.git [Bluetooth] cleanup Change-Id: Ic65a056b3c102203caed79e7b45400ffc8cc4fe1 Conflicts: tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html --- diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onnamechanged.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onnamechanged.html index c7672a016..1410a45ef 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onnamechanged.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onnamechanged.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onstatechanged.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onstatechanged.html index c3da5ff54..5c70d6471 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onstatechanged.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onstatechanged.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html index a4249b9c8..0c79eb689 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapterChangeCallback_onvisibilitychanged.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding.html index c1b1b0d38..7000d720e 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding.html @@ -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); }); + - + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html index 50fbaa93c..755839ba5 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html @@ -20,7 +20,7 @@ limitations under the License. Authors: Witold Choinkowski --> - + BluetoothAdapter_createBonding_address_NotFound @@ -33,26 +33,28 @@ Authors:
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_bondingDevice.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_bondingDevice.html index d5a864c75..ef81987c8 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_bondingDevice.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_bondingDevice.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothAdapter interface - usage test of interface +BluetoothAdapter_createBonding_bondingDevice @@ -92,6 +92,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_callback_onerror.html index d3ebad83c..ac977f6eb 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html index 4b485803f..7f68f2217 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicebonded.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicebonded.html index 0f33f6db2..f4357585d 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicebonded.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicebonded.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicename_correct.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicename_correct.html index 084604145..9af9eff8a 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicename_correct.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_devicename_correct.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceuuid_correct.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceuuid_correct.html index c372009a3..28070715b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceuuid_correct.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceuuid_correct.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_missarg.html index 222414eb3..8ff9573f9 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_missarg.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_errorCallback.html index 4e0da1c0c..c791d5e4e 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_errorCallback.html @@ -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); }); + - + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding.html index 679093b3f..1c4ea09be 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html index ec682216c..455de18ce 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html @@ -21,7 +21,7 @@ Authors: Junghyuk Park --> - + BluetoothAdapter_destroyBonding_address_NotFound @@ -34,16 +34,16 @@ Authors:
diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_callback_onerror.html index a7b4a64d6..128b9e05a 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_errorCallback.html index 51e2fe2b0..5e9112809 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_successCallback.html index ad28b2ab0..7c80e17a9 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_successCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices.html index d2c2265c7..889e05961 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices.html @@ -23,7 +23,7 @@ Authors: --> -bluetooth.adapter.discoverDevices() - found devices finish +BluetoothAdapter_discoverDevices @@ -65,6 +65,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_onerror.html old mode 100755 new mode 100644 index 6d3367507..154c861a4 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_successful.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_successful.html index 3541ea595..ba6606d2b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_successful.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_callback_successful.html @@ -32,7 +32,7 @@ Authors: -bluetooth.adapter.discoverDevices() - call back successful +BluetoothAdapter_discoverDevices_callback_successful @@ -75,6 +75,7 @@ t.step(function () { setBluetoothDiscoveryCleanup(adapter); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html index 41c0cf194..120ef3579 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html @@ -20,10 +20,10 @@ limitations under the License. Authors: Witold Choinkowski --> - + -Contact/UTC_bluetooth +BluetoothAdapter_discoverDevices_invalid_callback_name @@ -34,11 +34,11 @@ Authors: - - - diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_missarg.html index 02631c5e5..d14b644e1 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_missarg.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothAdapter.discoverDevices() - Check with missing non-optional argument +BluetoothAdapter_discoverDevices_missarg @@ -53,6 +53,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfinish_successful.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfinish_successful.html index 120c46cdc..8e509f9d6 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfinish_successful.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfinish_successful.html @@ -77,6 +77,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_deviceaddress.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_deviceaddress.html index c05dd60ba..7331a2fc3 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_deviceaddress.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_deviceaddress.html @@ -82,6 +82,7 @@ t.step(function () { setBluetoothDiscoveryCleanup(adapter); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_devicename.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_devicename.html index 85bb4a02b..a871f4f1b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_devicename.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_devicename.html @@ -32,7 +32,7 @@ Authors: -bluetooth.adapter.discoverDevices() - found device name +BluetoothAdapter_discoverDevices_onfound_devicename @@ -81,6 +81,7 @@ t.step(function () { setBluetoothDiscoveryCleanup(adapter); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_successful.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_successful.html index 16f3fa5af..27e3023f3 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_successful.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_onfound_successful.html @@ -32,7 +32,7 @@ Authors: -bluetooth.adapter.discoverDevices() - found device +BluetoothAdapter_discoverDevices_onfound_successful @@ -82,6 +82,7 @@ t.step(function () { setBluetoothDiscoveryCleanup(adapter); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_with_errorCallback.html index 068ed1ad8..5c30fec8b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_with_errorCallback.html @@ -23,7 +23,7 @@ Authors: --> -_with_errorCallback +BluetoothAdapter_discoverDevices_with_errorCallback @@ -69,6 +69,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html index 129c9dd32..66f6e33af 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html @@ -20,7 +20,7 @@ limitations under the License. Authors: Witold Choinkowski --> - + BluetoothAdapter_function_type_check @@ -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"); - - - diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getBluetoothProfileHandler.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getBluetoothProfileHandler.html index 91da6cc66..f56da514e 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getBluetoothProfileHandler.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getBluetoothProfileHandler.html @@ -43,6 +43,7 @@ test(function () { assert_equals(healthProfileHandler.profileType, profileType, "healthProfileHandler profileType has wrong value or type"); }, "BluetoothAdapter_getBluetoothProfileHandler"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice.html index 8b824d149..99a89e960 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html index 351cc64e0..bcf8d0381 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html @@ -20,7 +20,7 @@ limitations under the License. Authors: Witold Choinkowski --> - + BluetoothAdapter_getDevice_address_NotFound @@ -34,16 +34,16 @@ Authors: diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_callback_onerror.html index 451b162a1..f89af2de7 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_missarg.html index 3758d82b9..60714ac0b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_missarg.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_errorCallback.html index bbd6df51d..89fe5ee53 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices.html index 831f9e685..e259381ff 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices.html @@ -18,9 +18,9 @@ limitations under the License. Authors: - Lukasz Bardeli + Lukasz Bardeli --> - + BluetoothAdapter_getKnownDevices @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_onerror.html index fb436a360..9ef6ff78f 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_successful.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_successful.html index 5fefd20d8..6c1e62ace 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_successful.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_callback_successful.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html index 094629faa..e7ab9a53f 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html @@ -20,7 +20,7 @@ limitations under the License. Authors: Witold Choinkowski --> - + BluetoothAdapter_getKnownDevices_check_types @@ -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 () { }); - - - diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_missarg.html index e561ee2f9..89fc964f8 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_missarg.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothAdapter.getKnownDevices() - Check with missing non-optional argument +BluetoothAdapter_getKnownDevices_missarg @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html index 0703e0adc..6b1cd52af 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html @@ -17,12 +17,12 @@ limitations under the License. Authors: - Lukasz Bardeli + Lukasz Bardeli --> - + -Contact/UTC_bluetooth +BluetoothAdapter_getKnownDevices_with_errorCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID.html index 260793a02..ea40b5c72 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID.html @@ -33,7 +33,7 @@ Authors: -bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful +BluetoothAdapter_registerRFCOMMServiceByUUID @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html index 48443205f..59338b34d 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothAdapter.registerRFCOMMServiceByUUID() - Check with missing non-optional argument +BluetoothAdapter_registerRFCOMMServiceByUUID_missarg @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful.html index 6a39c0820..672b3eb72 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful.html @@ -33,7 +33,7 @@ Authors: -bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful +BluetoothAdapter_registerRFCOMMServiceByUUID_onconnect_successful @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html index b94873b9f..ef4bc04e2 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback.html index 5ce7f62d2..8f8d6de28 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback.html @@ -33,7 +33,7 @@ Authors: -bluetooth.adapter.registerRFCOMMServiceByUUID() - on connect successful +BluetoothAdapter_registerRFCOMMServiceByUUID_with_errorCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html index 2dde22f2f..31fcef168 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_missarg.html index 325ef799b..d3d82f048 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_missarg.html @@ -46,6 +46,7 @@ test(function () { adapter.setChangeListener(); }, "Method with non optional argument."); }, "BluetoothAdapter_setChangeListener_missarg"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName.html index 3dfa8e721..756f8f73f 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_callback_error.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_callback_error.html index cdb10ef59..44ade4892 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_callback_error.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_callback_error.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_longname.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_longname.html index 3a24a8dc6..616bdd128 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_longname.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_longname.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_errorCallback.html index e234e3600..4fd0f4237 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_errorCallback.html @@ -33,7 +33,7 @@ Authors: -bluetooth.adapter.setName() - normal case +BluetoothAdapter_setName_with_errorCallback @@ -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); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_successCallback.html index 3d34224e3..19e0f3321 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_successCallback.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothAdapter_setName +BluetoothAdapter_setName_with_successCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPower_off.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPower_off.html index b819dee28..1e058e668 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPower_off.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPower_off.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html index 2670c007d..dc353d3ad 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html @@ -20,10 +20,10 @@ limitations under the License. Authors: Witold Choinkowski --> - + -Contact/UTC_bluetooth +BluetoothAdapter_setPowered @@ -34,19 +34,17 @@ Authors: - - diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_errorCallback.html index cd96d621e..37ed572ad 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_errorCallback.html @@ -36,7 +36,7 @@ Authors: BluetoothAdapter_setPowered_with_errorCallback - +
@@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_successCallback.html index b5030d637..eac030ea1 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_with_successCallback.html @@ -26,7 +26,7 @@ Authors: BluetoothAdapter_setPowered_with_successCallback - +
@@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible.html index d2e147d00..54a58d069 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_callback_onerror.html index 1d6063d78..36431203d 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_errorCallback.html old mode 100755 new mode 100644 index 6d8d9b5d9..f3b0f7f8e --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_successCallback.html old mode 100755 new mode 100644 index 570463345..94ea35c70 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_successCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_timeout.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_timeout.html old mode 100755 new mode 100644 index 3b3281c62..c2b924844 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_timeout.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_with_timeout.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery.html index 21bb23df8..40e64f88b 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery.html @@ -18,12 +18,12 @@ limitations under the License. Authors: - Lukasz Bardeli + Lukasz Bardeli --> - + -Contact/BluetoothAdapter_stopDiscovery +BluetoothAdapter_stopDiscovery @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_callback_onerror.html old mode 100755 new mode 100644 index f4dc9a4d7..bdb4faca8 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_callback_onerror.html @@ -22,8 +22,10 @@ Authors: --> + BluetoothAdapter_stopDiscovery_callback_onerror + @@ -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); + }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_errorCallback.html index 8fa566380..ba4bfe129 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_errorCallback.html @@ -18,12 +18,12 @@ limitations under the License. Authors: - Lukasz Bardeli + Lukasz Bardeli --> - + -Contact/BluetoothAdapter_stopDiscovery_with_errorCallback +BluetoothAdapter_stopDiscovery_with_errorCallback @@ -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 () { }); - - - - diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_successCallback.html index cff0be4a1..5847b5d77 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_with_successCallback.html @@ -18,12 +18,12 @@ limitations under the License. Authors: - Lukasz Bardeli + Lukasz Bardeli --> - + -Contact/BluetoothAdapter_stopDiscovery_with_successCallback +BluetoothAdapter_stopDiscovery_with_successCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener.html index f12c1456f..56ba29e9d 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener.html @@ -63,6 +63,7 @@ t.step(function () { }); adapter.setPowered(!adapter.powered, powerSuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener_extra_argument.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener_extra_argument.html index 3923f1fbc..090e410ee 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener_extra_argument.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_unsetChangeListener_extra_argument.html @@ -43,6 +43,7 @@ test(function () { adapter = tizen.bluetooth.getDefaultAdapter(); checkExtraArgument(adapter, "unsetChangeListener"); }, "BluetoothAdapter_unsetChangeListener_extra_argument"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html index 5f8f98842..751984b21 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass_hasService.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass_hasService.html index 9f800dd6f..a41715599 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass_hasService.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass_hasService.html @@ -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); }); + - + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice.html index 3b77f1a94..af610b27c 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDeviceArraySuccessCallback_onsuccess.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDeviceArraySuccessCallback_onsuccess.html index 8d3005959..b2280a4ed 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDeviceArraySuccessCallback_onsuccess.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDeviceArraySuccessCallback_onsuccess.html @@ -78,6 +78,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID.html index 126dbbaa3..59813015a 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_onerror.html index 93dd34e8d..6f4ed8572 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_with_errorCallback.html index f9e26099f..13fbd4764 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDevice_connectToServiceByUUID_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicedisappeared.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicedisappeared.html index 526314f9c..e24e5302a 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicedisappeared.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicedisappeared.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicefound.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicefound.html index 26895a639..8ee3d5c05 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicefound.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_ondevicefound.html @@ -74,6 +74,7 @@ t.step(function () { setBluetoothDiscoveryCleanup(adapter); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onfinished.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onfinished.html index 9f386c773..6f5694162 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onfinished.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onfinished.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onstarted.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onstarted.html index bcfa2beef..1e43b3602 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onstarted.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothDiscoverDevicesSuccessCallback_onstarted.html @@ -70,6 +70,7 @@ t.step(function () { adapter = tizen.bluetooth.getDefaultAdapter(); stopDiscovery(t, adapter, stopDiscoverySuccess); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplicationSuccessCallback_onsuccess.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplicationSuccessCallback_onsuccess.html index a9ce5fcd8..98b78d762 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplicationSuccessCallback_onsuccess.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplicationSuccessCallback_onsuccess.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html index 913f22ead..e6b8c664d 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_callback_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_callback_onerror.html index 89ef2fe90..c6de1bac4 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_callback_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_callback_onerror.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_errorCallback.html index 2f6d89eaa..5ac3c8d19 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_successCallback.html index 8ca32e549..691ef0913 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_with_successCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_connectToSource_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_connectToSource_missarg.html index a9ce819bd..3489eebc2 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_connectToSource_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_connectToSource_missarg.html @@ -47,6 +47,7 @@ test(function () { healthProfileHandler.connectToSource(); }, "Method with non optional argument."); }, "BluetoothHealthProfileHandler_connectToSource_missarg"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html index cf39528bc..c1ae2f695 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_callback_error.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_callback_error.html index 139668296..a6067c588 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_callback_error.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_callback_error.html @@ -24,8 +24,9 @@ Authors: -BluetoothHealthProfileHandler_registerSinkApplication_callback_onerror +BluetoothHealthProfileHandler_registerSinkApplication_callback_error +
@@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html index 9cba548eb..a2382e7f7 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html @@ -47,6 +47,7 @@ test(function () { healthProfileHandler.registerSinkApplication(); }, "Method with non optional argument."); }, "BluetoothHealthProfileHandler_registerSinkApplication_missarg"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback.html index 0ebb6c4c1..a7f32b304 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_with_errorCallback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter.html index 787583c8a..4ca620a6f 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothManager.getDefaultAdapter +BluetoothManager_getDefaultAdapter @@ -44,6 +44,7 @@ test(function () { assert_type(adapter.address, "string", "address attribute test"); assert_type(adapter.name, "string", "name attribute test"); }, "BluetoothManager_getDefaultAdapter"); + - + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter_extra_argument.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter_extra_argument.html index ac160f1e2..6a9ca4ce7 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter_extra_argument.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_getDefaultAdapter_extra_argument.html @@ -38,6 +38,7 @@ Authors: test(function () { checkExtraArgument(tizen.bluetooth, "getDefaultAdapter"); }, "BluetoothManager_getDefaultAdapter_extra_argument"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_in_tizen.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_in_tizen.html index 5c2d42cf7..570d0eeaf 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_in_tizen.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothManager_in_tizen.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothManager in tizen +BluetoothManager_in_tizen @@ -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"); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html index 8164ac9d9..823857499 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html index ec6ac7fdc..26dcfb666 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothServiceHandler interface - usage test of interface +BluetoothServiceHandler_unregister_unregisterServiceRecord @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_errorCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_errorCallback.html index e5e41609a..382467d51 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_errorCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_errorCallback.html @@ -32,7 +32,7 @@ Authors: --> -BluetoothServiceHandler.unregister() - call back successful +BluetoothServiceHandler_unregister_with_errorCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_successCallback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_successCallback.html index 991ce0891..88b4d9846 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_successCallback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_with_successCallback.html @@ -23,7 +23,7 @@ Authors: --> -BluetoothServiceHandler.unregister() - call back successful +BluetoothServiceHandler_unregister_with_successCallback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceSuccessCallback_onsuccess.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceSuccessCallback_onsuccess.html index dd0cdae12..1ff7395a4 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceSuccessCallback_onsuccess.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceSuccessCallback_onsuccess.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket.html index 1f34394fa..22fe1169a 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocketState_open_enum.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocketState_open_enum.html index 368468885..c293eab7f 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocketState_open_enum.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocketState_open_enum.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothDevice interface - usage test of interface +BluetoothSocketState_open_enum @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_close.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_close.html index 5688de35b..0c1993cd9 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_close.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_close.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onclose_callback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onclose_callback.html index 911eabf03..d07006c13 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onclose_callback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onclose_callback.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onmessage_callback.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onmessage_callback.html index 1a29e32fa..a5c6c5232 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onmessage_callback.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_onmessage_callback.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothSocket.onmessage - callback +BluetoothSocket_onmessage_callback @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_readData.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_readData.html index be6b570da..dc1ab4457 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_readData.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_readData.html @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_writeData.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_writeData.html index 59927fb9a..b9abfaaa6 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_writeData.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothSocket_writeData.html @@ -31,7 +31,7 @@ Authors: --> -BluetoothSocket.writeData +BluetoothSocket_writeData @@ -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); }); + diff --git a/tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js b/tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js index 85c7fa293..41edbe3f6 100644 --- a/tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js +++ b/tct-bluetooth-tizen-tests/bluetooth/support/bluetooth_common.js @@ -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); diff --git a/tct-bluetooth-tizen-tests/tests.full.xml b/tct-bluetooth-tizen-tests/tests.full.xml index 803e14341..f985f803b 100644 --- a/tct-bluetooth-tizen-tests/tests.full.xml +++ b/tct-bluetooth-tizen-tests/tests.full.xml @@ -664,19 +664,19 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#createBondingid2317306 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html @@ -688,7 +688,7 @@ - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html @@ -696,24 +696,24 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#destroyBondingid2317500 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html @@ -721,7 +721,7 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getDeviceid2317115 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -734,19 +734,19 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#setPoweredid2316032 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -758,7 +758,7 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -2204,7 +2204,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html @@ -2216,7 +2216,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html @@ -2228,7 +2228,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html @@ -2240,7 +2240,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html @@ -2252,7 +2252,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html @@ -2264,7 +2264,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html @@ -2276,7 +2276,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html @@ -2288,7 +2288,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html @@ -2300,7 +2300,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html @@ -2312,7 +2312,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html @@ -2324,7 +2324,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html @@ -2336,7 +2336,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html @@ -2348,7 +2348,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html @@ -2360,7 +2360,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html @@ -2372,7 +2372,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html @@ -2384,7 +2384,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html @@ -2396,7 +2396,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html @@ -2408,7 +2408,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html @@ -2420,7 +2420,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html @@ -2432,7 +2432,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html @@ -2444,7 +2444,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html @@ -2456,7 +2456,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html @@ -2468,7 +2468,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html @@ -2480,7 +2480,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html @@ -2492,7 +2492,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html @@ -2504,7 +2504,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html @@ -2516,7 +2516,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html @@ -2528,7 +2528,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html @@ -2540,7 +2540,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html @@ -2552,7 +2552,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html @@ -2564,7 +2564,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html @@ -2576,7 +2576,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html @@ -2588,7 +2588,7 @@ - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_TypeMismatch.html @@ -2601,7 +2601,7 @@ - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch.html @@ -2614,7 +2614,7 @@ - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_invalid_cb.html @@ -2627,7 +2627,7 @@ - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_invalid_cb.html @@ -2640,7 +2640,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html @@ -2652,7 +2652,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html @@ -2664,7 +2664,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html @@ -2676,7 +2676,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html @@ -2888,7 +2888,7 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -2901,7 +2901,7 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#discoverDevicesid2316511 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -2914,7 +2914,7 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3032,7 +3032,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html @@ -3044,7 +3044,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html @@ -3056,7 +3056,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html @@ -3068,7 +3068,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html @@ -3080,7 +3080,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html @@ -3099,7 +3099,7 @@ - https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3111,7 +3111,7 @@ - https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3123,7 +3123,7 @@ - https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3135,7 +3135,7 @@ - https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3164,7 +3164,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html @@ -3188,7 +3188,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html @@ -3404,7 +3404,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html @@ -3416,7 +3416,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html @@ -3452,7 +3452,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html @@ -3464,7 +3464,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html @@ -3500,7 +3500,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html @@ -3512,7 +3512,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html @@ -3536,7 +3536,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html @@ -3548,7 +3548,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html @@ -3758,7 +3758,7 @@ - https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/bluetooth.html + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD @@ -3812,7 +3812,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html @@ -3824,7 +3824,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html @@ -3836,7 +3836,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html @@ -3881,12 +3881,12 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#::Bluetooth::BluetoothAdapter + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html @@ -3898,7 +3898,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html @@ -3918,12 +3918,12 @@ - https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html#getKnownDevicesid2316922 + https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html TBD - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html @@ -3935,7 +3935,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html @@ -3947,7 +3947,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html @@ -3959,7 +3959,7 @@ - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html diff --git a/tct-bluetooth-tizen-tests/tests.xml b/tct-bluetooth-tizen-tests/tests.xml index 4b9859b54..5d1bd9624 100644 --- a/tct-bluetooth-tizen-tests/tests.xml +++ b/tct-bluetooth-tizen-tests/tests.xml @@ -300,28 +300,28 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_unregisterServiceRecord.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_address_NotFound.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_with_error_null_and_success_TypeMismatch.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_NotFound.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_invalid_callback_name.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_NotFound.html @@ -333,7 +333,7 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_with_errorCallback.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered.html @@ -944,206 +944,206 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_missarg.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setPowered_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_discoverDevices_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_stopDiscovery_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_errorCallback_invalid_cb.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_TypeMismatch.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_TypeMismatch.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_successCallback_invalid_cb.html - + The bluetooth of the remote device MUST be turned on and discoverable from other devices. /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_errorCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister_errorCallback_invalid_cb.html @@ -1303,27 +1303,27 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothServiceHandler_unregister.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/Bluetooth_discoverDevices_successCallback_invalidcb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_successCallback_invalid_cb.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setVisible_errorCallback_invalid_cb.html @@ -1358,7 +1358,7 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_TypeMismatch.html @@ -1368,7 +1368,7 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_exist.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setChangeListener_listener_invalid_cb.html @@ -1458,12 +1458,12 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_errorCallback_invalid_cb.html @@ -1478,12 +1478,12 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_missarg.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthProfileHandler_registerSinkApplication_successCallback_invalid_cb.html @@ -1498,12 +1498,12 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_errorCallback_invalid_cb.html @@ -1513,12 +1513,12 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_exist.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothHealthApplication_unregister_successCallback_invalid_cb.html @@ -1635,17 +1635,17 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_createBonding_deviceaddress_correct.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_address_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_TypeMismatch_and_error_null.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_destroyBonding_with_success_null_and_error_TypeMismatch.html @@ -1667,12 +1667,12 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_function_type_check.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_address_TypeMismatch.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getDevice_with_success_TypeMismatch_and_error_null.html @@ -1683,22 +1683,22 @@ /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_check_types.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_getKnownDevices_success_TypeMismatch_error_null.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_with_success_TypeMismatch_and_error_null.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_TypeMismatch_and_error_null.html - + /opt/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_setName_with_success_null_and_error_TypeMismatch.html