Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: chrome/test/remoting/qunit_browser_test_runner.h

Issue 376803005: JavaScript unit test framework for Chrome remote desktop - Part II (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/remoting/qunit_browser_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/remoting/qunit_browser_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698