commit | c90db40887cd6681e469eb3af1b46a768e5e215c | [log] [tgz] |
---|---|---|
author | Sophie Yang <sophyang@google.com> | Mon Jul 22 19:48:03 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 22 19:48:03 2019 |
tree | 9648a36a84da7fe5b3e97ae2e83de7468e0a5564 | |
parent | 644621ce6e226a687b42e106307b8eda0505f4be [diff] |
Added automated tests for editable text navigation with Switch Access on Chrome OS Added basic functionality tests for each of the public methods in text_navigation_manager.js (jumpToBeginning, jumpToEnd, moveBackwardOneChar, moveBackwardOneWord, moveDownOneLine, moveForwardOneChar, moveForwardOneWord, moveUpOneLine). Note that the tests assume that the implementation of these actions directly changes the position of the text caret to the intended index (with no intermediate movements of the caret). This assumption was made to help eliminate flakiness of the event listeners in the tests. Test: Use --gtest_filter="*SwitchAccessTextNavigationManagerTest*" to run only these tests. Bug: 982004 Change-Id: I2a7f817a22157ee14541d002c7e4bf8cc6d72501 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706396 Reviewed-by: Katie Dektar <katie@chromium.org> Reviewed-by: Anastasia Helfinstein <anastasi@google.com> Commit-Queue: Sophie Yang <sophyang@google.com> Cr-Commit-Position: refs/heads/master@{#679670}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .