Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: ios/web/web_state/web_state_observer_bridge_unittest.mm

Issue 2752013002: Removed webControllerDidUpdateSSLStatusForCurrentNavigationItem:. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/web_state_observer_bridge.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_observer_bridge_unittest.mm
diff --git a/ios/web/web_state/web_state_observer_bridge_unittest.mm b/ios/web/web_state/web_state_observer_bridge_unittest.mm
index 5b548a7fd1d45d6c2470153655a5075d0de13b86..109f5361987de3330cd479db729885eea408fe00 100644
--- a/ios/web/web_state/web_state_observer_bridge_unittest.mm
+++ b/ios/web/web_state/web_state_observer_bridge_unittest.mm
@@ -132,6 +132,16 @@ TEST_F(WebStateObserverBridgeTest, TitleWasSet) {
EXPECT_EQ(&test_web_state_, [observer_ titleWasSetInfo]->web_state);
}
+// Tests |webStateDidChangeVisibleSecurityState:| forwarding.
+TEST_F(WebStateObserverBridgeTest, DidChangeVisibleSecurityState) {
+ ASSERT_FALSE([observer_ didChangeVisibleSecurityStateInfo]);
+
+ bridge_->DidChangeVisibleSecurityState();
+ ASSERT_TRUE([observer_ didChangeVisibleSecurityStateInfo]);
+ EXPECT_EQ(&test_web_state_,
+ [observer_ didChangeVisibleSecurityStateInfo]->web_state);
+}
+
// Tests |webState:didSubmitDocumentWithFormNamed:userInitiated:| forwarding.
TEST_F(WebStateObserverBridgeTest, DocumentSubmitted) {
ASSERT_FALSE([observer_ submitDocumentInfo]);
« no previous file with comments | « ios/web/web_state/web_state_observer_bridge.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698