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

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

Issue 2903883002: Added NavigationContext::IsPost. (Closed)
Patch Set: Self review Created 3 years, 7 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/ui/crw_web_controller.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_impl_unittest.mm
diff --git a/ios/web/web_state/web_state_impl_unittest.mm b/ios/web/web_state/web_state_impl_unittest.mm
index e919761777ad18db7a991f05b490943cfcdbcf83..3d17e049275853232565a49c9a8846640fe3c5f3 100644
--- a/ios/web/web_state/web_state_impl_unittest.mm
+++ b/ios/web/web_state/web_state_impl_unittest.mm
@@ -363,6 +363,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
EXPECT_TRUE(PageTransitionTypeIncludingQualifiersIs(
context->GetPageTransition(), actual_context->GetPageTransition()));
EXPECT_FALSE(actual_context->IsSameDocument());
+ EXPECT_FALSE(actual_context->IsPost());
EXPECT_FALSE(actual_context->GetError());
EXPECT_FALSE(actual_context->GetResponseHeaders());
@@ -376,6 +377,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
EXPECT_TRUE(PageTransitionTypeIncludingQualifiersIs(
context->GetPageTransition(), actual_context->GetPageTransition()));
EXPECT_FALSE(actual_context->IsSameDocument());
+ EXPECT_FALSE(actual_context->IsPost());
EXPECT_FALSE(actual_context->GetError());
EXPECT_FALSE(actual_context->GetResponseHeaders());
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698