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

Side by Side Diff: ios/testing/earl_grey/matchers.h

Issue 2275303004: Context menu egtests, plus related utilities. (Closed)
Patch Set: Reviewable. Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698