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

Unified Diff: ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h

Issue 2736243003: Add ios_web_view_shell_egtests target and accessibility labels to shell. (Closed)
Patch Set: rename matchers file. Created 3 years, 9 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_view/shell/test/BUILD.gn ('k') | ios/web_view/shell/test/earl_grey/web_view_shell_matchers.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h
diff --git a/ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h b/ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h
new file mode 100644
index 0000000000000000000000000000000000000000..b0b7a4d0bbbae9542d0b64ada5c36979baec101f
--- /dev/null
+++ b/ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h
@@ -0,0 +1,28 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
+#define IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
+
+#import <string>
+
+#import <EarlGrey/EarlGrey.h>
+
+namespace ios_web_view {
+
+// Matcher for web view shell address field text property equal to |text|.
+id<GREYMatcher> AddressFieldText(const std::string& text);
+
+// Matcher for back button in web view shell.
+id<GREYMatcher> BackButton();
+
+// Matcher for forward button in web view shell.
+id<GREYMatcher> ForwardButton();
+
+// Matcher for address field in web view shell.
+id<GREYMatcher> AddressField();
+
+} // namespace ios_web_view
+
+#endif // IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
« no previous file with comments | « ios/web_view/shell/test/BUILD.gn ('k') | ios/web_view/shell/test/earl_grey/web_view_shell_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698