提交 ec800221 编写于 作者: M mengwei

Add xts testcases for PointerStyle

Signed-off-by: Nmengwei <mengwei23@huawei.com>
上级 154bcac7
...@@ -422,6 +422,15 @@ export default function Pointer_test() { ...@@ -422,6 +422,15 @@ export default function Pointer_test() {
console.info('Pointer_MIDDLE_BTN_NORTH_SOUTH_WEST_EAST_test = ' + pointer.PointerStyle.MIDDLE_BTN_NORTH_SOUTH_WEST_EAST); console.info('Pointer_MIDDLE_BTN_NORTH_SOUTH_WEST_EAST_test = ' + pointer.PointerStyle.MIDDLE_BTN_NORTH_SOUTH_WEST_EAST);
expect(pointer.PointerStyle.MIDDLE_BTN_NORTH_SOUTH_WEST_EAST == 38).assertTrue(); expect(pointer.PointerStyle.MIDDLE_BTN_NORTH_SOUTH_WEST_EAST == 38).assertTrue();
console.info('Pointer_HORIZONTAL_TEXT_CURSOR_test = ' + pointer.PointerStyle.HORIZONTAL_TEXT_CURSOR);
expect(pointer.PointerStyle.HORIZONTAL_TEXT_CURSOR == 39).assertTrue();
console.info('Pointer_CURSOR_CROSS_test = ' + pointer.PointerStyle.CURSOR_CROSS);
expect(pointer.PointerStyle.CURSOR_CROSS == 40).assertTrue();
console.info('Pointer_CURSOR_CIRCLE_test = ' + pointer.PointerStyle.CURSOR_CIRCLE);
expect(pointer.PointerStyle.CURSOR_CIRCLE == 41).assertTrue();
}) })
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册