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

Side by Side Diff: content/test/test_launcher.h

Issue 8137012: Make an empty content browser test work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « content/test/content_test_launcher.cc ('k') | content/test/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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_TEST_TEST_LAUNCHER_H_ 5 #ifndef CONTENT_TEST_TEST_LAUNCHER_H_
6 #define CONTENT_TEST_TEST_LAUNCHER_H_ 6 #define CONTENT_TEST_TEST_LAUNCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 22
23 extern const char kSingleProcessTestsFlag[]; 23 extern const char kSingleProcessTestsFlag[];
24 extern const char kSingleProcessTestsAndChromeFlag[]; 24 extern const char kSingleProcessTestsAndChromeFlag[];
25 25
26 extern const char kHelpFlag[]; 26 extern const char kHelpFlag[];
27 27
28 class TestLauncherDelegate { 28 class TestLauncherDelegate {
29 public: 29 public:
30 virtual void EarlyInitialize() = 0; 30 virtual void EarlyInitialize() = 0;
31 virtual bool Run(int argc, char** argv, int* return_code) = 0; 31 virtual bool Run(int argc, char** argv, int* return_code) = 0;
32 virtual int RunTestSuite(int argc, char** argv) = 0;
32 virtual bool AdjustChildProcessCommandLine(CommandLine* command_line) = 0; 33 virtual bool AdjustChildProcessCommandLine(CommandLine* command_line) = 0;
33 34
34 protected: 35 protected:
35 virtual ~TestLauncherDelegate(); 36 virtual ~TestLauncherDelegate();
36 }; 37 };
37 38
38 int LaunchTests(TestLauncherDelegate* launcher_delegate, 39 int LaunchTests(TestLauncherDelegate* launcher_delegate,
39 int argc, 40 int argc,
40 char** argv) WARN_UNUSED_RESULT; 41 char** argv) WARN_UNUSED_RESULT;
41 42
42 } // namespace test_launcher 43 } // namespace test_launcher
43 44
44 #endif // CONTENT_TEST_TEST_LAUNCHER_H_ 45 #endif // CONTENT_TEST_TEST_LAUNCHER_H_
OLDNEW
« no previous file with comments | « content/test/content_test_launcher.cc ('k') | content/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698