Chromium Code Reviews| Index: ios/chrome/test/earl_grey/chrome_matchers.h |
| diff --git a/ios/chrome/test/earl_grey/chrome_matchers.h b/ios/chrome/test/earl_grey/chrome_matchers.h |
| index 75b15e1c4ab0803032fe4eeea8e6f930084e8987..89a6dbbd9c6bc97453563f4a531d612221df8d8f 100644 |
| --- a/ios/chrome/test/earl_grey/chrome_matchers.h |
| +++ b/ios/chrome/test/earl_grey/chrome_matchers.h |
| @@ -13,68 +13,68 @@ namespace chrome_test_util { |
| // Matcher for element with accessbitility label corresponding to |message_id| |
| // and acessibility trait UIAccessibilityTraitButton. |
| -id<GREYMatcher> buttonWithAccessibilityLabelId(int message_id); |
| +id<GREYMatcher> ButtonWithAccessibilityLabelId(int message_id); |
| // Matcher for element with accessbitility label corresponding to |label| and |
| // acessibility trait UIAccessibilityTraitButton. |
| -id<GREYMatcher> buttonWithAccessibilityLabel(NSString* label); |
| +id<GREYMatcher> ButtonWithAccessibilityLabel(NSString* label); |
| // Matcher for element with accessbitility label corresponding to |message_id| |
| // and acessibility trait UIAccessibilityTraitStaticText. |
| -id<GREYMatcher> staticTextWithAccessibilityLabelId(int message_id); |
| +id<GREYMatcher> StaticTextWithAccessibilityLabelId(int message_id); |
| // Matcher for element with accessbitility label corresponding to |label| and |
| // acessibility trait UIAccessibilityTraitStaticText. |
| -id<GREYMatcher> staticTextWithAccessibilityLabel(NSString* label); |
| +id<GREYMatcher> StaticTextWithAccessibilityLabel(NSString* label); |
| // Returns matcher for webview owned by a web controller. |
| -id<GREYMatcher> webViewBelongingToWebController(); |
| +id<GREYMatcher> WebViewBelongingToWebController(); |
|
Eugene But (OOO till 7-30)
2017/01/23 19:39:04
Please remove this instead of fixing it's name.
baxley
2017/01/24 22:18:50
Done.
|
| // Returns matcher for webview containing |text|. |
| -id<GREYMatcher> webViewContainingText(std::string text); |
| +id<GREYMatcher> WebViewContainingText(std::string text); |
| // Returns matcher for webview not containing |text|. |
| -id<GREYMatcher> webViewNotContainingText(std::string text); |
| +id<GREYMatcher> WebViewNotContainingText(std::string text); |
| // Returns matcher for a StaticHtmlViewController containing |text|. |
| -id<GREYMatcher> staticHtmlViewContainingText(NSString* text); |
| +id<GREYMatcher> StaticHtmlViewContainingText(NSString* text); |
| // Returns matcher for a cancel button. |
| -id<GREYMatcher> cancelButton(); |
| +id<GREYMatcher> CancelButton(); |
| // Matcher for the navigate forward button. |
| -id<GREYMatcher> forwardButton(); |
| +id<GREYMatcher> ForwardButton(); |
| // Matcher for the navigate backward button. |
| -id<GREYMatcher> backButton(); |
| +id<GREYMatcher> BackButton(); |
| // Matcher for the reload button. |
| -id<GREYMatcher> reloadButton(); |
| +id<GREYMatcher> ReloadButton(); |
| // Matcher for the stop loading button. |
| -id<GREYMatcher> stopButton(); |
| +id<GREYMatcher> StopButton(); |
| // Returns a matcher for the omnibox. |
| -id<GREYMatcher> omnibox(); |
| +id<GREYMatcher> Omnibox(); |
| // Returns a matcher for the page security info button. |
| -id<GREYMatcher> pageSecurityInfoButton(); |
| +id<GREYMatcher> PageSecurityInfoButton(); |
| // Returns matcher for omnibox containing |text|. Performs an exact match of the |
| // omnibox contents. |
| -id<GREYMatcher> omniboxText(std::string text); |
| +id<GREYMatcher> OmniboxText(std::string text); |
| // Matcher for Tools menu button. |
| -id<GREYMatcher> toolsMenuButton(); |
| +id<GREYMatcher> ToolsMenuButton(); |
| // Matcher for the Share menu button. |
| -id<GREYMatcher> shareButton(); |
| +id<GREYMatcher> ShareButton(); |
| // Matcher for show tabs button. |
| -id<GREYMatcher> showTabsButton(); |
| +id<GREYMatcher> ShowTabsButton(); |
| // Matcher for CollectionViewSwitchCell. |
| -id<GREYMatcher> collectionViewSwitchCell(NSString* accessibilityIdentifier, |
| +id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier, |
| BOOL isOn); |
|
Eugene But (OOO till 7-30)
2017/01/23 19:39:04
Could you please file a bug to replace BOOL param
baxley
2017/01/24 22:18:50
Done.
|
| } // namespace chrome_test_util |