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

Unified Diff: ios/web/web_state/web_state_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
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 b2a16a2dc16ba547009c694f2d5c4fdc693ad048..5da7cee683b8e9ad9afa95093ffd005b36706ea8 100644
--- a/ios/web/web_state/web_state_impl_unittest.mm
+++ b/ios/web/web_state/web_state_impl_unittest.mm
@@ -386,7 +386,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
observer->did_finish_navigation_info()->context.get();
ASSERT_TRUE(context);
EXPECT_EQ(url, context->GetUrl());
- EXPECT_TRUE(context->IsSamePage());
+ EXPECT_TRUE(context->IsSameDocument());
EXPECT_FALSE(context->IsErrorPage());
// Reset the observer and test that DidFinishNavigation() is called
@@ -400,7 +400,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
context = observer->did_finish_navigation_info()->context.get();
ASSERT_TRUE(context);
EXPECT_EQ(url, context->GetUrl());
- EXPECT_FALSE(context->IsSamePage());
+ EXPECT_FALSE(context->IsSameDocument());
EXPECT_TRUE(context->IsErrorPage());
// Test that OnTitleChanged() is called.
« no previous file with comments | « ios/web/web_state/navigation_context_impl_unittest.mm ('k') | ios/web/web_state/web_state_observer_bridge_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698