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

update AccessibleCaptionConfiguration.test.js.

Signed-off-by: N姜欢欢 <jianghuanhuan@huawei.com>
上级 856f60be
......@@ -41,8 +41,9 @@ describe('AccessibleCaptionConfiguration', function () {
console.info('CaptionConfiguration_0010');
let captionManager = accessibility.getCaptionsManager();
let stateEventType = 'enableChange';
captionManager.on(stateEventType, (data) => {});
captionManager.off(stateEventType, (data) => {});
let callbackdata = (data) => {}
captionManager.on(stateEventType, callbackdata);
captionManager.off(stateEventType, callbackdata);
expect(true).assertTrue();
done();
})
......@@ -59,8 +60,9 @@ describe('AccessibleCaptionConfiguration', function () {
console.info('CaptionConfiguration_0020');
let captionManager = accessibility.getCaptionsManager();
let stateEventType = 'styleChange';
captionManager.on(stateEventType, (data) => {});
captionManager.off(stateEventType, (data) => {});
let callbackdata = (data) => {}
captionManager.on(stateEventType, callbackdata);
captionManager.off(stateEventType, callbackdata);
expect(true).assertTrue();
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册