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

Unified Diff: ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm

Issue 2642193012: Make EarlGrey matchers compliant with Chromium style. (Closed)
Patch Set: build.gn and rebase 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm
diff --git a/ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm b/ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm
index 16cef66f4200041a2f372f3b1d2b93e36e0d85b2..6f07b47d0224f6ed160ba0a963008d6269a14572 100644
--- a/ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm
+++ b/ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm
@@ -13,8 +13,8 @@
#import "ios/chrome/test/earl_grey/chrome_test_case.h"
#include "ui/base/l10n/l10n_util.h"
-using chrome_test_util::buttonWithAccessibilityLabel;
-using chrome_test_util::buttonWithAccessibilityLabelId;
+using chrome_test_util::ButtonWithAccessibilityLabel;
+using chrome_test_util::ButtonWithAccessibilityLabelId;
@interface ClearBrowsingDataSettingsTestCase : ChromeTestCase
@end
@@ -29,18 +29,18 @@ using chrome_test_util::buttonWithAccessibilityLabelId;
NSString* settingsLabel =
l10n_util::GetNSString(IDS_OPTIONS_ADVANCED_SECTION_TITLE_PRIVACY);
[[EarlGrey
- selectElementWithMatcher:buttonWithAccessibilityLabel(settingsLabel)]
+ selectElementWithMatcher:ButtonWithAccessibilityLabel(settingsLabel)]
performAction:grey_tap()];
NSString* clearBrowsingDataDialogLabel =
l10n_util::GetNSString(IDS_IOS_CLEAR_BROWSING_DATA_TITLE);
- [[EarlGrey selectElementWithMatcher:buttonWithAccessibilityLabel(
+ [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabel(
clearBrowsingDataDialogLabel)]
performAction:grey_tap()];
}
- (void)exitSettingsMenu {
- [[EarlGrey selectElementWithMatcher:buttonWithAccessibilityLabelId(
+ [[EarlGrey selectElementWithMatcher:ButtonWithAccessibilityLabelId(
IDS_IOS_NAVIGATION_BAR_DONE_BUTTON)]
performAction:grey_tap()];
// Wait for UI components to finish loading.
« no previous file with comments | « ios/chrome/browser/ui/settings/block_popups_egtest.mm ('k') | ios/chrome/browser/ui/settings/settings_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698