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

Unified Diff: ios/web/public/test/earl_grey/web_view_matchers.h

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/web/public/test/earl_grey/web_view_matchers.h
diff --git a/ios/web/public/test/earl_grey/web_view_matchers.h b/ios/web/public/test/earl_grey/web_view_matchers.h
index 1933471ab84775c9d98d3e7a6daadf9053441134..f645f60f32c645d9278447bef038cdee22e6eab1 100644
--- a/ios/web/public/test/earl_grey/web_view_matchers.h
+++ b/ios/web/public/test/earl_grey/web_view_matchers.h
@@ -14,39 +14,39 @@
namespace web {
// Matcher for WKWebView which belogs to the given |webState|.
-id<GREYMatcher> webViewInWebState(WebState* web_state);
+id<GREYMatcher> WebViewInWebState(WebState* web_state);
// Matcher for WKWebView containing |text|.
-id<GREYMatcher> webViewContainingText(std::string text, WebState* web_state);
+id<GREYMatcher> WebViewContainingText(std::string text, WebState* web_state);
// Matcher for WKWebView not containing |text|. This should be used to verify
// that a visible WKWebView does not contain |text|, rather than verifying that
// a WKWebView containing |text| is not visible, as would be the case if
-// webViewContainingText() were asserted with grey_nil().
-id<GREYMatcher> webViewNotContainingText(std::string text, WebState* web_state);
+// WebViewContainingText() were asserted with grey_nil().
+id<GREYMatcher> WebViewNotContainingText(std::string text, WebState* web_state);
// Matcher for WKWebView containing a blocked |image_id|. When blocked, the
// image element will be smaller actual image size.
-id<GREYMatcher> webViewContainingBlockedImage(std::string image_id,
+id<GREYMatcher> WebViewContainingBlockedImage(std::string image_id,
WebState* web_state);
// Matcher for WKWebView containing loaded image with |image_id|. When loaded,
// the image element will have the same size as actual image.
-id<GREYMatcher> webViewContainingLoadedImage(std::string image_id,
+id<GREYMatcher> WebViewContainingLoadedImage(std::string image_id,
WebState* web_state);
// Matcher for WKWebView containing an html element which matches |selector|.
-id<GREYMatcher> webViewCssSelector(std::string selector, WebState* web_state);
+id<GREYMatcher> WebViewCssSelector(std::string selector, WebState* web_state);
// Matcher for WKWebView's scroll view.
-id<GREYMatcher> webViewScrollView(WebState* web_state);
+id<GREYMatcher> WebViewScrollView(WebState* web_state);
// Matcher for an interstitial page. Does not wait if the page is not displayed.
-id<GREYMatcher> interstitial(WebState* web_state);
+id<GREYMatcher> Interstitial(WebState* web_state);
// Matcher for interstitial page containing |text|. Waits until the text is
// displayed or timed out.
-id<GREYMatcher> interstitialContainingText(NSString* text, WebState* web_state);
+id<GREYMatcher> InterstitialContainingText(NSString* text, WebState* web_state);
} // namespace web
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_actions.mm ('k') | ios/web/public/test/earl_grey/web_view_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698