From: zhaofeng Date: Fri, 25 Sep 2020 07:11:26 +0000 (+0800) Subject: [common][bluetooth][TSIX-6639, modify case conditon about device.deviceClass.services... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7d00fcf1e8d9ed6af7a2fc1038cf4ecec5de78a;p=test%2Ftct%2Fweb%2Fapi.git [common][bluetooth][TSIX-6639, modify case conditon about device.deviceClass.services.length] Change-Id: Id4f8958cff2ba6d102ac838151bac864e21c6366 Signed-off-by: zhaofeng --- diff --git a/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html b/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html index 6d0348029..6fd05286d 100755 --- a/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html +++ b/common/tct-bluetooth-tizen-tests/bluetooth/BluetoothClass.html @@ -103,7 +103,7 @@ t.step(function () { test(function () { assert_own_property(device.deviceClass, "services", "No property service name."); assert_type(device.deviceClass.services, "array", "device.deviceClass.services is type array."); - assert_true(device.deviceClass.services.length > 0, "bluetooth device services not found"); + assert_true(device.deviceClass.services.length >= 0, "bluetooth device services not found"); devService = device.deviceClass.services[0]; device.deviceClass.services[0] = null;