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

Unified Diff: components/crash/content/app/fallback_crash_handling_win_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
Index: components/crash/content/app/fallback_crash_handling_win_unittest.cc
diff --git a/components/crash/content/app/fallback_crash_handling_win_unittest.cc b/components/crash/content/app/fallback_crash_handling_win_unittest.cc
index 7df6b20262aa6e832e6c98ea1d388ca0e6fe3b4c..02d69c5dd273dc80a69299a024558bb2486f46a2 100644
--- a/components/crash/content/app/fallback_crash_handling_win_unittest.cc
+++ b/components/crash/content/app/fallback_crash_handling_win_unittest.cc
@@ -62,12 +62,12 @@ TEST_F(FallbackCrashHandlingTest, SetupAndRunAsFallbackCrashHandler) {
base::LaunchOptions options;
options.start_hidden = true;
- base::Process test_child = base::SpawnMultiProcessTestChild(
+ base::SpawnChildResult spawn_child = base::SpawnMultiProcessTestChild(
"FallbackCrashHandlingWinRunHandler", cmd_line, options);
- ASSERT_TRUE(test_child.IsValid());
+ ASSERT_TRUE(spawn_child.process.IsValid());
int exit_code = -1;
- ASSERT_TRUE(test_child.WaitForExit(&exit_code));
+ ASSERT_TRUE(spawn_child.process.WaitForExit(&exit_code));
ASSERT_EQ(kFallbackCrashTerminationCode, static_cast<uint32_t>(exit_code));
// Validate that the database contains one valid crash dump.
« no previous file with comments | « components/crash/content/app/fallback_crash_handler_win_unittest.cc ('k') | content/browser/mach_broker_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698