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

Unified Diff: remoting/run_all_unittests.cc

Issue 8599010: Setup JS unittests for Chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move JS unittest vars/rules into gypis Created 9 years, 1 month 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
Index: remoting/run_all_unittests.cc
diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc
index 187fb890e0945eb95a533bd6a5edcd3962643d0a..d5e837f453d38a6183283d95389aaf8ccc233370 100644
--- a/remoting/run_all_unittests.cc
+++ b/remoting/run_all_unittests.cc
@@ -6,8 +6,13 @@
#include "base/logging.h"
#include "base/path_service.h"
#include "base/test/test_suite.h"
+#include "chrome/common/chrome_paths.h"
Sheridan Rawlins 2011/11/19 02:36:26 You might have to move this runner somewhere else
garykac 2011/11/21 20:46:17 Done.
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();
}

Powered by Google App Engine
This is Rietveld 408576698