| Index: chrome/test/remoting/qunit_browser_test_runner.h
|
| diff --git a/chrome/test/remoting/qunit_browser_test_runner.h b/chrome/test/remoting/qunit_browser_test_runner.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..56cc28915cc969622b4e90b4f0cb4957f17a5f18
|
| --- /dev/null
|
| +++ b/chrome/test/remoting/qunit_browser_test_runner.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#ifndef CHROME_TEST_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_
|
| +#define CHROME_TEST_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_
|
| +
|
| +#include "chrome/test/base/in_process_browser_test.h"
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| +// Base class for browser tests that run QUnit tests.
|
| +class QUnitBrowserTestRunner : public InProcessBrowserTest {
|
| + public:
|
| + // Runs the QUnit test suite in |file| and wait for it to complete.
|
| + void RunTest(const base::FilePath& file);
|
| +
|
| + private:
|
| + void QUnitStart(content::WebContents* web_contents);
|
| +};
|
| +
|
| +#endif // CHROME_TEST_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_
|
|
|