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

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

Issue 23132002: GTTF: Add a basic new unit test launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed gyp cycle 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
« no previous file with comments | « base/test/test_launcher.cc ('k') | base/test/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BASE_TEST_UNIT_TEST_LAUNCHER_H_
6 #define BASE_TEST_UNIT_TEST_LAUNCHER_H_
7
8 #include "base/callback.h"
9
10 namespace base {
11
12 // Callback that runs a test suite and returns exit code.
13 typedef base::Callback<int(void)> RunTestSuiteCallback;
14
15 // Launches unit tests in given test suite. Returns exit code.
16 int LaunchUnitTests(int argc,
17 char** argv,
18 const RunTestSuiteCallback& run_test_suite);
19
20 } // namespace base
21
22 #endif // BASE_TEST_UNIT_TEST_LAUNCHER_H_
OLDNEW
« no previous file with comments | « base/test/test_launcher.cc ('k') | base/test/unit_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698