diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 11:49:08 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 11:49:08 +0000 |
commit | 585b6bdeaf4104d26311f09dbb99f5085b5becb6 (patch) | |
tree | 737e492a12c1577ed730952080160fa07304fb12 /chrome/test/ui/ui_test.h | |
parent | 88e71dc17b86efc2f4d70dee9a1bb4a71f86adc9 (diff) | |
download | chromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.zip chromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.tar.gz chromium_src-585b6bdeaf4104d26311f09dbb99f5085b5becb6.tar.bz2 |
Add AutomationMsg_WaitForDownloadShelfVisibilityChange and use it in UITestBase for the download tests.
This should decrease flakiness of download tests.
TEST=DownloadTest.*, especially DownloadTest.[Dont]CloseNewTab*
BUG=43066
Review URL: http://codereview.chromium.org/1933005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 9414808..3aadfac 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -191,23 +191,6 @@ class UITestBase { // assert that the tab count is valid at the end of the wait. void WaitUntilTabCount(int tab_count); - // Checks whether the download shelf is visible in the current browser, giving - // it a chance to appear (we don't know the exact timing) while finishing as - // soon as possible. - bool WaitForDownloadShelfVisible(BrowserProxy* browser); - - // Checks whether the download shelf is invisible in the current browser, - // giving it a chance to appear (we don't know the exact timing) while - // finishing as soon as possible. - bool WaitForDownloadShelfInvisible(BrowserProxy* browser); - - private: - // Waits for download shelf visibility or invisibility. - bool WaitForDownloadShelfVisibilityChange(BrowserProxy* browser, - bool wait_for_open); - - public: - // Waits until the Find window has become fully visible (if |wait_for_open| is // true) or fully hidden (if |wait_for_open| is false). This function can time // out (return false) if the window doesn't appear within a specific time. |