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

Unified Diff: chrome/test/interactive_ui/fast_shutdown_interactive_uitest.cc

Issue 6689014: GTTF: Detect browser crashes on shutdown in UI tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/interactive_ui/fast_shutdown_interactive_uitest.cc
===================================================================
--- chrome/test/interactive_ui/fast_shutdown_interactive_uitest.cc (revision 80488)
+++ chrome/test/interactive_ui/fast_shutdown_interactive_uitest.cc (working copy)
@@ -54,6 +54,9 @@
ASSERT_TRUE(automation()->WaitForAppModalDialog());
ASSERT_TRUE(automation()->ClickAppModalDialogButton(
ui::MessageBoxFlags::DIALOGBUTTON_OK));
- ASSERT_TRUE(WaitForBrowserProcessToQuit(
- TestTimeouts::wait_for_terminate_timeout_ms()));
+
+ int exit_code = -1;
+ ASSERT_TRUE(launcher_->WaitForBrowserProcessToQuit(
+ TestTimeouts::wait_for_terminate_timeout_ms(), &exit_code));
Huyen 2011/04/07 00:07:45 Pawel, I think you forgot to include test_timeouts
Paweł Hajdan Jr. 2011/04/07 06:25:19 Thank you for commenting here. I took a look at th
+ EXPECT_EQ(0, exit_code); // Expect a clean shutdown.
}
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698