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

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/walker_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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/table_walker.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/walkers/walker_unittest_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js b/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
index 7cb837fc6ed0a976abfc5ffdb59f3c86e3c94c2f..6efe7fa8e67d60499f5aac5e030ba4291d3f48cd 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/walker_unittest_base.js
@@ -15,10 +15,7 @@ CvoxWalkerUnitTestBase.prototype = {
__proto__: ChromeVoxUnitTestBase.prototype,
/** @override */
- closureModuleDeps: [
- 'TestMsgs',
- 'cvox.CursorSelection'
- ],
+ closureModuleDeps: ['TestMsgs', 'cvox.CursorSelection'],
/**
* Common set up for all walker test cases.
@@ -162,9 +159,11 @@ CvoxWalkerUnitTestBase.CMD_WHITELIST = ['next', 'sync', 'nextRow', 'nextCol'];
* @type {Array.string}
* @const
*/
-CvoxWalkerUnitTestBase.DESC_WHITELIST = ['selText', 'selNodeId',
-'selParentNodeId', 'selStartIndex', 'selEndIndex', 'selReversed', 'descText',
-'descContext', 'descAnnotation', 'descUserValue', 'descPersonality'];
+CvoxWalkerUnitTestBase.DESC_WHITELIST = [
+ 'selText', 'selNodeId', 'selParentNodeId', 'selStartIndex', 'selEndIndex',
+ 'selReversed', 'descText', 'descContext', 'descAnnotation', 'descUserValue',
+ 'descPersonality'
+];
/**
* Adds common walker tests
@@ -176,9 +175,9 @@ CvoxWalkerUnitTestBase.addCommonTests = function(testFixture) {
* not null.
*/
TEST_F(testFixture, 'testSyncToPage', function() {
- this.loadDoc(function() {/*!
+ this.loadDoc(function() { /*!
<div><p id="a">a</p></div>
- */});
+ */ });
var ret = this.walker.begin();
assertNotEquals(null, ret);
ret = this.walker.begin({reversed: true});
@@ -191,7 +190,7 @@ CvoxWalkerUnitTestBase.addCommonTests = function(testFixture) {
* for TableWalker, sync can return null. Override if it doesn't work yet.
*/
TEST_F(testFixture, 'testSyncInvariant', function() {
- this.loadDoc(function() {/*!
+ this.loadDoc(function() { /*!
<div id="outer">
<p id="a">a</p>
<p id="b">b</p>
@@ -201,9 +200,8 @@ CvoxWalkerUnitTestBase.addCommonTests = function(testFixture) {
<p id="e">e</p>
<h1 id="B">h1</h1>
</div>
- */});
- var sel = cvox.CursorSelection.fromNode(
- $('outer').firstChild);
+ */ });
+ var sel = cvox.CursorSelection.fromNode($('outer').firstChild);
var sync = this.walker.sync(sel);
var syncsync = this.walker.sync(sync);
assertEquals(true, sync.equals(syncsync));
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698