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

Issue 2857023003: Instant/LocalNTP tests cleanup (Closed)

Created:
3 years, 7 months ago by Marc Treib
Modified:
3 years, 7 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Instant/LocalNTP tests cleanup local_ntp_browsertest.cc was actually part of the interactive_ui_tests target, but most tests there don't need the "interactive" part. This CL moves the one test that *does* need it into a separate _uitest.cc file, and moves the _browsertest.cc file into the browser_tests target. To do this, the uitest-specific parts of InstantTestBase were split out into a new class InstantUITestBase. BUG=none Review-Url: https://codereview.chromium.org/2857023003 Cr-Commit-Position: refs/heads/master@{#469293} Committed: https://chromium.googlesource.com/chromium/src/+/11b6b3790f4138d11f81a3af384d129383ea976a

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : skip incompatible tests if --site-per-process #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -631 lines) Patch
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 8 chunks +31 lines, -25 lines 2 comments Download
M chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc View 4 chunks +6 lines, -4 lines 0 comments Download
A + chrome/browser/ui/search/instant_test_base.h View 1 2 3 chunks +9 lines, -48 lines 0 comments Download
A + chrome/browser/ui/search/instant_test_base.cc View 1 2 2 chunks +4 lines, -98 lines 0 comments Download
M chrome/browser/ui/search/instant_test_utils.h View 1 chunk +13 lines, -75 lines 0 comments Download
M chrome/browser/ui/search/instant_test_utils.cc View 2 chunks +14 lines, -117 lines 0 comments Download
A + chrome/browser/ui/search/instant_uitest_base.h View 1 2 3 chunks +14 lines, -57 lines 0 comments Download
A + chrome/browser/ui/search/instant_uitest_base.cc View 1 2 1 chunk +26 lines, -97 lines 0 comments Download
M chrome/browser/ui/search/local_ntp_browsertest.cc View 1 2 3 14 chunks +40 lines, -109 lines 0 comments Download
A chrome/browser/ui/search/local_ntp_uitest.cc View 1 1 chunk +118 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (14 generated)
Marc Treib
PTAL! Lots of touched lines, but it's all just moving stuff around.
3 years, 7 months ago (2017-05-03 15:38:46 UTC) #12
Bernhard Bauer
lgtm https://codereview.chromium.org/2857023003/diff/60001/chrome/browser/ui/search/instant_extended_interactive_uitest.cc File chrome/browser/ui/search/instant_extended_interactive_uitest.cc (right): https://codereview.chromium.org/2857023003/diff/60001/chrome/browser/ui/search/instant_extended_interactive_uitest.cc#newcode136 chrome/browser/ui/search/instant_extended_interactive_uitest.cc:136: public InstantUITestBase { I can't say I'm super ...
3 years, 7 months ago (2017-05-03 16:48:10 UTC) #13
Marc Treib
Thanks! https://codereview.chromium.org/2857023003/diff/60001/chrome/browser/ui/search/instant_extended_interactive_uitest.cc File chrome/browser/ui/search/instant_extended_interactive_uitest.cc (right): https://codereview.chromium.org/2857023003/diff/60001/chrome/browser/ui/search/instant_extended_interactive_uitest.cc#newcode136 chrome/browser/ui/search/instant_extended_interactive_uitest.cc:136: public InstantUITestBase { On 2017/05/03 16:48:10, Bernhard Bauer ...
3 years, 7 months ago (2017-05-04 08:25:40 UTC) #14
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/2857023003/60001
3 years, 7 months ago (2017-05-04 08:26:06 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 08:31:32 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/11b6b3790f4138d11f81a3af384d...

Powered by Google App Engine
This is Rietveld 408576698