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

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

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/test/opaque_ref_counted.cc ('k') | base/test/scoped_locale.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/perf_test_suite.h" 5 #include "base/test/perf_test_suite.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/debugger.h" 8 #include "base/debug/debugger.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/process/launch.h" 11 #include "base/process/launch.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/test/perf_log.h" 13 #include "base/test/perf_log.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/googletest/include/gtest/gtest.h"
15 15
16 namespace base { 16 namespace base {
17 17
18 PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) {} 18 PerfTestSuite::PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) {}
19 19
20 void PerfTestSuite::Initialize() { 20 void PerfTestSuite::Initialize() {
21 TestSuite::Initialize(); 21 TestSuite::Initialize();
22 22
23 // Initialize the perf timer log 23 // Initialize the perf timer log
24 FilePath log_path = 24 FilePath log_path =
(...skipping 15 matching lines...) Expand all
40 if (!debug::BeingDebugged()) 40 if (!debug::BeingDebugged())
41 RaiseProcessToHighPriority(); 41 RaiseProcessToHighPriority();
42 } 42 }
43 43
44 void PerfTestSuite::Shutdown() { 44 void PerfTestSuite::Shutdown() {
45 TestSuite::Shutdown(); 45 TestSuite::Shutdown();
46 FinalizePerfLog(); 46 FinalizePerfLog();
47 } 47 }
48 48
49 } // namespace base 49 } // namespace base
OLDNEW
« no previous file with comments | « base/test/opaque_ref_counted.cc ('k') | base/test/scoped_locale.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698