From: Junghyuk Park Date: Thu, 22 Aug 2013 04:55:49 +0000 (+0900) Subject: [Bluetooth] Fixed variable scope X-Git-Tag: 2.2.1_release~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6c701e2e209ee46b19a6b6d80bfd1d72c1f7feb;p=test%2Ftct%2Fweb%2Fapi.git [Bluetooth] Fixed variable scope Change-Id: Ia4618a55f7b53cdd0e3406f6baec711db7797c95 --- diff --git a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html old mode 100644 new mode 100755 index 15b00bb20..23c38482d --- a/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html +++ b/tct-bluetooth-tizen-tests/bluetooth/BluetoothAdapter_registerRFCOMMServiceByUUID_onerror.html @@ -52,10 +52,10 @@ Authors: setup({timeout: 90000}); -var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onerror", {timeout: 90000}); -t.step(function () { - var adapter, powerOffSuccess, powerOffError, chatServiceSuccessCallback, chatServiceErrorCallback, serviceHandler; +var t = async_test("BluetoothAdapter_registerRFCOMMServiceByUUID_onerror", {timeout: 90000}), + adapter, powerOffSuccess, powerOffError, chatServiceSuccessCallback, chatServiceErrorCallback, serviceHandler; +t.step(function () { add_result_callback(function (res) { serviceHandler.unregister(); });