未验证 提交 945cd222 编写于 作者: 姜欢欢 提交者: Gitee

bleRegisterState.test.js.

Signed-off-by: N姜欢欢 <jianghuanhuan@huawei.com>
上级 aa6054c4
......@@ -47,8 +47,9 @@ describe('AccessibleRegisterState', function () {
it('RegisterStateOnOff_0330', 0, async function (done) {
console.info('RegisterStateOnOff_0330');
let stateEventType = 'accessibilityStateChange';
accessibility.on(stateEventType, (data) => {});
accessibility.off(stateEventType, (data) => {});
let callbackdata = (data) => {}
accessibility.on(stateEventType, callbackdata);
accessibility.off(stateEventType, callbackdata);
expect(true).assertTrue();
done();
})
......@@ -64,11 +65,12 @@ describe('AccessibleRegisterState', function () {
it('RegisterStateOnOff_0340', 0, async function (done) {
console.info('RegisterStateOnOff_0340');
let stateEventType = 'touchGuideStateChange';
accessibility.on(stateEventType, (data) => {});
accessibility.off(stateEventType, (data) => {});
let callbackdata = (data) => {}
accessibility.on(stateEventType, callbackdata);
accessibility.off(stateEventType, callbackdata);
expect(true).assertTrue();
done();
})
})
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册