summaryrefslogtreecommitdiffstats
path: root/chrome/test/remoting/qunit_browser_test_runner.h
blob: 56cc28915cc969622b4e90b4f0cb4957f17a5f18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_