提交 925218ac 编写于 作者: Q q00313334

quanli1@huawei.com

Signed-off-by: Nq00313334 <quanli1@huawei.com>
上级 7365e4f3
......@@ -708,23 +708,7 @@ describe('bluetoothhostTest', function() {
done();
})
/**
* @tc.number SUB_COMMUNACATION_bluetooth_GATT_REMOVE_SERVICE_0001
* @tc.name testRemoveService
* @tc.desc Test RemoveService api.
* @tc.size MEDIUM
* @tc.type Function
* @tc.level Level 2
*/
it('SUB_COMMUNACATION_bluetooth_GATT_REMOVE_SERVICE_0001', 0, async function (done) {
console.info('[bluetooth_js] removeService start');
await tryToEnableBt();
let gattServer = bluetooth.BLE.createGattServer();
let ret = gattServer.removeService('00001810-0000-1000-8000-008000000000');
console.info('[bluetooth_js] removeService ret : ' + ret);
expect(ret).assertEqual(false);
done();
})
/**
* @tc.number SUB_COMMUNACATION_bluetooth_GATT_NOTIFY_CHARA_CHANGED_0001
......
......@@ -263,6 +263,7 @@ describe('bluetoothhostTest', function() {
});
}
bluetooth.BLE.startBLEScan([{deviceId:"00:00:00:00:00:00"}]);
done();
})
......@@ -291,6 +292,7 @@ describe('bluetoothhostTest', function() {
});
}
bluetooth.BLE.startBLEScan([{name:"bluetooth_test"}]);
done();
})
......@@ -319,6 +321,7 @@ describe('bluetoothhostTest', function() {
});
}
bluetooth.BLE.startBLEScan([{serviceUuid:"00001888-0000-1000-8000-00805f9b34fb"}]);
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册