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

Unified Diff: ios/chrome/test/earl_grey/device_check_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/chrome/test/earl_grey/chrome_matchers.mm ('k') | ios/chrome/test/earl_grey/smoke_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/earl_grey/device_check_egtest.mm
diff --git a/ios/chrome/test/earl_grey/device_check_egtest.mm b/ios/chrome/test/earl_grey/device_check_egtest.mm
index 8c5d2644aa6608e2b88c11f1b791fe603b6b2eb3..91a0428dd3d54f99e6744ee330be95aa2c38b775 100644
--- a/ios/chrome/test/earl_grey/device_check_egtest.mm
+++ b/ios/chrome/test/earl_grey/device_check_egtest.mm
@@ -9,7 +9,7 @@
#import "ios/chrome/test/earl_grey/chrome_test_case.h"
#include "url/gurl.h"
-using chrome_test_util::webViewContainingText;
+using chrome_test_util::WebViewContainingText;
// Test suite to verify Internet connectivity.
@interface DeviceCheckTestCase : ChromeTestCase
@@ -20,7 +20,7 @@ using chrome_test_util::webViewContainingText;
// Verifies Internet connectivity by navigating to browsingtest.appspot.com.
- (void)testNetworkConnection {
[ChromeEarlGrey loadURL:GURL("http://browsingtest.appspot.com")];
- [[EarlGrey selectElementWithMatcher:webViewContainingText("Window1")]
+ [[EarlGrey selectElementWithMatcher:WebViewContainingText("Window1")]
assertWithMatcher:grey_notNil()];
}
« no previous file with comments | « ios/chrome/test/earl_grey/chrome_matchers.mm ('k') | ios/chrome/test/earl_grey/smoke_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698