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

Unified Diff: ios/chrome/browser/ui/keyboard_commands_egtest.mm

Issue 2642193012: Make EarlGrey matchers compliant with Chromium style. (Closed)
Patch Set: build.gn and rebase 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/keyboard_commands_egtest.mm
diff --git a/ios/chrome/browser/ui/keyboard_commands_egtest.mm b/ios/chrome/browser/ui/keyboard_commands_egtest.mm
index 3a0f46fdac42b22daa9ae03f85044f37002dc514..e0305e83e2692a92650c7dfe7e6f038553ed3dd7 100644
--- a/ios/chrome/browser/ui/keyboard_commands_egtest.mm
+++ b/ios/chrome/browser/ui/keyboard_commands_egtest.mm
@@ -136,7 +136,7 @@ const CGFloat kScrollDisplacement = 50.0;
// Close Settings
id<GREYMatcher> settingsDoneButton =
- chrome_test_util::buttonWithAccessibilityLabelId(
+ chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_IOS_NAVIGATION_BAR_DONE_BUTTON);
[[EarlGrey selectElementWithMatcher:settingsDoneButton]
performAction:grey_tap()];
@@ -152,7 +152,7 @@ const CGFloat kScrollDisplacement = 50.0;
// Bookmark page
if (IsIPadIdiom()) {
id<GREYMatcher> bookmarkMatcher =
- chrome_test_util::buttonWithAccessibilityLabelId(IDS_TOOLTIP_STAR);
+ chrome_test_util::ButtonWithAccessibilityLabelId(IDS_TOOLTIP_STAR);
[[EarlGrey selectElementWithMatcher:bookmarkMatcher]
performAction:grey_tap()];
} else {
@@ -163,7 +163,7 @@ const CGFloat kScrollDisplacement = 50.0;
}
// Tap on the HUD.
- id<GREYMatcher> edit = chrome_test_util::buttonWithAccessibilityLabelId(
+ id<GREYMatcher> edit = chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_IOS_NAVIGATION_BAR_EDIT_BUTTON);
[[EarlGrey selectElementWithMatcher:edit] performAction:grey_tap()];

Powered by Google App Engine
This is Rietveld 408576698