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

Side by Side Diff: base/test/launcher/unit_test_launcher.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « base/test/launcher/test_results_tracker.cc ('k') | base/test/launcher/unit_test_launcher.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_ 5 #ifndef BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_
6 #define BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_ 6 #define BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
10 #include "base/test/launcher/test_launcher.h" 13 #include "base/test/launcher/test_launcher.h"
14 #include "build/build_config.h"
11 15
12 namespace base { 16 namespace base {
13 17
14 // Callback that runs a test suite and returns exit code. 18 // Callback that runs a test suite and returns exit code.
15 typedef base::Callback<int(void)> RunTestSuiteCallback; 19 typedef base::Callback<int(void)> RunTestSuiteCallback;
16 20
17 // Launches unit tests in given test suite. Returns exit code. 21 // Launches unit tests in given test suite. Returns exit code.
18 int LaunchUnitTests(int argc, 22 int LaunchUnitTests(int argc,
19 char** argv, 23 char** argv,
20 const RunTestSuiteCallback& run_test_suite); 24 const RunTestSuiteCallback& run_test_suite);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 120
117 // Determines whether we use job objects on Windows. 121 // Determines whether we use job objects on Windows.
118 bool use_job_objects_; 122 bool use_job_objects_;
119 123
120 DISALLOW_COPY_AND_ASSIGN(UnitTestLauncherDelegate); 124 DISALLOW_COPY_AND_ASSIGN(UnitTestLauncherDelegate);
121 }; 125 };
122 126
123 } // namespace base 127 } // namespace base
124 128
125 #endif // BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_ 129 #endif // BASE_TEST_LAUNCHER_UNIT_TEST_LAUNCHER_H_
OLDNEW
« no previous file with comments | « base/test/launcher/test_results_tracker.cc ('k') | base/test/launcher/unit_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698