summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/automation_client_mock.cc
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 20:14:40 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 20:14:40 +0000
commitefd4dfc2ed1aeab923b14db6ad2a9d11781ddab9 (patch)
tree5255c711b087d6a261d247d16e07ca23c6c62651 /chrome_frame/test/automation_client_mock.cc
parent71cbdf4801cec5193cec3fe813ad5d20009bd042 (diff)
downloadchromium_src-efd4dfc2ed1aeab923b14db6ad2a9d11781ddab9.zip
chromium_src-efd4dfc2ed1aeab923b14db6ad2a9d11781ddab9.tar.gz
chromium_src-efd4dfc2ed1aeab923b14db6ad2a9d11781ddab9.tar.bz2
Added the propagation of the OnChannelError notification.
So that automation tests can tell when the communication between Chrome and Chrome Frame was cut. BUG=none TEST=none Review URL: http://codereview.chromium.org/1237003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42810 0039d316-1c4b-4281-b951-d872f2087c98
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) {
+
+}