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

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

Issue 7976031: Disable crashing WebUIBidiCheckerBrowserTestFakeBidi.TestNewTabPageRTL (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/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 24 matching lines...) Expand all
35 #else 35 #else
36 #define MAYBE_TestCrashesPageRTL TestCrashesPageRTL 36 #define MAYBE_TestCrashesPageRTL TestCrashesPageRTL
37 #define MAYBE_TestDownloadsPageRTL TestDownloadsPageRTL 37 #define MAYBE_TestDownloadsPageRTL TestDownloadsPageRTL
38 #define MAYBE_TestMainHistoryPageRTL TestMainHistoryPageRTL 38 #define MAYBE_TestMainHistoryPageRTL TestMainHistoryPageRTL
39 #define MAYBE_TestNewTabPageRTL TestNewTabPageRTL 39 #define MAYBE_TestNewTabPageRTL TestNewTabPageRTL
40 #define MAYBE_TestPluginsPageRTL TestPluginsPageRTL 40 #define MAYBE_TestPluginsPageRTL TestPluginsPageRTL
41 #define MAYBE_TestSettingsAutofillPageRTL TestSettingsAutofillPageRTL 41 #define MAYBE_TestSettingsAutofillPageRTL TestSettingsAutofillPageRTL
42 #define MAYBE_TestSettingsPageRTL TestSettingsPageRTL 42 #define MAYBE_TestSettingsPageRTL TestSettingsPageRTL
43 #endif 43 #endif
44 44
45 // Disabled, http://crbug.com/97453
46 #define MAYBE_TestNewTabPageRTL DISABLED_TestNewTabPageRTL
45 47
46 static const FilePath::CharType* kWebUIBidiCheckerLibraryJS = 48 static const FilePath::CharType* kWebUIBidiCheckerLibraryJS =
47 FILE_PATH_LITERAL("third_party/bidichecker/bidichecker_packaged.js"); 49 FILE_PATH_LITERAL("third_party/bidichecker/bidichecker_packaged.js");
48 50
49 namespace { 51 namespace {
50 FilePath WebUIBidiCheckerLibraryJSPath() { 52 FilePath WebUIBidiCheckerLibraryJSPath() {
51 FilePath src_root; 53 FilePath src_root;
52 if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_root)) 54 if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_root))
53 LOG(ERROR) << "Couldn't find source root"; 55 LOG(ERROR) << "Couldn't find source root";
54 return src_root.Append(kWebUIBidiCheckerLibraryJS); 56 return src_root.Append(kWebUIBidiCheckerLibraryJS);
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "5125551234"); 257 "5125551234");
256 258
257 PersonalDataManager* personal_data_manager = 259 PersonalDataManager* personal_data_manager =
258 browser()->profile()->GetPersonalDataManager(); 260 browser()->profile()->GetPersonalDataManager();
259 ASSERT_TRUE(personal_data_manager); 261 ASSERT_TRUE(personal_data_manager);
260 262
261 personal_data_manager->AddProfile(profile); 263 personal_data_manager->AddProfile(profile);
262 264
263 WebUIBidiCheckerBrowserTest::RunBidiCheckerOnPage(url.c_str(), true); 265 WebUIBidiCheckerBrowserTest::RunBidiCheckerOnPage(url.c_str(), true);
264 } 266 }
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