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

Unified Diff: ios/chrome/browser/ui/first_run/first_run_egtest.mm

Issue 2642193012: Make EarlGrey matchers compliant with Chromium style. (Closed)
Patch Set: mistake Created 3 years, 11 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/first_run/first_run_egtest.mm
diff --git a/ios/chrome/browser/ui/first_run/first_run_egtest.mm b/ios/chrome/browser/ui/first_run/first_run_egtest.mm
index 9a27f77e488f3bfb6985e8901a04bb9b4bfec362..f93e8d6643dc051fb9780403638964000b7546e1 100644
--- a/ios/chrome/browser/ui/first_run/first_run_egtest.mm
+++ b/ios/chrome/browser/ui/first_run/first_run_egtest.mm
@@ -41,7 +41,7 @@ ChromeIdentity* GetFakeIdentity() {
// Taps the button with accessibility labelId |message_id|.
void TapButtonWithLabelId(int message_id) {
- id<GREYMatcher> matcher = chrome_test_util::buttonWithAccessibilityLabel(
+ id<GREYMatcher> matcher = chrome_test_util::ButtonWithAccessibilityLabel(
l10n_util::GetNSString(message_id));
[[EarlGrey selectElementWithMatcher:matcher] performAction:grey_tap()];
}
@@ -131,7 +131,7 @@ void AssertAuthenticatedIdentityInActiveProfile(ChromeIdentity* identity) {
grey_accessibilityID(kUMAMetricsButtonAccessibilityIdentifier);
[[EarlGrey selectElementWithMatcher:metrics] performAction:grey_tap()];
- id<GREYMatcher> optInAccept = chrome_test_util::buttonWithAccessibilityLabel(
+ id<GREYMatcher> optInAccept = chrome_test_util::ButtonWithAccessibilityLabel(
l10n_util::GetNSString(IDS_IOS_FIRSTRUN_OPT_IN_ACCEPT_BUTTON));
[[EarlGrey selectElementWithMatcher:optInAccept] performAction:grey_tap()];
@@ -146,7 +146,7 @@ void AssertAuthenticatedIdentityInActiveProfile(ChromeIdentity* identity) {
- (void)testDismissFirstRun {
[chrome_test_util::GetMainController() showFirstRunUI];
- id<GREYMatcher> optInAccept = chrome_test_util::buttonWithAccessibilityLabel(
+ id<GREYMatcher> optInAccept = chrome_test_util::ButtonWithAccessibilityLabel(
l10n_util::GetNSString(IDS_IOS_FIRSTRUN_OPT_IN_ACCEPT_BUTTON));
[[EarlGrey selectElementWithMatcher:optInAccept] performAction:grey_tap()];

Powered by Google App Engine
This is Rietveld 408576698