OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_TESTING_EARL_GREY_MATCHERS_H_ | |
6 #define IOS_TESTING_EARL_GREY_MATCHERS_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 #import <EarlGrey/EarlGrey.h> | |
11 | |
12 namespace testing { | |
13 | |
14 // Matcher for context menu item containing |text|. | |
15 id<GREYMatcher> contextMenuItemContainingText(NSString* text); | |
Eugene But (OOO till 7-30)
2016/08/30 18:11:04
The name suggests that |text| can be a substring o
marq (ping after 24h)
2016/08/31 13:07:57
Done.
| |
16 | |
17 // Matcher for a UI element to tap to dismiss the the context menu. | |
Eugene But (OOO till 7-30)
2016/08/30 18:11:04
Maybe document the difference between iPhone and i
marq (ping after 24h)
2016/08/31 13:07:57
Done.
| |
18 id<GREYMatcher> elementToDismissContextMenu(); | |
19 | |
20 } // namespace testing | |
21 | |
22 #endif // IOS_TESTING_EARL_GREY_MATCHERS_H_ | |
OLD | NEW |