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

Side by Side Diff: chrome/test/interactive_ui/fast_shutdown_interactive_uitest.cc

Issue 7055007: GTTF: Remove wait_for_terminate_timeout_ms in favor of action_max_timeout_ms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | tools/heapcheck/chrome_tests.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/file_path.h" 5 #include "base/file_path.h"
6 #include "base/test/test_timeouts.h" 6 #include "base/test/test_timeouts.h"
7 #include "chrome/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "chrome/browser/ui/view_ids.h" 8 #include "chrome/browser/ui/view_ids.h"
9 #include "chrome/test/automation/automation_proxy.h" 9 #include "chrome/test/automation/automation_proxy.h"
10 #include "chrome/test/automation/browser_proxy.h" 10 #include "chrome/test/automation/browser_proxy.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Close the browser. We should launch the unload handler, which is an 52 // Close the browser. We should launch the unload handler, which is an
53 // alert(). 53 // alert().
54 ASSERT_TRUE(browser->ApplyAccelerator(IDC_CLOSE_WINDOW)); 54 ASSERT_TRUE(browser->ApplyAccelerator(IDC_CLOSE_WINDOW));
55 ASSERT_TRUE(automation()->WaitForAppModalDialog()); 55 ASSERT_TRUE(automation()->WaitForAppModalDialog());
56 ASSERT_TRUE(automation()->ClickAppModalDialogButton( 56 ASSERT_TRUE(automation()->ClickAppModalDialogButton(
57 ui::MessageBoxFlags::DIALOGBUTTON_OK)); 57 ui::MessageBoxFlags::DIALOGBUTTON_OK));
58 58
59 int exit_code = -1; 59 int exit_code = -1;
60 ASSERT_TRUE(launcher_->WaitForBrowserProcessToQuit( 60 ASSERT_TRUE(launcher_->WaitForBrowserProcessToQuit(
61 TestTimeouts::wait_for_terminate_timeout_ms(), &exit_code)); 61 TestTimeouts::action_max_timeout_ms(), &exit_code));
62 EXPECT_EQ(0, exit_code); // Expect a clean shutdown. 62 EXPECT_EQ(0, exit_code); // Expect a clean shutdown.
63 } 63 }
OLDNEW
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | tools/heapcheck/chrome_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698