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

Issue 2642193012: Make EarlGrey matchers compliant with Chromium style. (Closed)

Created:
3 years, 11 months ago by baxley
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), rouslan+autofill_chromium.org, tfarina, sebsg+autofillwatch_chromium.org, pkl (ping after 24h if needed), browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org, asvitkine+watch_chromium.org, stkhapugin, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make EarlGrey matchers compliant with Chromium style. EarlGrey matchers are C-style, but they start with a lowercase letter. Our custom matchers started lowercase, so this CL brings our custom matchers in compliance with Chromium style, while making it inconsistent with EarlGrey. BUG=680787 Review-Url: https://codereview.chromium.org/2642193012 Cr-Commit-Position: refs/heads/master@{#445867} Committed: https://chromium.googlesource.com/chromium/src/+/68f208ca4c5dc605c04bd468746e00cb66140849

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : mistake #

Total comments: 42

Patch Set 4 : address comments #

Patch Set 5 : rest of the comments #

Patch Set 6 : build.gn and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1083 lines, -1097 lines) Patch
M ios/chrome/browser/autofill/form_input_egtest.mm View 2 chunks +5 lines, -5 lines 0 comments Download
M ios/chrome/browser/context_menu/context_menu_egtest.mm View 1 2 3 4 10 chunks +23 lines, -21 lines 0 comments Download
M ios/chrome/browser/metrics/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/metrics/tab_usage_recorder_egtest.mm View 1 2 3 21 chunks +31 lines, -29 lines 0 comments Download
M ios/chrome/browser/translate/translate_egtest.mm View 8 chunks +24 lines, -24 lines 0 comments Download
M ios/chrome/browser/ui/activity_services/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/activity_services/activity_service_controller_egtest.mm View 1 2 3 7 chunks +15 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/alert_coordinator/alert_coordinator_egtest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/authentication/signin_interaction_controller_egtest.mm View 10 chunks +11 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm View 41 chunks +76 lines, -76 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller_egtest.mm View 2 chunks +7 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/dialogs/javascript_dialog_egtest.mm View 1 2 3 9 chunks +12 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/error_page_egtest.mm View 1 2 3 5 chunks +16 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/find_bar/find_in_page_egtest.mm View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/first_run/first_run_egtest.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/fullscreen_egtest.mm View 9 chunks +10 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/history/history_ui_egtest.mm View 1 2 3 16 chunks +75 lines, -75 lines 0 comments Download
M ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/infobars/infobar_egtest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/keyboard_commands_egtest.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_panel_controller_egtest.mm View 1 2 3 4 chunks +13 lines, -18 lines 0 comments Download
M ios/chrome/browser/ui/print/print_controller_egtest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm View 15 chunks +41 lines, -41 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_egtest.mm View 7 chunks +8 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/settings/accounts_collection_egtest.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/settings/autofill_settings_egtest.mm View 7 chunks +8 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/settings/block_popups_egtest.mm View 6 chunks +7 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/settings/clear_browsing_data_egtest.mm View 2 chunks +5 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/settings/settings_egtest.mm View 1 2 3 4 5 30 chunks +83 lines, -83 lines 0 comments Download
M ios/chrome/browser/ui/settings/translate_ui_egtest.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/stack_view/stack_view_egtest.mm View 8 chunks +9 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/sync/sync_fake_server_egtest.mm View 1 chunk +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/tab_switcher/tab_switcher_controller_egtest.mm View 10 chunks +26 lines, -26 lines 0 comments Download
M ios/chrome/browser/ui/toolbar/toolbar_egtest.mm View 19 chunks +53 lines, -53 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_popup_menu_egtest.mm View 1 2 3 5 chunks +7 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/webui/web_ui_egtest.mm View 1 2 3 4 10 chunks +23 lines, -31 lines 0 comments Download
M ios/chrome/browser/web/browsing_egtest.mm View 20 chunks +36 lines, -36 lines 0 comments Download
M ios/chrome/browser/web/browsing_prevent_default_egtest.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/web/cache_egtest.mm View 5 chunks +16 lines, -16 lines 0 comments Download
M ios/chrome/browser/web/child_window_open_by_dom_egtest.mm View 9 chunks +18 lines, -18 lines 0 comments Download
M ios/chrome/browser/web/forms_egtest.mm View 1 2 3 4 6 chunks +7 lines, -8 lines 0 comments Download
M ios/chrome/browser/web/http_auth_egtest.mm View 1 5 chunks +19 lines, -19 lines 0 comments Download
M ios/chrome/browser/web/js_print_egtest.mm View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/web/navigation_egtest.mm View 19 chunks +63 lines, -63 lines 0 comments Download
M ios/chrome/browser/web/progress_indicator_egtest.mm View 6 chunks +12 lines, -12 lines 0 comments Download
M ios/chrome/browser/web/push_and_replace_state_navigation_egtest.mm View 1 2 3 4 10 chunks +26 lines, -31 lines 0 comments Download
M ios/chrome/browser/web/stop_loading_egtest.mm View 4 chunks +8 lines, -8 lines 0 comments Download
M ios/chrome/browser/web/visible_url_egtest.mm View 15 chunks +52 lines, -52 lines 0 comments Download
M ios/chrome/browser/web/window_open_by_dom_egtest.mm View 5 chunks +6 lines, -6 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_earl_grey_ui.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_matchers.h View 1 2 3 4 1 chunk +21 lines, -22 lines 0 comments Download
M ios/chrome/test/earl_grey/chrome_matchers.mm View 1 2 3 4 4 chunks +36 lines, -38 lines 0 comments Download
M ios/chrome/test/earl_grey/device_check_egtest.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/test/earl_grey/smoke_egtest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/testing/earl_grey/matchers.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/testing/earl_grey/matchers.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/web/public/test/earl_grey/web_view_actions.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/web/public/test/earl_grey/web_view_matchers.h View 1 chunk +10 lines, -10 lines 0 comments Download
M ios/web/public/test/earl_grey/web_view_matchers.mm View 10 chunks +20 lines, -20 lines 0 comments Download
M ios/web/shell/test/context_menu_egtest.mm View 5 chunks +12 lines, -12 lines 0 comments Download
M ios/web/shell/test/earl_grey/shell_base_test_case.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/web/shell/test/earl_grey/shell_matchers.h View 1 chunk +8 lines, -8 lines 0 comments Download
M ios/web/shell/test/earl_grey/shell_matchers.mm View 2 chunks +12 lines, -12 lines 0 comments Download
M ios/web/shell/test/meta_tags_egtest.mm View 2 chunks +4 lines, -4 lines 0 comments Download
M ios/web/shell/test/navigation_egtest.mm View 5 chunks +24 lines, -24 lines 0 comments Download
M ios/web/shell/test/page_state_egtest.mm View 3 chunks +11 lines, -11 lines 0 comments Download
M ios/web/shell/test/pdf_egtest.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/web/shell/test/plugin_placeholder_egtest.mm View 8 chunks +18 lines, -18 lines 0 comments Download
M ios/web/shell/test/redirect_egtest.mm View 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
baxley
I tried to focus this on only fixing the style of our custom matchers. I ...
3 years, 11 months ago (2017-01-23 16:46:18 UTC) #2
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2642193012/diff/40001/ios/chrome/browser/context_menu/context_menu_egtest.mm File ios/chrome/browser/context_menu/context_menu_egtest.mm (right): https://codereview.chromium.org/2642193012/diff/40001/ios/chrome/browser/context_menu/context_menu_egtest.mm#newcode56 ios/chrome/browser/context_menu/context_menu_egtest.mm:56: id<GREYMatcher> OpenLinkInNewTabButton() { Could you please add TODO(crbug.com/638674) ...
3 years, 11 months ago (2017-01-23 19:39:04 UTC) #4
baxley
On 2017/01/23 19:39:04, Eugene But wrote: > lgtm > > https://codereview.chromium.org/2642193012/diff/40001/ios/chrome/browser/context_menu/context_menu_egtest.mm > File ios/chrome/browser/context_menu/context_menu_egtest.mm (right): ...
3 years, 11 months ago (2017-01-24 22:17:52 UTC) #5
baxley
Now publishing my comments... (all fixed or bugs filed to address) https://codereview.chromium.org/2642193012/diff/40001/ios/chrome/browser/context_menu/context_menu_egtest.mm File ios/chrome/browser/context_menu/context_menu_egtest.mm (right): ...
3 years, 11 months ago (2017-01-24 22:18:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642193012/100001
3 years, 11 months ago (2017-01-24 22:19:58 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 23:58:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/68f208ca4c5dc605c04bd468746e...

Powered by Google App Engine
This is Rietveld 408576698