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

Unified Diff: ios/chrome/browser/autofill/form_input_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
« no previous file with comments | « no previous file | ios/chrome/browser/context_menu/context_menu_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/autofill/form_input_egtest.mm
diff --git a/ios/chrome/browser/autofill/form_input_egtest.mm b/ios/chrome/browser/autofill/form_input_egtest.mm
index 259e03cb94260a43ec280001b6b1b21ae13b4185..ea44cb08d0727cc627b0c6ae75619402a3a9bc13 100644
--- a/ios/chrome/browser/autofill/form_input_egtest.mm
+++ b/ios/chrome/browser/autofill/form_input_egtest.mm
@@ -85,7 +85,7 @@ void AssertElementIsFocused(const std::string& element_id) {
[ChromeEarlGrey loadURL:URL];
id<GREYMatcher> webViewMatcher =
- chrome_test_util::webViewContainingText("hello!");
+ chrome_test_util::WebViewContainingText("hello!");
[[EarlGrey selectElementWithMatcher:webViewMatcher]
assertWithMatcher:grey_notNil()];
@@ -96,20 +96,20 @@ void AssertElementIsFocused(const std::string& element_id) {
// Brings up the keyboard by tapping on one of the form's field.
[[EarlGrey
- selectElementWithMatcher:web::webViewInWebState(
+ selectElementWithMatcher:web::WebViewInWebState(
chrome_test_util::GetCurrentWebState())]
performAction:web::webViewTapElement(
chrome_test_util::GetCurrentWebState(),
kFormElementId1)];
id<GREYMatcher> nextButtonMatcher =
- chrome_test_util::buttonWithAccessibilityLabelId(
+ chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_IOS_AUTOFILL_ACCNAME_NEXT_FIELD);
id<GREYMatcher> previousButtonMatcher =
- chrome_test_util::buttonWithAccessibilityLabelId(
+ chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_IOS_AUTOFILL_ACCNAME_PREVIOUS_FIELD);
id<GREYMatcher> closeButtonMatcher =
- chrome_test_util::buttonWithAccessibilityLabelId(
+ chrome_test_util::ButtonWithAccessibilityLabelId(
IDS_IOS_AUTOFILL_ACCNAME_HIDE_KEYBOARD);
// Wait until the keyboard's "Next" button appeared.
« no previous file with comments | « no previous file | ios/chrome/browser/context_menu/context_menu_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698