Index: chrome/test/base/run_all_remoting_unittests.cc |
diff --git a/chrome/test/base/run_all_remoting_unittests.cc b/chrome/test/base/run_all_remoting_unittests.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..efeb1785ea87a56355b733639fcb5008165d6e95 |
--- /dev/null |
+++ b/chrome/test/base/run_all_remoting_unittests.cc |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2011 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. |
+ |
+// A basic testrunner that supports JavaScript unittests. |
+// This lives in src/chrome/test/base so that it can include chrome_paths.h |
+// (required for JS unittests) without updating the DEPS file for each |
+// subproject. |
+ |
+ |
+#include "base/test/test_suite.h" |
+#include "chrome/common/chrome_paths.h" |
+ |
+int main(int argc, char** argv) { |
+ base::TestSuite test_suite(argc, argv); |
+ |
+ // This is required for the JavaScript unittests. |
+ chrome::RegisterPathProvider(); |
+ |
+ return test_suite.Run(); |
+} |