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

Side by Side Diff: base/test/test_suite.cc

Issue 22875025: base: Minor cleanups in icu_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « base/i18n/icu_util.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/test/test_suite.h" 5 #include "base/test/test_suite.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/base_switches.h" 9 #include "base/base_switches.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #endif // defined(OS_WIN) 239 #endif // defined(OS_WIN)
240 240
241 // In some cases, we do not want to see standard error dialogs. 241 // In some cases, we do not want to see standard error dialogs.
242 if (!base::debug::BeingDebugged() && 242 if (!base::debug::BeingDebugged() &&
243 !CommandLine::ForCurrentProcess()->HasSwitch("show-error-dialogs")) { 243 !CommandLine::ForCurrentProcess()->HasSwitch("show-error-dialogs")) {
244 SuppressErrorDialogs(); 244 SuppressErrorDialogs();
245 base::debug::SetSuppressDebugUI(true); 245 base::debug::SetSuppressDebugUI(true);
246 logging::SetLogAssertHandler(UnitTestAssertHandler); 246 logging::SetLogAssertHandler(UnitTestAssertHandler);
247 } 247 }
248 248
249 icu_util::Initialize(); 249 base::i18n::InitializeICU();
250 250
251 CatchMaybeTests(); 251 CatchMaybeTests();
252 ResetCommandLine(); 252 ResetCommandLine();
253 253
254 TestTimeouts::Initialize(); 254 TestTimeouts::Initialize();
255 } 255 }
256 256
257 void TestSuite::Shutdown() { 257 void TestSuite::Shutdown() {
258 } 258 }
OLDNEW
« no previous file with comments | « base/i18n/icu_util.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698