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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs

Issue 2954413003: Support rich line output in both speech and braille (Closed)
Patch Set: Fix browser test Created 3 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
Index: chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs b/chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs
index 90c6da9045b41bd0ae4aaa5c9199ead33816b924..ee2533c0e49d503ed6ff5902e212d6dcb353f48e 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/braille/liblouis_test.extjs
@@ -69,7 +69,7 @@ TEST_F('CvoxLibLouisTest', 'checkAllTables', function() {
TEST_F('CvoxLibLouisTest', 'testTranslateComputerBraille', function() {
var liblouis = this.createAndAttachLiblouis();
this.withTranslator(liblouis, 'en-us-comp8.ctb', function(translator) {
- translator.translate('Hello!', this.newCallback(
+ translator.translate('Hello!', [], this.newCallback(
function(cells, textToBraille, brailleToText) {
assertEqualsUint8Array([0x53, 0x11, 0x07, 0x07, 0x15, 0x2e], cells);
assertEqualsJSON([0, 1, 2, 3, 4, 5], textToBraille);
@@ -92,7 +92,7 @@ TEST_F('CvoxLibLouisTest', 'testTranslateGermanGrade2Braille', function() {
var liblouis = this.createAndAttachLiblouis();
// This is one of the moderately large tables.
this.withTranslator(liblouis, 'de-de-g2.ctb', function(translator) {
- translator.translate('München', this.newCallback(
+ translator.translate('München', [], this.newCallback(
function(cells, textToBraille, brailleToText) {
assertEqualsUint8Array([0x0d, 0x33, 0x1d, 0x39, 0x09], cells);
assertEqualsJSON([0, 1, 2, 3, 3, 4, 4], textToBraille);
@@ -142,7 +142,7 @@ TEST_F('CvoxLibLouisTest', 'testTranslateAfterDetach', function() {
var liblouis = this.createAndAttachLiblouis();
this.withTranslator(liblouis, 'de-de-comp8.ctb', function(translator) {
liblouis.detach();
- translator.translate('Hamburg', this.newCallback(
+ translator.translate('Hamburg', [], this.newCallback(
function(cells, textToBraille, brailleToText) {
assertEquals(null, cells);
assertEquals(null, textToBraille);
@@ -155,7 +155,7 @@ TEST_F('CvoxLibLouisTest', 'testDetachWithOutstandingCallbacks', function() {
var liblouis = this.createAndAttachLiblouis();
this.withTranslator(liblouis, 'de-de-comp8.ctb', function(translator) {
var called = false;
- translator.translate('Berlin', this.newCallback(
+ translator.translate('Berlin', [], this.newCallback(
function(cells, textToBraille, brailleToText) {
assertEquals(null, cells);
assertEquals(null, textToBraille);
@@ -170,7 +170,7 @@ TEST_F('CvoxLibLouisTest', 'testDetachWithOutstandingCallbacks', function() {
TEST_F('CvoxLibLouisTest', 'testKeyEventStaticData', function() {
var liblouis = this.createAndAttachLiblouis();
this.withTranslator(liblouis, 'en-us-comp8.ctb', function(translator) {
- translator.translate('abcdefghijklmnopqrstuvwxyz 0123456789',
+ translator.translate('abcdefghijklmnopqrstuvwxyz 0123456789', [],
this.newCallback(
function(cells, textToBraille, brailleToText) {
// A-Z.

Powered by Google App Engine
This is Rietveld 408576698