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

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

Issue 2312353002: Revert of Add support for rich output inside of content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@editable_nav
Patch Set: Created 4 years, 3 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 unified diff | Download patch
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 '../../testing/assert_additions.js']); 7 '../../testing/assert_additions.js']);
8 8
9 GEN_INCLUDE(['../../testing/mock_feedback.js']); 9 GEN_INCLUDE(['../../testing/mock_feedback.js']);
10 10
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 CommandHandler.onCommand('toggleSelection'); 985 CommandHandler.onCommand('toggleSelection');
986 }, true); 986 }, true);
987 987
988 mockFeedback.call(doCmd('toggleSelection')) 988 mockFeedback.call(doCmd('toggleSelection'))
989 .expectSpeech('simple', 'selected') 989 .expectSpeech('simple', 'selected')
990 .call(doCmd('nextCharacter')) 990 .call(doCmd('nextCharacter'))
991 .expectSpeech('i', 'selected') 991 .expectSpeech('i', 'selected')
992 .call(doCmd('previousCharacter')) 992 .call(doCmd('previousCharacter'))
993 .expectSpeech('i', 'unselected') 993 .expectSpeech('i', 'unselected')
994 .call(doCmd('nextCharacter')) 994 .call(doCmd('nextCharacter'))
995 .expectSpeech('i', 'selected')
996 .call(doCmd('nextCharacter')) 995 .call(doCmd('nextCharacter'))
997 .expectSpeech('m', 'selected') 996 .expectSpeech('End selection', 'sim')
998 .replay(); 997 .replay();
999 }); 998 });
1000 }); 999 });
1001 1000
1002 TEST_F('BackgroundTest', 'BasicTableCommands', function() { 1001 TEST_F('BackgroundTest', 'BasicTableCommands', function() {
1003 var mockFeedback = this.createMockFeedback(); 1002 var mockFeedback = this.createMockFeedback();
1004 this.runWithLoadedTree(function(root) {/*! 1003 this.runWithLoadedTree(function(root) {/*!
1005 <table border=1> 1004 <table border=1>
1006 <tr><td>name</td><td>title</td><td>address</td><td>phone</td></tr> 1005 <tr><td>name</td><td>title</td><td>address</td><td>phone</td></tr>
1007 <tr><td>Dan</td><td>Mr</td><td>666 Elm Street</td><td>212 222 5555</td></tr> 1006 <tr><td>Dan</td><td>Mr</td><td>666 Elm Street</td><td>212 222 5555</td></tr>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 .expectSpeech('this is a test') 1147 .expectSpeech('this is a test')
1149 .call(doCmd('nextObject')) 1148 .call(doCmd('nextObject'))
1150 .expectSpeech(/data*/) 1149 .expectSpeech(/data*/)
1151 .call(doCmd('nextObject')) 1150 .call(doCmd('nextObject'))
1152 .expectSpeech('this is a test') 1151 .expectSpeech('this is a test')
1153 .call(doCmd('nextWord')) 1152 .call(doCmd('nextWord'))
1154 .expectSpeech('is', 'selected') 1153 .expectSpeech('is', 'selected')
1155 .replay(); 1154 .replay();
1156 }); 1155 });
1157 }); 1156 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698