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

Unified Diff: ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm

Issue 2829223004: Rename GoogleLandingController to GoogleLandingViewController.
Patch Set: Rebase Created 3 years, 8 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/chrome/browser/ui/ntp/new_tab_page_egtest.mm
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm b/ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm
index 4cb8d2d31ba1feb1f7424f0707f024d4e1b3701e..5076e4f2f8aeca117c216c85eb4752dcaee2d51e 100644
--- a/ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm
@@ -24,12 +24,12 @@
#endif
@implementation NewTabPageController (ExposedForTesting)
-- (GoogleLandingController*)googleLandingController {
+- (GoogleLandingViewController*)googleLandingController {
return googleLandingController_;
}
@end
-@interface GoogleLandingController (ExposedForTesting)
+@interface GoogleLandingViewController (ExposedForTesting)
- (BOOL)scrolledToTop;
- (BOOL)animateHeader;
@end
@@ -88,15 +88,16 @@ void AssertNTPScrolledToTop(bool scrolledToTop) {
[[GREYUIThreadExecutor sharedInstance] drainUntilIdle];
NewTabPageController* ntp_controller =
chrome_test_util::GetCurrentNewTabPageController();
- GoogleLandingController* google_landing_controller =
+ GoogleLandingViewController* google_landing_view_controller =
[ntp_controller googleLandingController];
[[GREYCondition
conditionWithName:@"Wait for end of animation."
block:^BOOL {
- return ![google_landing_controller animateHeader];
+ return ![google_landing_view_controller animateHeader];
}] waitWithTimeout:testing::kWaitForUIElementTimeout];
- GREYAssertTrue([google_landing_controller scrolledToTop] == scrolledToTop,
- @"scrolledToTop_ does not match expected value");
+ GREYAssertTrue(
+ [google_landing_view_controller scrolledToTop] == scrolledToTop,
+ @"scrolledToTop_ does not match expected value");
}
} // namespace
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_controller.mm ('k') | ios/clean/chrome/browser/ui/ntp/ntp_home_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698