Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / test / base / chrome_test_launcher.h
blob1fdd21fdb476c48a53e91fc7ea6f6a1a4517e169
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.
5 #ifndef CHROME_TEST_BASE_CHROME_TEST_LAUNCHER_H_
6 #define CHROME_TEST_BASE_CHROME_TEST_LAUNCHER_H_
8 #include "base/memory/scoped_ptr.h"
10 class ChromeTestSuite;
12 // Allows a test suite to override the TestSuite class used. By default it is an
13 // instance of ChromeTestSuite.
14 class ChromeTestSuiteRunner {
15 public:
16 virtual int RunTestSuite(int argc, char** argv) = 0;
19 // Launches Chrome browser tests. |default_jobs| is number of test jobs to be
20 // run in parallel, unless overridden from the command line. Returns exit code.
21 int LaunchChromeTests(int default_jobs,
22 ChromeTestSuiteRunner* runner,
23 int argc,
24 char** argv);
26 #endif // CHROME_TEST_BASE_CHROME_TEST_LAUNCHER_H_