未验证 提交 0ca11119 编写于 作者: O openharmony_ci 提交者: Gitee

!4752 【communication】3.1-release删除A2dp.getProfileConnState接口对应用例

Merge pull request !4752 from 黄苑/feature
......@@ -162,22 +162,6 @@ describe('bluetoothhostTest_host1', function () {
})
/**
* @tc.number SUB_COMMUNACATION_bluetooth_DEVICE_JS_A2DP_GET_PROFILE_STATE_0001
* @tc.name testgetProfileState
* @tc.desc Test getProfileState api.
* @tc.type Function
* @tc.level Level 0
*/
it('SUB_COMMUNACATION_bluetooth_DEVICE_JS_A2DP_GET_PROFILE_STATE_0001', 0, async function (done) {
console.info('[bluetooth_js] a2dpSourceProfile getProfileState start');
await tryToEnableBt();
let state = bluetooth.getProfileConnState(bluetooth.ProfileId.PROFILE_A2DP_SOURCE);
console.info('[bluetooth_js] a2dpSourceProfile state is:' + state);
expect(state).assertEqual(0);
await sleep(1000);
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册