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

Issue 2306043002: Add test of MakeUniqueID() and friends. (Closed)

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

Description

Add test of MakeUniqueID() and friends. Committed: https://crrev.com/cc2f61204c0ede5c3c5699bc0796bb2bbfab7259 Cr-Commit-Position: refs/heads/master@{#416259}

Patch Set 1 #

Total comments: 6

Patch Set 2 : EXPECT_DEATH_IF_SUPPORTED. #

Patch Set 3 : Use proper construction order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -0 lines) Patch
M components/ntp_snippets/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/content_suggestions_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
A components/ntp_snippets/content_suggestions_provider_unittest.cc View 1 2 1 chunk +115 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
sfiera
We said these functions were simple, so they are probably correct, but there is no ...
4 years, 3 months ago (2016-09-02 12:23:51 UTC) #4
Marc Treib
lgtm LGTM. FWIW, I'm planning to remove this string wrangling completely and instead just pass ...
4 years, 3 months ago (2016-09-02 12:43:25 UTC) #9
sfiera
https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc File components/ntp_snippets/content_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc#newcode60 components/ntp_snippets/content_suggestions_provider_unittest.cc:60: CategoryFactory factory_; On 2016/09/02 12:43:25, Marc Treib wrote: > ...
4 years, 3 months ago (2016-09-02 12:49:23 UTC) #10
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/2306043002/40001
4 years, 3 months ago (2016-09-02 12:49:42 UTC) #13
Marc Treib
https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc File components/ntp_snippets/content_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc#newcode104 components/ntp_snippets/content_suggestions_provider_unittest.cc:104: EXPECT_THAT(GetCategoryFromUniqueID(kUrl), Eq(kNoCategory)); On 2016/09/02 12:49:23, sfiera wrote: > On ...
4 years, 3 months ago (2016-09-02 13:02:02 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-02 14:03:00 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/cc2f61204c0ede5c3c5699bc0796bb2bbfab7259 Cr-Commit-Position: refs/heads/master@{#416259}
4 years, 3 months ago (2016-09-02 14:04:57 UTC) #17
findit-for-me
FYI: Findit try jobs (rerunning failed compile or tests) identified this CL at revision 416259 ...
4 years, 3 months ago (2016-09-02 15:21:00 UTC) #18
Marc Treib
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2302363002/ by treib@chromium.org. ...
4 years, 3 months ago (2016-09-02 15:30:55 UTC) #19
grt (UTC plus 2)
https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc File components/ntp_snippets/content_suggestions_provider_unittest.cc (right): https://codereview.chromium.org/2306043002/diff/1/components/ntp_snippets/content_suggestions_provider_unittest.cc#newcode104 components/ntp_snippets/content_suggestions_provider_unittest.cc:104: EXPECT_THAT(GetCategoryFromUniqueID(kUrl), Eq(kNoCategory)); On 2016/09/02 13:02:02, Marc Treib wrote: > ...
4 years, 3 months ago (2016-09-02 19:21:47 UTC) #20
sfiera
Thanks! This was a little surprising to me, coming from google3. Is there some kind ...
4 years, 3 months ago (2016-09-03 09:43:46 UTC) #21
grt (UTC plus 2)
4 years, 3 months ago (2016-09-05 09:10:40 UTC) #22
Message was sent while issue was closed.
On 2016/09/03 09:43:46, sfiera wrote:
> Thanks! This was a little surprising to me, coming from google3. Is there some
> kind of "Chrome for google3 developers" guide somewhere? Should I start one?

I can't decide if this is a good idea or a bad one. :-)
https://chromium.googlesource.com/chromium/src/+/master/styleguide/styleguide.md
and the docs it links to spell out the coding style pretty well. We expect all
developers to be familiar with the guide. If the guide you're proposing
duplicates info there, then that's not so good. If it would contain info that's
lacking from the current guides, then perhaps the current guides should be
improved.

Powered by Google App Engine
This is Rietveld 408576698