diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 00:38:28 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 00:38:28 +0000 |
commit | 0e3ff908d6a65ea0e86ebf6a0093d2f12f16034d (patch) | |
tree | d7fbf7c89fee7a90e39c4b92cdcb37fc9b15ea18 /chrome_frame | |
parent | dd6b7a5da02e2a2fd9eb983d077763e7c407f0ff (diff) | |
download | chromium_src-0e3ff908d6a65ea0e86ebf6a0093d2f12f16034d.zip chromium_src-0e3ff908d6a65ea0e86ebf6a0093d2f12f16034d.tar.gz chromium_src-0e3ff908d6a65ea0e86ebf6a0093d2f12f16034d.tar.bz2 |
Fixes for the following chrome frame tests to get them to pass on the per user CF builders.
1. CFBackForward :- Increased the expected timeout for this test.
2. TopLevelPostReissueFromChromeFramePage :- The Onload notification fires only once at times.
Adjusted the expectation to account for that.
BUG=none
TEST=Covered by existing ChromeFrame tests.
Review URL: http://codereview.chromium.org/6286095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/navigation_test.cc | 2 | ||||
-rw-r--r-- | chrome_frame/test/ui_test.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/test/navigation_test.cc b/chrome_frame/test/navigation_test.cc index 093ea42..6432bf8 100644 --- a/chrome_frame/test/navigation_test.cc +++ b/chrome_frame/test/navigation_test.cc @@ -1087,7 +1087,7 @@ TEST_F(FullTabDownloadTest, TopLevelPostReissueFromChromeFramePage) { EXPECT_CALL(ie_mock_, OnLoad(false, StrEq(src_url))); EXPECT_CALL(ie_mock_, OnLoad(true, StrEq(tgt_url))) - .Times(2) + .Times(testing::Between(1,2)) .WillOnce(DelayRefresh(&ie_mock_, &loop_, 50)) .WillOnce(testing::Return()); diff --git a/chrome_frame/test/ui_test.cc b/chrome_frame/test/ui_test.cc index 1690e01..7d125fe 100644 --- a/chrome_frame/test/ui_test.cc +++ b/chrome_frame/test/ui_test.cc @@ -959,7 +959,8 @@ TEST_F(ContextMenuTest, CFBackForward) { EXPECT_CALL(ie_mock_, OnLoad(IN_CF, StrEq(page3))) .WillOnce(CloseBrowserMock(&ie_mock_)); - LaunchIEAndNavigate(page1); + LaunchIENavigateAndLoop(page1, + kChromeFrameVeryLongNavigationTimeoutInSeconds); } } // namespace chrome_frame_test |