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

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

Issue 2069543004: Adjust output rules related menus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: m Created 4 years, 6 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
index bbf93446f5ac65311dd5e771b81423f0b153ba5c..3699ffb59fad923e549902f46d71985b9c38a9a7 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
@@ -451,15 +451,12 @@ TEST_F('OutputE2ETest', 'Menu', function() {
var el = root.firstChild.firstChild;
var range = cursors.Range.fromNode(el);
var o = new Output().withSpeechAndBraille(range, null, 'navigate');
- assertEqualsJSON({string_: 'a|Menu item| 1 of 1 ||Menu', spans_:
- [{value: {earconId: 'BUTTON'}, start : 0, end: 1},
- {value: 'name', start: 21, end: 21},
- {value: {earconId: 'LISTBOX'}, start: 21, end: 21},
- {value: 'role', start: 22, end: 26}]}, o.speechOutputForTest);
+ checkSpeechOutput('a|Menu item| 1 of 1 ', [
+ {value: 'name', start: 0, end: 1},
+ {value: 'role', start: 2, end: 11}], o);
checkBrailleOutput(
- 'a mnuitm 1/1 mnu',
- [{value: new Output.NodeSpan(el), start: 0, end: 12},
- {value: new Output.NodeSpan(el.parent), start: 13, end: 16}],
+ 'a mnuitm 1/1',
+ [{value: new Output.NodeSpan(el), start: 0, end: 12}],
o);
});
});
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698