From ec800221505da5383dfcbb59310b8b3d7464b046 Mon Sep 17 00:00:00 2001 From: mengwei Date: Sat, 10 Jun 2023 12:45:53 +0800 Subject: [PATCH] Add xts testcases for PointerStyle Signed-off-by: mengwei --- .../input_js_standard/src/main/js/test/Pointer.test.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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 5905914c8..2416581d6 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 @@ -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); 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(); }) /** -- GitLab