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

Side by Side Diff: ios/chrome/test/earl_grey/chrome_matchers.h

Issue 2617393003: [ios] EarlGrey tests for HTTP Authentication. (Closed)
Patch Set: Actually disabled tests on iPad 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <EarlGrey/EarlGrey.h> 10 #import <EarlGrey/EarlGrey.h>
(...skipping 21 matching lines...) Expand all
32 32
33 // Returns matcher for webview containing |text|. 33 // Returns matcher for webview containing |text|.
34 id<GREYMatcher> webViewContainingText(std::string text); 34 id<GREYMatcher> webViewContainingText(std::string text);
35 35
36 // Returns matcher for webview not containing |text|. 36 // Returns matcher for webview not containing |text|.
37 id<GREYMatcher> webViewNotContainingText(std::string text); 37 id<GREYMatcher> webViewNotContainingText(std::string text);
38 38
39 // Returns matcher for a StaticHtmlViewController containing |text|. 39 // Returns matcher for a StaticHtmlViewController containing |text|.
40 id<GREYMatcher> staticHtmlViewContainingText(NSString* text); 40 id<GREYMatcher> staticHtmlViewContainingText(NSString* text);
41 41
42 // Returns matcher for a cancel button.
43 id<GREYMatcher> cancelButton();
44
42 // Matcher for the navigate forward button. 45 // Matcher for the navigate forward button.
43 id<GREYMatcher> forwardButton(); 46 id<GREYMatcher> forwardButton();
44 47
45 // Matcher for the navigate backward button. 48 // Matcher for the navigate backward button.
46 id<GREYMatcher> backButton(); 49 id<GREYMatcher> backButton();
47 50
48 // Matcher for the reload button. 51 // Matcher for the reload button.
49 id<GREYMatcher> reloadButton(); 52 id<GREYMatcher> reloadButton();
50 53
51 // Matcher for the stop loading button. 54 // Matcher for the stop loading button.
(...skipping 18 matching lines...) Expand all
70 // Matcher for show tabs button. 73 // Matcher for show tabs button.
71 id<GREYMatcher> showTabsButton(); 74 id<GREYMatcher> showTabsButton();
72 75
73 // Matcher for CollectionViewSwitchCell. 76 // Matcher for CollectionViewSwitchCell.
74 id<GREYMatcher> collectionViewSwitchCell(NSString* accessibilityIdentifier, 77 id<GREYMatcher> collectionViewSwitchCell(NSString* accessibilityIdentifier,
75 BOOL isOn); 78 BOOL isOn);
76 79
77 } // namespace chrome_test_util 80 } // namespace chrome_test_util
78 81
79 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 82 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698