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

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

Issue 2734293002: s/IsSamePage/IsSameDocument for NavigationContext. (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/navigation_context_impl.mm ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/navigation_context_impl_unittest.mm
diff --git a/ios/web/web_state/navigation_context_impl_unittest.mm b/ios/web/web_state/navigation_context_impl_unittest.mm
index b209afcc2fcd5d834c20fc1b2ad9a9cce7d6c152..c9c8a87b830b700947b7b9f84c6ce6630455784b 100644
--- a/ios/web/web_state/navigation_context_impl_unittest.mm
+++ b/ios/web/web_state/navigation_context_impl_unittest.mm
@@ -27,7 +27,7 @@ TEST_F(NavigationContextImplTest, NavigationContext) {
EXPECT_EQ(&web_state_, context->GetWebState());
EXPECT_EQ(url_, context->GetUrl());
- EXPECT_FALSE(context->IsSamePage());
+ EXPECT_FALSE(context->IsSameDocument());
EXPECT_FALSE(context->IsErrorPage());
}
@@ -39,7 +39,7 @@ TEST_F(NavigationContextImplTest, SamePageNavigationContext) {
EXPECT_EQ(&web_state_, context->GetWebState());
EXPECT_EQ(url_, context->GetUrl());
- EXPECT_TRUE(context->IsSamePage());
+ EXPECT_TRUE(context->IsSameDocument());
EXPECT_FALSE(context->IsErrorPage());
}
@@ -52,7 +52,7 @@ TEST_F(NavigationContextImplTest, ErrorPageNavigationContext) {
EXPECT_EQ(&web_state_, context->GetWebState());
EXPECT_EQ(url_, context->GetUrl());
- EXPECT_FALSE(context->IsSamePage());
+ EXPECT_FALSE(context->IsSameDocument());
EXPECT_TRUE(context->IsErrorPage());
}
« no previous file with comments | « ios/web/web_state/navigation_context_impl.mm ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698