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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/test/automation_client_mock.cc b/chrome_frame/test/automation_client_mock.cc
index de1736c..486f782 100644
--- a/chrome_frame/test/automation_client_mock.cc
+++ b/chrome_frame/test/automation_client_mock.cc
@@ -298,6 +298,8 @@ TEST_F(CFACMockTest, MockedCreateTabOk) {
};
EXPECT_TRUE(client_->Initialize(&cfd_, clp));
loop_.RunFor(10);
+
+ EXPECT_CALL(proxy_, ReleaseTabProxy(testing::Eq(tab_handle_))).Times(1);
client_->Uninitialize();
}
@@ -337,3 +339,6 @@ TEST_F(CFACMockTest, MockedCreateTabFailed) {
client_->Uninitialize();
}
+TEST_F(CFACMockTest, OnChannelError) {
+
+}