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

Side by Side Diff: chrome/browser/ui/webui/bidi_checker_web_ui_test.cc

Issue 7790012: Mark WebUIBidiCheckerBrowserTest.TestSettingsAutofillPageLTR as Flaky on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/ui/webui/bidi_checker_web_ui_test.h" 5 #include "chrome/browser/ui/webui/bidi_checker_web_ui_test.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestPluginsPageLTR) {\ 92 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestPluginsPageLTR) {\
93 RunBidiCheckerOnPage(chrome::kChromeUIPluginsURL, false);\ 93 RunBidiCheckerOnPage(chrome::kChromeUIPluginsURL, false);\
94 } 94 }
95 95
96 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestSettingsPageLTR) {\ 96 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestSettingsPageLTR) {\
97 RunBidiCheckerOnPage(chrome::kChromeUISettingsURL, false);\ 97 RunBidiCheckerOnPage(chrome::kChromeUISettingsURL, false);\
98 } 98 }
99 99
100 // http://crbug.com/94642
101 #if defined(OS_MACOSX)
102 #define MAYBE_TestSettingsAutofillPageLTR FLAKY_TestSettingsAutofillPageLTR
103 #else
104 #define MAYBE_TestSettingsAutofillPageLTR TestSettingsAutofillPageLTR
105 #endif // defined(OS_MACOSX)
100 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, 106 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest,
101 TestSettingsAutofillPageLTR) { 107 MAYBE_TestSettingsAutofillPageLTR) {
102 std::string url(chrome::kChromeUISettingsURL); 108 std::string url(chrome::kChromeUISettingsURL);
103 url += std::string(chrome::kAutofillSubPage); 109 url += std::string(chrome::kAutofillSubPage);
104 110
105 autofill_test::DisableSystemServices(browser()->profile()); 111 autofill_test::DisableSystemServices(browser()->profile());
106 AutofillProfile profile; 112 AutofillProfile profile;
107 autofill_test::SetProfileInfo( 113 autofill_test::SetProfileInfo(
108 &profile, 114 &profile,
109 "\xD7\x9E\xD7\xA9\xD7\x94", 115 "\xD7\x9E\xD7\xA9\xD7\x94",
110 "\xD7\x91", 116 "\xD7\x91",
111 "\xD7\x9B\xD7\x94\xD7\x9F", 117 "\xD7\x9B\xD7\x94\xD7\x9F",
112 "moshe.b.cohen@biditest.com", 118 "moshe.b.cohen@biditest.com",
113 "\xD7\x91\xD7\x93\xD7\x99\xD7\xA7\xD7\x94\x20\xD7\x91\xD7\xA2\xD7\x9E", 119 "\xD7\x91\xD7\x93\xD7\x99\xD7\xA7\xD7\x94\x20\xD7\x91\xD7\xA2\xD7\x9E",
114 "\xD7\x93\xD7\xA8\xD7\x9A\x20\xD7\x9E\xD7\xA0\xD7\x97\xD7\x9D\x20\xD7\x91\ xD7\x92\xD7\x99\xD7\x9F\x20\x32\x33", 120 "\xD7\x93\xD7\xA8\xD7\x9A\x20\xD7\x9E\xD7\xA0\xD7\x97\xD7\x9D\x20\xD7\x91\ xD7\x92\xD7\x99\xD7\x9F\x20\x32\x33",
115 "\xD7\xA7\xD7\x95\xD7\x9E\xD7\x94\x20\x32\x36", 121 "\xD7\xA7\xD7\x95\xD7\x9E\xD7\x94\x20\x32\x36",
116 "\xD7\xAA\xD7\x9C\x20\xD7\x90\xD7\x91\xD7\x99\xD7\x91", 122 "\xD7\xAA\xD7\x9C\x20\xD7\x90\xD7\x91\xD7\x99\xD7\x91",
117 "", 123 "",
118 "66183", 124 "66183",
119 "\xD7\x99\xD7\xA9\xD7\xA8\xD7\x90\xD7\x9C", 125 "\xD7\x99\xD7\xA9\xD7\xA8\xD7\x90\xD7\x9C",
120 "0000", 126 "0000",
121 "0000"); 127 "0000");
122 128
123 PersonalDataManager* personal_data_manager = 129 PersonalDataManager* personal_data_manager =
124 browser()->profile()->GetPersonalDataManager(); 130 browser()->profile()->GetPersonalDataManager();
125 ASSERT_TRUE(personal_data_manager); 131 ASSERT_TRUE(personal_data_manager);
126 132
127 personal_data_manager->AddProfile(profile); 133 personal_data_manager->AddProfile(profile);
128 134
129 RunBidiCheckerOnPage(url.c_str(), false); 135 RunBidiCheckerOnPage(url.c_str(), false);
130 } 136 }
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