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

Unified Diff: base/win/scoped_handle_unittest.cc

Issue 2733323002: Changing multiprocess test SpawnChild to return a struct. (Closed)
Patch Set: Synced Created 3 years, 9 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 | « base/test/multiprocess_test_android.cc ('k') | base/win/wait_chain_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_handle_unittest.cc
diff --git a/base/win/scoped_handle_unittest.cc b/base/win/scoped_handle_unittest.cc
index ca6fb451a876e3e249ae8526f083bcc7ce0f0ec3..0a75115bb9cfaf5a7a17e2a42bc0aa0656e541a9 100644
--- a/base/win/scoped_handle_unittest.cc
+++ b/base/win/scoped_handle_unittest.cc
@@ -114,11 +114,11 @@ TEST(ScopedHandleTest, MAYBE_MultiProcess) {
CommandLine command_line(base::GetMultiProcessTestChildBaseCommandLine());
command_line.AppendSwitch(switches::kTestDoNotInitializeIcu);
- base::Process test_child_process = base::SpawnMultiProcessTestChild(
+ base::SpawnChildResult spawn_child = base::SpawnMultiProcessTestChild(
"ActiveVerifierChildProcess", command_line, LaunchOptions());
int rv = -1;
- ASSERT_TRUE(test_child_process.WaitForExitWithTimeout(
+ ASSERT_TRUE(spawn_child.process.WaitForExitWithTimeout(
TestTimeouts::action_timeout(), &rv));
EXPECT_EQ(0, rv);
}
« no previous file with comments | « base/test/multiprocess_test_android.cc ('k') | base/win/wait_chain_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698