From: Rafal Walczyna Date: Thu, 11 Jan 2018 12:32:36 +0000 (+0100) Subject: [common][bluetooth] DPTTIZEN-2987 modify one testcase X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ac04855b9d6d414797251e39ad93bf016c699a8;p=test%2Ftct%2Fweb%2Fapi.git [common][bluetooth] DPTTIZEN-2987 modify one testcase [Verification] Passrate not changed, test behaviour stayed the same Change-Id: Iabc3a495e52c8f3e73a41f807bf6e51dcfa7e111 Signed-off-by: Rafal Walczyna --- diff --git a/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCombined.html b/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCombined.html index 4a2111b90..b461a0b6e 100644 --- a/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCombined.html +++ b/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothGATTCombined.html @@ -163,22 +163,15 @@ t.step(function () { var inner3 = async_test("BluetoothGATTCharacteristic_writeValue_with_errorCallback", {timeout: 60000}); inner3.step(function () { var value, data = new Array(1, 2, 3, 4, 5, 6), charFlag = false, retVal, characteristic, descriptor, i, j, conversionTable, exceptionName; - var ReadValueSuccessCallback = inner3.step_func(function (value) { - assert_array_equals(value, data, "readValue returns wrong value"); - }); var WriteValueSuccessCallback = inner3.step_func(function (value) { assert_equals(retVal, undefined, "writeValue should return undefined"); - characteristic.readValue(ReadValueSuccessCallback); inner3.done(); }); var WriteValueErrorCallback = inner3.step_func(function (error) { assert_unreached("writeValue() error callback was invoked: " + error.name + " msg: " + error.message); }); - var ReadValueSuccessCallback = inner3.step_func(function (value) { - assert_array_equals(value, data, "readValue returns wrong value"); - }); var service = storedDevice.getService(storedDevice.uuids[0]); if (service.characteristics.length > 0) {