Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / remoting / qunit_browser_test_runner.h
blob56cc28915cc969622b4e90b4f0cb4957f17a5f18
1 // Copyright 2014 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_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_
6 #define CHROME_TEST_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_
8 #include "chrome/test/base/in_process_browser_test.h"
10 namespace content {
11 class WebContents;
14 // Base class for browser tests that run QUnit tests.
15 class QUnitBrowserTestRunner : public InProcessBrowserTest {
16 public:
17 // Runs the QUnit test suite in |file| and wait for it to complete.
18 void RunTest(const base::FilePath& file);
20 private:
21 void QUnitStart(content::WebContents* web_contents);
24 #endif // CHROME_TEST_REMOTING_QUNIT_BROWSER_TEST_RUNNER_H_