summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/automation_client_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/automation_client_mock.cc')
-rw-r--r--chrome_frame/test/automation_client_mock.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome_frame/test/automation_client_mock.cc b/chrome_frame/test/automation_client_mock.cc
index e4bdad0..7265e10 100644
--- a/chrome_frame/test/automation_client_mock.cc
+++ b/chrome_frame/test/automation_client_mock.cc
@@ -170,18 +170,18 @@ TEST(CFACWithChrome, NavigateOk) {
EXPECT_CALL(cfd, GetBounds(_)).Times(testing::AnyNumber());
- EXPECT_CALL(cfd, OnNavigationStateChanged(_, _))
+ EXPECT_CALL(cfd, OnNavigationStateChanged(_))
.Times(testing::AnyNumber());
{
testing::InSequence s;
- EXPECT_CALL(cfd, OnDidNavigate(_, EqNavigationInfoUrl(GURL())))
+ EXPECT_CALL(cfd, OnDidNavigate(EqNavigationInfoUrl(GURL())))
.Times(1);
- EXPECT_CALL(cfd, OnUpdateTargetUrl(_, _)).Times(testing::AtMost(1));
+ EXPECT_CALL(cfd, OnUpdateTargetUrl(_)).Times(testing::AtMost(1));
- EXPECT_CALL(cfd, OnLoad(_, _))
+ EXPECT_CALL(cfd, OnLoad(_))
.Times(1)
.WillOnce(QUIT_LOOP(loop));
}
@@ -218,18 +218,18 @@ TEST(CFACWithChrome, NavigateFailed) {
url, std::string(), &navigation_constraints))));
EXPECT_CALL(cfd, GetBounds(_)).Times(testing::AnyNumber());
- EXPECT_CALL(cfd, OnNavigationStateChanged(_, _)).Times(testing::AnyNumber());
+ EXPECT_CALL(cfd, OnNavigationStateChanged(_)).Times(testing::AnyNumber());
- EXPECT_CALL(cfd, OnRequestStart(_, _, _))
+ EXPECT_CALL(cfd, OnRequestStart(_, _))
// Often there's another request for the error page
.Times(testing::Between(1, 2))
- .WillRepeatedly(testing::WithArgs<1>(testing::Invoke(CreateFunctor(&cfd,
+ .WillRepeatedly(testing::WithArgs<0>(testing::Invoke(CreateFunctor(&cfd,
&MockCFDelegate::Reply, connection_failed))));
- EXPECT_CALL(cfd, OnUpdateTargetUrl(_, _)).Times(testing::AnyNumber());
- EXPECT_CALL(cfd, OnLoad(_, _)).Times(testing::AtMost(1));
+ EXPECT_CALL(cfd, OnUpdateTargetUrl(_)).Times(testing::AnyNumber());
+ EXPECT_CALL(cfd, OnLoad(_)).Times(testing::AtMost(1));
- EXPECT_CALL(cfd, OnNavigationFailed(_, _, GURL(url)))
+ EXPECT_CALL(cfd, OnNavigationFailed(_, GURL(url)))
.Times(1)
.WillOnce(QUIT_LOOP_SOON(loop, 2));