Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4632)

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs

Issue 674263003: Add remaining text/caret navigation commands to ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@integrate_cursor
Patch Set: Add comments. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
index 7d6e11219afc41ac48ef104240d4f08af7c03af6..7cc281a4b09dbd0123d52c60fd57aafca20704a0 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
@@ -191,9 +191,9 @@ TEST_F('CursorsTest', 'LineCursor', function() {
// Line (DIRECTIONAL).
[LINE, DIRECTIONAL, FORWARD, {value: 'end'}],
[LINE, DIRECTIONAL, FORWARD, {value: 'end'}],
- [LINE, DIRECTIONAL, BACKWARD, {value: 'start '}],
- [LINE, DIRECTIONAL, BACKWARD, {value: 'start '}],
- [LINE, BOUND, FORWARD, {value: 'same line'}],
+ [LINE, DIRECTIONAL, BACKWARD, {value: 'same line'}],
+ [LINE, DIRECTIONAL, BACKWARD, {value: 'same line'}],
+ [LINE, BOUND, BACKWARD, {value: 'start '}],
[LINE, DIRECTIONAL, FORWARD, {value: 'end'}]]);
});
@@ -257,14 +257,14 @@ TEST_F('CursorsTest', 'WordRange', function() {
TEST_F('CursorsTest', 'LineRange', function() {
this.runCursorMovesOnDocument(this.simpleDoc, [
- [LINE, FORWARD, {value: 'end', index: 0}, {value: 'end', index: 2}],
- [LINE, FORWARD, {value: 'end', index: 0}, {value: 'end', index: 2}],
+ [LINE, FORWARD, {value: 'end', index: 0}, {value: 'end', index: 3}],
+ [LINE, FORWARD, {value: 'end', index: 0}, {value: 'end', index: 3}],
[LINE, BACKWARD,
- {value: 'start ', index: 0}, {value: 'same line', index: 8}],
+ {value: 'start ', index: 0}, {value: 'same line', index: 9}],
[LINE, BACKWARD,
- {value: 'start ', index: 0}, {value: 'same line', index: 8}],
+ {value: 'start ', index: 0}, {value: 'same line', index: 9}],
], this.RANGE);
});

Powered by Google App Engine
This is Rietveld 408576698