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

Unified Diff: ios/chrome/browser/ui/history/tab_history_popup_controller_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/history/tab_history_popup_controller_egtest.mm
diff --git a/ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm b/ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm
index 596b1ce81c349155be793b7ae590ae9534929ea4..3e3399b73381c2f02c4bda7be3eab862f6b895d8 100644
--- a/ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm
+++ b/ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm
@@ -48,7 +48,7 @@
// Long press on back button.
[[EarlGrey
- selectElementWithMatcher:chrome_test_util::buttonWithAccessibilityLabelId(
+ selectElementWithMatcher:chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_ACCNAME_BACK)]
performAction:grey_longPress()];
@@ -66,12 +66,12 @@
[[EarlGrey selectElementWithMatcher:grey_text(entry1)]
performAction:grey_tap()];
[[EarlGrey
- selectElementWithMatcher:chrome_test_util::omniboxText(URL1.GetContent())]
+ selectElementWithMatcher:chrome_test_util::OmniboxText(URL1.GetContent())]
assertWithMatcher:grey_notNil()];
// Long press forward button.
[[EarlGrey
- selectElementWithMatcher:chrome_test_util::buttonWithAccessibilityLabelId(
+ selectElementWithMatcher:chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_ACCNAME_FORWARD)]
performAction:grey_longPress()];
@@ -86,7 +86,7 @@
[[EarlGrey selectElementWithMatcher:grey_text(entry3)]
performAction:grey_tap()];
[[EarlGrey
- selectElementWithMatcher:chrome_test_util::omniboxText(URL3.GetContent())]
+ selectElementWithMatcher:chrome_test_util::OmniboxText(URL3.GetContent())]
assertWithMatcher:grey_notNil()];
}
« no previous file with comments | « ios/chrome/browser/ui/history/history_ui_egtest.mm ('k') | ios/chrome/browser/ui/infobars/infobar_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698