未验证 提交 1c35705f 编写于 作者: O openharmony_ci 提交者: Gitee

!9380 mmi_touchPad_set_enum_acts

Merge pull request !9380 from xixian/master
...@@ -433,6 +433,17 @@ export default function Pointer_test() { ...@@ -433,6 +433,17 @@ export default function Pointer_test() {
expect(pointer.PointerStyle.CURSOR_CIRCLE == 41).assertTrue(); expect(pointer.PointerStyle.CURSOR_CIRCLE == 41).assertTrue();
}) })
it('Touchpad_RightClickType_test', 0, function () {
console.info('Touchpad_TOUCHPAD_RIGHT_BUTTON_test = ' + pointer.RightClickType.TOUCHPAD_RIGHT_BUTTON);
expect(pointer.RightClickType.TOUCHPAD_RIGHT_BUTTON == 1).assertTrue();
console.info('Touchpad_TOUCHPAD_LEFT_BUTTON_test = ' + pointer.RightClickType.TOUCHPAD_LEFT_BUTTON);
expect(pointer.RightClickType.TOUCHPAD_LEFT_BUTTON == 2).assertTrue();
console.info('Touchpad_TOUCHPAD_TWO_FINGER_TAP_test = ' + pointer.RightClickType.TOUCHPAD_TWO_FINGER_TAP);
expect(pointer.RightClickType.TOUCHPAD_TWO_FINGER_TAP == 3).assertTrue();
})
/** /**
* @tc.number MultimodalInputPointer_Test_001 * @tc.number MultimodalInputPointer_Test_001
* @tc.name MultimodalInputDevice_PointerVisibleTest_Exception_Test_001 * @tc.name MultimodalInputDevice_PointerVisibleTest_Exception_Test_001
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册