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

Unified Diff: mojo/shell/runner/host/child_process_host_unittest.cc

Issue 1761153002: Replace ChildController with ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@29binding
Patch Set: . Created 4 years, 10 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 | « mojo/shell/runner/host/child_process_host.cc ('k') | mojo/shell/runner/host/in_process_native_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/host/child_process_host_unittest.cc
diff --git a/mojo/shell/runner/host/child_process_host_unittest.cc b/mojo/shell/runner/host/child_process_host_unittest.cc
index e14d2ac2fe785271ed17ff1cfc3c43d58af62e0f..9209115d7daa61f4ee699e1119a0e54ef9eb59f5 100644
--- a/mojo/shell/runner/host/child_process_host_unittest.cc
+++ b/mojo/shell/runner/host/child_process_host_unittest.cc
@@ -99,10 +99,7 @@ TEST(ChildProcessHostTest, MAYBE_StartJoin) {
base::Bind(&ProcessReadyCallbackAdapater, run_loop.QuitClosure()));
run_loop.Run();
- child_process_host.ExitNow(123);
- int exit_code = child_process_host.Join();
- VLOG(2) << "Joined child: exit_code = " << exit_code;
- EXPECT_EQ(123, exit_code);
+ child_process_host.Join();
blocking_pool->Shutdown();
edk::ShutdownIPCSupport();
EXPECT_EQ(1u, native_runner_delegate.get_and_clear_adjust_count());
« no previous file with comments | « mojo/shell/runner/host/child_process_host.cc ('k') | mojo/shell/runner/host/in_process_native_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698