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

Side by Side Diff: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc

Issue 2144003004: Try to disable ChromeVoxStickyMode test under MSAN again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« 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 <queue> 5 #include <queue>
6 6
7 #include "ash/accelerators/accelerator_controller.h" 7 #include "ash/accelerators/accelerator_controller.h"
8 #include "ash/accelerators/accelerator_table.h" 8 #include "ash/accelerators/accelerator_table.h"
9 #include "ash/common/accessibility_types.h" 9 #include "ash/common/accessibility_types.h"
10 #include "ash/common/system/tray/system_tray.h" 10 #include "ash/common/system/tray/system_tray.h"
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 EXPECT_EQ("End selection", speech_monitor_.GetNextUtterance()); 566 EXPECT_EQ("End selection", speech_monitor_.GetNextUtterance());
567 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance()); 567 EXPECT_EQ("Title", speech_monitor_.GetNextUtterance());
568 } 568 }
569 569
570 #if defined(MEMORY_SANITIZER) 570 #if defined(MEMORY_SANITIZER)
571 // Fails under MemorySanitizer: http://crbug.com/628060 571 // Fails under MemorySanitizer: http://crbug.com/628060
572 #define MAYBE_ChromeVoxStickyMode DISABLED_ChromeVoxStickyMode 572 #define MAYBE_ChromeVoxStickyMode DISABLED_ChromeVoxStickyMode
573 #else 573 #else
574 #define MAYBE_ChromeVoxStickyMode ChromeVoxStickyMode 574 #define MAYBE_ChromeVoxStickyMode ChromeVoxStickyMode
575 #endif 575 #endif
576 IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, ChromeVoxStickyMode) { 576 IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, MAYBE_ChromeVoxStickyMode) {
577 LoadChromeVoxAndThenNavigateToURL( 577 LoadChromeVoxAndThenNavigateToURL(
578 GURL("data:text/html;charset=utf-8," 578 GURL("data:text/html;charset=utf-8,"
579 "<label>Enter your name <input autofocus></label>" 579 "<label>Enter your name <input autofocus></label>"
580 "<p>One</p>" 580 "<p>One</p>"
581 "<h2>Two</h2>")); 581 "<h2>Two</h2>"));
582 while (speech_monitor_.GetNextUtterance() != "Enter your name") { 582 while (speech_monitor_.GetNextUtterance() != "Enter your name") {
583 } 583 }
584 EXPECT_EQ("Edit text", speech_monitor_.GetNextUtterance()); 584 EXPECT_EQ("Edit text", speech_monitor_.GetNextUtterance());
585 585
586 // Press the sticky-key sequence: Search Search. 586 // Press the sticky-key sequence: Search Search.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync( 754 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync(
755 window, ui::VKEY_TAB, false, true /*shift*/, false, false)); 755 window, ui::VKEY_TAB, false, true /*shift*/, false, false));
756 while (speech_monitor_.GetNextUtterance() != "Select your language:") { 756 while (speech_monitor_.GetNextUtterance() != "Select your language:") {
757 } 757 }
758 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance()); 758 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance());
759 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(), 759 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(),
760 "Combo box * of *")); 760 "Combo box * of *"));
761 } 761 }
762 762
763 } // namespace chromeos 763 } // namespace chromeos
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