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

Issue 2279223002: Add OfflinePageSuggestionsProviderTest (Closed)

Created:
4 years, 3 months ago by Philipp Keck
Modified:
4 years, 3 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add OfflinePageSuggestionsProviderTest BUG=628198 Committed: https://crrev.com/5fe00b8dfc81a113eb3d02641cf71daff59b5fa0 Cr-Commit-Position: refs/heads/master@{#415211}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Move MockDismissedSuggestionsCallback into test class #

Patch Set 3 : Marc's comments #

Total comments: 8

Patch Set 4 : Marc's new comments #

Patch Set 5 : Marc's new new comments #

Patch Set 6 : Add missing dependency to components/ntp_snippets:unit_tests #

Patch Set 7 : Add another missing dependency #

Patch Set 8 : Fix Windows compiler error #

Patch Set 9 : Maybe now fix the Windows compiler error #

Patch Set 10 : Maybe this time fix the Windows compiler error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -0 lines) Patch
M components/ntp_snippets/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
A components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +409 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (15 generated)
Philipp Keck
PTAL
4 years, 3 months ago (2016-08-26 09:37:51 UTC) #2
Marc Treib
Nice! Just a bunch of nits below. https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode93 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:93: class MockDismissedSuggestionsCallback ...
4 years, 3 months ago (2016-08-26 12:14:50 UTC) #3
Philipp Keck
https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode93 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:93: class MockDismissedSuggestionsCallback On 2016/08/26 12:14:50, Marc Treib wrote: > ...
4 years, 3 months ago (2016-08-26 12:41:45 UTC) #4
Marc Treib
lgtm LGTM, thanks! https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode180 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:180: // Last so that the dependencies ...
4 years, 3 months ago (2016-08-26 12:52:03 UTC) #5
Philipp Keck
https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode180 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:180: // Last so that the dependencies are deleted after ...
4 years, 3 months ago (2016-08-26 17:19:56 UTC) #6
Marc Treib
lgtm https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode180 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:180: // Last so that the dependencies are deleted ...
4 years, 3 months ago (2016-08-29 09:28:48 UTC) #7
Philipp Keck
https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/1/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode180 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:180: // Last so that the dependencies are deleted after ...
4 years, 3 months ago (2016-08-29 11:32:42 UTC) #8
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/2279223002/80001
4 years, 3 months ago (2016-08-29 11:33:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/120146) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-08-29 11:36:34 UTC) #13
Philipp Keck
Added missing dependencies, PTAL: https://codereview.chromium.org/2279223002/diff2/80001:120001/components/ntp_snippets/BUILD.gn
4 years, 3 months ago (2016-08-29 11:57:00 UTC) #14
Marc Treib
On 2016/08/29 11:57:00, Philipp Keck wrote: > Added missing dependencies, PTAL: > https://codereview.chromium.org/2279223002/diff2/80001:120001/components/ntp_snippets/BUILD.gn Still LGTM
4 years, 3 months ago (2016-08-29 11:58:08 UTC) #15
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/2279223002/120001
4 years, 3 months ago (2016-08-29 11:59:38 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/131931)
4 years, 3 months ago (2016-08-29 12:35:05 UTC) #19
tschumann
https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode159 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:159: MOCK_METHOD1( On 2016/08/29 11:32:42, Philipp Keck wrote: > On ...
4 years, 3 months ago (2016-08-29 12:45:14 UTC) #21
Marc Treib
https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode159 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:159: MOCK_METHOD1( On 2016/08/29 12:45:14, tschumann wrote: > On 2016/08/29 ...
4 years, 3 months ago (2016-08-29 13:01:52 UTC) #22
Philipp Keck
https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode159 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:159: MOCK_METHOD1( On 2016/08/29 13:01:51, Marc Treib wrote: > On ...
4 years, 3 months ago (2016-08-29 13:35:06 UTC) #23
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/2279223002/180001
4 years, 3 months ago (2016-08-29 14:05:32 UTC) #26
tschumann
https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc File components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc#newcode159 components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc:159: MOCK_METHOD1( On 2016/08/29 13:35:06, Philipp Keck wrote: > On ...
4 years, 3 months ago (2016-08-29 14:13:32 UTC) #27
Philipp Keck
On 2016/08/29 14:13:32, tschumann wrote: > https://codereview.chromium.org/2279223002/diff/40001/components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc > File > components/ntp_snippets/offline_pages/offline_page_suggestions_provider_unittest.cc > (right): > > ...
4 years, 3 months ago (2016-08-29 14:22:19 UTC) #28
Philipp Keck
On 2016/08/29 14:22:19, Philipp Keck wrote: > On 2016/08/29 14:13:32, tschumann wrote: > > > ...
4 years, 3 months ago (2016-08-29 14:49:18 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/270570)
4 years, 3 months ago (2016-08-29 15:26:24 UTC) #31
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/2279223002/180001
4 years, 3 months ago (2016-08-29 15:37:39 UTC) #33
dsansome
(I unset the commit bit on this change to try fix a stuck CQ - ...
4 years, 3 months ago (2016-08-30 03:54:25 UTC) #36
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/2279223002/180001
4 years, 3 months ago (2016-08-30 03:57:20 UTC) #38
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-08-30 06:17:33 UTC) #39
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/5fe00b8dfc81a113eb3d02641cf71daff59b5fa0 Cr-Commit-Position: refs/heads/master@{#415211}
4 years, 3 months ago (2016-08-30 06:19:52 UTC) #41
perkj_chrome
4 years, 3 months ago (2016-08-30 07:24:57 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.chromium.org/2297493002/ by perkj@chromium.org.

The reason for reverting is: Fails on Chrome os. 
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698