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

Unified Diff: ios/web/shell/test/redirect_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 | « ios/web/shell/test/plugin_placeholder_egtest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/test/redirect_egtest.mm
diff --git a/ios/web/shell/test/redirect_egtest.mm b/ios/web/shell/test/redirect_egtest.mm
index f53e64f6431adacc4885bb2db8385dae3b3fdbe4..b9c0a661c4ca03f1ef2326ccdc846a31297f1eb1 100644
--- a/ios/web/shell/test/redirect_egtest.mm
+++ b/ios/web/shell/test/redirect_egtest.mm
@@ -17,9 +17,9 @@
#error "This file requires ARC support."
#endif
-using web::addressFieldText;
+using web::AddressFieldText;
using web::test::HttpServer;
-using web::webViewContainingText;
+using web::WebViewContainingText;
// Redirect test cases for the web shell.
@interface RedirectTestCase : ShellBaseTestCase
@@ -51,9 +51,9 @@ using web::webViewContainingText;
// Load first URL and expect destination URL to load.
[ShellEarlGrey loadURL:firstRedirectURL];
- [[EarlGrey selectElementWithMatcher:addressFieldText(destinationURL.spec())]
+ [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
assertWithMatcher:grey_notNil()];
- [[EarlGrey selectElementWithMatcher:webViewContainingText(kFinalPageContent)]
+ [[EarlGrey selectElementWithMatcher:WebViewContainingText(kFinalPageContent)]
assertWithMatcher:grey_notNil()];
}
@@ -75,9 +75,9 @@ using web::webViewContainingText;
// Load first URL and expect destination URL to load.
[ShellEarlGrey loadURL:firstRedirectURL];
- [[EarlGrey selectElementWithMatcher:addressFieldText(destinationURL.spec())]
+ [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
assertWithMatcher:grey_notNil()];
- [[EarlGrey selectElementWithMatcher:webViewContainingText(kFinalPageContent)]
+ [[EarlGrey selectElementWithMatcher:WebViewContainingText(kFinalPageContent)]
assertWithMatcher:grey_notNil()];
}
@@ -99,9 +99,9 @@ using web::webViewContainingText;
// Load first URL and expect destination URL to load.
[ShellEarlGrey loadURL:firstRedirectURL];
- [[EarlGrey selectElementWithMatcher:addressFieldText(destinationURL.spec())]
+ [[EarlGrey selectElementWithMatcher:AddressFieldText(destinationURL.spec())]
assertWithMatcher:grey_notNil()];
- [[EarlGrey selectElementWithMatcher:webViewContainingText(kFinalPageContent)]
+ [[EarlGrey selectElementWithMatcher:WebViewContainingText(kFinalPageContent)]
assertWithMatcher:grey_notNil()];
}
« no previous file with comments | « ios/web/shell/test/plugin_placeholder_egtest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698