blob: 1fdd21fdb476c48a53e91fc7ea6f6a1a4517e169 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
class ChromeTestSuite;
// Allows a test suite to override the TestSuite class used. By default it is an
// instance of ChromeTestSuite.
class ChromeTestSuiteRunner {
virtual int RunTestSuite(int argc, char** argv) = 0;
// Launches Chrome browser tests. |default_jobs| is number of test jobs to be
// run in parallel, unless overridden from the command line. Returns exit code.
int LaunchChromeTests(int default_jobs,
ChromeTestSuiteRunner* runner,
int argc,
char** argv);