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

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (Closed)
Patch Set: 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/testing/chromevox_unittest_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js
index 4c99e15d07d204d03bdbd968dbbe720ffceb93b9..2f5b582eeddd6b00cc66e8d6148bd6aad63237a7 100644
--- a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_unittest_base.js
@@ -3,8 +3,7 @@
// found in the LICENSE file.
GEN_INCLUDE(['assert_additions.js']);
-GEN_INCLUDE(['common.js',
- 'callback_helper.js']);
+GEN_INCLUDE(['common.js', 'callback_helper.js']);
/**
* Base test fixture for ChromeVox unit tests.
@@ -123,7 +122,7 @@ ChromeVoxUnitTestBase.prototype = {
cvox.ChromeVoxEventWatcher.addReadyCallback(this.newCallback(function() {
func.apply(this, calmArguments);
}));
- return this; // for chaining.
+ return this; // for chaining.
},
/**
@@ -132,10 +131,10 @@ ChromeVoxUnitTestBase.prototype = {
* @return {ChromeVoxUnitTestBase} this.
*/
assertSpoken: function(expectedText) {
- assertEquals(expectedText,
- cvox.ChromeVoxTester.testTts().getUtterancesAsString());
+ assertEquals(
+ expectedText, cvox.ChromeVoxTester.testTts().getUtterancesAsString());
cvox.ChromeVoxTester.clearUtterances();
- return this; // for chaining.
+ return this; // for chaining.
},
/**
@@ -154,11 +153,11 @@ ChromeVoxUnitTestBase.prototype = {
for (var i = 0; i < expectedList.length; i++) {
var text = expectedList[i][0];
var queueMode = expectedList[i][1];
- this.assertSingleUtterance_(text, queueMode,
- ulist[i].text, ulist[i].queueMode);
+ this.assertSingleUtterance_(
+ text, queueMode, ulist[i].text, ulist[i].queueMode);
}
cvox.ChromeVoxTester.clearUtterances();
- return this; // for chaining.
+ return this; // for chaining.
},
assertSingleUtterance_: function(
@@ -174,7 +173,7 @@ ChromeVoxUnitTestBase.prototype = {
*/
setFocus: function(id) {
$(id).focus();
- return this; // for chaining.
+ return this; // for chaining.
},
/**
@@ -184,7 +183,7 @@ ChromeVoxUnitTestBase.prototype = {
*/
userCommand: function(command) {
cvox.ChromeVoxUserCommands.commands[command]();
- return this; // for chaining.
+ return this; // for chaining.
},
/**

Powered by Google App Engine
This is Rietveld 408576698