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

Unified Diff: sandbox/mac/sandbox_mac_compiler_v2_unittest.mm

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 | « sandbox/mac/sandbox_mac_compiler_unittest.mm ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
diff --git a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
index aba42edbc9478a7fe05f7a73c533ed5330ca8a33..adb9895c3efd9062ccbc9159f3b46e221d2a262a 100644
--- a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
+++ b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm
@@ -126,11 +126,11 @@ MULTIPROCESS_TEST_MAIN(V2ProfileProcess) {
}
TEST_F(SandboxMacCompilerV2Test, V2ProfileTest) {
- base::Process process = SpawnChild("V2ProfileProcess");
- ASSERT_TRUE(process.IsValid());
+ base::SpawnChildResult spawn_child = SpawnChild("V2ProfileProcess");
+ ASSERT_TRUE(spawn_child.process.IsValid());
int exit_code = 42;
- EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(),
- &exit_code));
+ EXPECT_TRUE(spawn_child.process.WaitForExitWithTimeout(
+ TestTimeouts::action_max_timeout(), &exit_code));
EXPECT_EQ(exit_code, 0);
}
« no previous file with comments | « sandbox/mac/sandbox_mac_compiler_unittest.mm ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698