blob: 56cc28915cc969622b4e90b4f0cb4957f17a5f18 [file] [log] [blame]
// 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_