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

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

Issue 2428413007: Disable CursorsTest.SingleDocSelection (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Include test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js']); 6 GEN_INCLUDE(['../../testing/chromevox_next_e2e_test_base.js']);
7 7
8 /** 8 /**
9 * Test fixture for cvox2.cursors. 9 * Test fixture for cvox2.cursors.
10 * @constructor 10 * @constructor
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 TEST_F('CursorsTest', 'IsInWebRange', function() { 315 TEST_F('CursorsTest', 'IsInWebRange', function() {
316 this.runWithLoadedTree(this.simpleDoc, function(root) { 316 this.runWithLoadedTree(this.simpleDoc, function(root) {
317 var para = root.firstChild; 317 var para = root.firstChild;
318 var webRange = new cursors.Range.fromNode(para); 318 var webRange = new cursors.Range.fromNode(para);
319 var auraRange = cursors.Range.fromNode(root.parent); 319 var auraRange = cursors.Range.fromNode(root.parent);
320 assertFalse(auraRange.isWebRange()); 320 assertFalse(auraRange.isWebRange());
321 assertTrue(webRange.isWebRange()); 321 assertTrue(webRange.isWebRange());
322 }); 322 });
323 }); 323 });
324 324
325 TEST_F('CursorsTest', 'SingleDocSelection', function() { 325 TEST_F('CursorsTest', 'DISABLED_SingleDocSelection', function() {
326 this.runWithLoadedTree(function() {/*! 326 this.runWithLoadedTree(function() {/*!
327 <span>start</span> 327 <span>start</span>
328 <a href="google.com">google home page</a> 328 <a href="google.com">google home page</a>
329 <p>some more text</p> 329 <p>some more text</p>
330 <p>end of text</p> 330 <p>end of text</p>
331 */}, 331 */},
332 function(root) { 332 function(root) {
333 var link = root.firstChild.firstChild; 333 var link = root.firstChild.firstChild;
334 var p1 = root.firstChild.nextSibling; 334 var p1 = root.firstChild.nextSibling;
335 var p2 = p1.nextSibling; 335 var p2 = p1.nextSibling;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 449
450 // Negative cases. 450 // Negative cases.
451 assertFalse(rootRange.contentEquals(regionRange)); 451 assertFalse(rootRange.contentEquals(regionRange));
452 assertFalse(rootRange.contentEquals(staticTextRange)); 452 assertFalse(rootRange.contentEquals(staticTextRange));
453 assertFalse(rootRange.contentEquals(inlineTextBoxRange)); 453 assertFalse(rootRange.contentEquals(inlineTextBoxRange));
454 assertFalse(regionRange.contentEquals(rootRange)); 454 assertFalse(regionRange.contentEquals(rootRange));
455 assertFalse(staticTextRange.contentEquals(rootRange)); 455 assertFalse(staticTextRange.contentEquals(rootRange));
456 assertFalse(inlineTextBoxRange.contentEquals(rootRange)); 456 assertFalse(inlineTextBoxRange.contentEquals(rootRange));
457 }); 457 });
458 }); 458 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698