提交 52b0605c 编写于 作者: Y yuexinyao1

yuexinyao1@huawei.com

Signed-off-by: Nyuexinyao1 <yuexinyao1@huawei.com>
上级 17032ba6
......@@ -164,14 +164,18 @@ export default function Pointer_test() {
try {
var windowId = data.id;
pointer.setPointerStyle(windowId, 4, (err) => {
try{
if (err) {
console.info(`SetPointerStyle_002 failed_1, err=${JSON.stringify(err)}`);
expect(false).assertTrue();
} else {
console.info(`SetPointerStyle_002 success`);
expect(true).assertTrue();
resolve();
}
}catch(error){
console.info(`SetPointerStyle_002 assert fail`);
}
resolve();
});
} catch (error) {
console.info(`SetPointerStyle_002 error`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册