Chromium Code Reviews| Index: ios/web_view/shell/test/earl_grey/shell_matchers.h |
| diff --git a/ios/web_view/shell/test/earl_grey/shell_matchers.h b/ios/web_view/shell/test/earl_grey/shell_matchers.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b0b7a4d0bbbae9542d0b64ada5c36979baec101f |
| --- /dev/null |
| +++ b/ios/web_view/shell/test/earl_grey/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_ |
|
Eugene But (OOO till 7-30)
2017/03/08 21:42:44
I think we should use different names for web shel
michaeldo
2017/03/08 21:58:31
Do you mean filename should be more like web_view_
Eugene But (OOO till 7-30)
2017/03/08 22:12:03
Sorry, I meant filename :)
michaeldo
2017/03/08 23:38:49
No problem. Done.
|
| +#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_ |