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

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

Issue 542893002: Add trace-to-file support for base::TestSuite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded include Created 6 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 (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/bind.h" 10 #include "base/bind.h"
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 base::i18n::InitializeICU(); 331 base::i18n::InitializeICU();
332 332
333 CatchMaybeTests(); 333 CatchMaybeTests();
334 ResetCommandLine(); 334 ResetCommandLine();
335 #if !defined(OS_IOS) 335 #if !defined(OS_IOS)
336 AddTestLauncherResultPrinter(); 336 AddTestLauncherResultPrinter();
337 #endif // !defined(OS_IOS) 337 #endif // !defined(OS_IOS)
338 338
339 TestTimeouts::Initialize(); 339 TestTimeouts::Initialize();
340
341 trace_to_file_.BeginTracingFromCommandLineOptions();
340 } 342 }
341 343
342 void TestSuite::Shutdown() { 344 void TestSuite::Shutdown() {
343 } 345 }
OLDNEW
« no previous file with comments | « base/test/test_suite.h ('k') | base/test/trace_to_file.h » ('j') | base/test/trace_to_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698