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

Unified Diff: chromecast/app/cast_test_launcher.cc

Issue 2621793003: [Chromecast] Restore CastDevToolsManagerDelegateTest (Closed)
Patch Set: Add missing BUILD.gn dependencies Created 3 years, 11 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 | « chromecast/app/DEPS ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/app/cast_test_launcher.cc
diff --git a/chromecast/app/cast_test_launcher.cc b/chromecast/app/cast_test_launcher.cc
index 926b53708410680b680260adc3cf6edc92829d1b..e81e067d62f193c7e928683ecdce88e44d36f3de 100644
--- a/chromecast/app/cast_test_launcher.cc
+++ b/chromecast/app/cast_test_launcher.cc
@@ -6,7 +6,10 @@
#include "base/sys_info.h"
#include "base/test/test_suite.h"
#include "chromecast/app/cast_main_delegate.h"
+#include "chromecast/base/cast_paths.h"
#include "content/public/test/test_launcher.h"
+#include "ipc/ipc_channel.h"
+#include "mojo/edk/embedder/embedder.h"
namespace chromecast {
namespace shell {
@@ -41,5 +44,8 @@ class CastTestLauncherDelegate : public content::TestLauncherDelegate {
int main(int argc, char** argv) {
int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
chromecast::shell::CastTestLauncherDelegate launcher_delegate;
+ chromecast::RegisterPathProvider();
+ mojo::edk::SetMaxMessageSize(IPC::Channel::kMaximumMessageSize);
+ mojo::edk::Init();
return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
}
« no previous file with comments | « chromecast/app/DEPS ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698