diff --git a/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js b/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js index fb0efbdac7762560ecf6e92f36a8f13bd7ff4d09..dced28167a081bacf6098f5ea2abb9048d8867dd 100644 --- a/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js +++ b/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js @@ -433,6 +433,17 @@ export default function Pointer_test() { 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.name MultimodalInputDevice_PointerVisibleTest_Exception_Test_001