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

Issue 126743003: Convert Checksum test to DEF_TEST() macro. (Closed)

Created:
6 years, 11 months ago by tfarina
Modified:
6 years, 11 months ago
Reviewers:
bungeman-skia, mtklein
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Convert Checksum test to DEF_TEST() macro. BUG=None TEST=tests R=mtklein@google.com Committed: http://code.google.com/p/skia/source/detail?r=12996

Patch Set 1 #

Patch Set 2 : ComputeChecksum #

Patch Set 3 : GetTestDataChecksum #

Patch Set 4 : TestChecksumSelfConsistency #

Patch Set 5 : DEF_TEST - Checksum #

Patch Set 6 : rm ChecksumTestClass #

Patch Set 7 : counterproposal #

Total comments: 22

Patch Set 8 : bungeman #

Total comments: 2

Patch Set 9 : align4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -132 lines) Patch
M tests/ChecksumTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +43 lines, -132 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
tfarina
your pleasure. ;)
6 years, 11 months ago (2014-01-08 00:57:39 UTC) #1
mtklein
On 2014/01/08 00:57:39, tfarina wrote: > your pleasure. ;) This test looked so gross I ...
6 years, 11 months ago (2014-01-08 15:47:24 UTC) #2
tfarina
On 2014/01/08 15:47:24, mtklein wrote: > On 2014/01/08 00:57:39, tfarina wrote: > > your pleasure. ...
6 years, 11 months ago (2014-01-08 16:46:53 UTC) #3
mtklein
On 2014/01/08 16:46:53, tfarina wrote: > On 2014/01/08 15:47:24, mtklein wrote: > > On 2014/01/08 ...
6 years, 11 months ago (2014-01-08 16:48:08 UTC) #4
tfarina
Mike, I did my analysis below, as I was reading the code, I was commenting ...
6 years, 11 months ago (2014-01-08 18:32:40 UTC) #5
mtklein
I think you understood it correctly. https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp File tests/ChecksumTest.cpp (right): https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp#newcode20 tests/ChecksumTest.cpp:20: uint32_t(*kAlgorithms[])(const uint32_t*, size_t) ...
6 years, 11 months ago (2014-01-08 18:41:54 UTC) #6
mtklein
6 years, 11 months ago (2014-01-08 22:29:20 UTC) #7
bungeman-skia
https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp File tests/ChecksumTest.cpp (right): https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp#newcode20 tests/ChecksumTest.cpp:20: uint32_t(*kAlgorithms[])(const uint32_t*, size_t) = { I know that doing ...
6 years, 11 months ago (2014-01-09 16:08:33 UTC) #8
mtklein
All done. https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp File tests/ChecksumTest.cpp (right): https://codereview.chromium.org/126743003/diff/130001/tests/ChecksumTest.cpp#newcode20 tests/ChecksumTest.cpp:20: uint32_t(*kAlgorithms[])(const uint32_t*, size_t) = { On 2014/01/09 ...
6 years, 11 months ago (2014-01-09 16:21:45 UTC) #9
bungeman-skia
PS8 lgtm with one silly request which may be ignored at the author's discretion. https://codereview.chromium.org/126743003/diff/230001/tests/ChecksumTest.cpp ...
6 years, 11 months ago (2014-01-09 17:08:19 UTC) #10
mtklein
lgtm https://codereview.chromium.org/126743003/diff/230001/tests/ChecksumTest.cpp File tests/ChecksumTest.cpp (right): https://codereview.chromium.org/126743003/diff/230001/tests/ChecksumTest.cpp#newcode27 tests/ChecksumTest.cpp:27: uint32_t data[kBytes/4], tweaked[kBytes/4]; On 2014/01/09 17:08:20, bungeman1 wrote: ...
6 years, 11 months ago (2014-01-09 17:11:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tfarina@chromium.org/126743003/280001
6 years, 11 months ago (2014-01-09 17:12:05 UTC) #12
tfarina
Mike, do you want to dcommit this (since you authored this)? Otherwise, I will just ...
6 years, 11 months ago (2014-01-09 17:31:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tfarina@chromium.org/126743003/280001
6 years, 11 months ago (2014-01-09 17:48:36 UTC) #14
commit-bot: I haz the power
Change committed as 12996
6 years, 11 months ago (2014-01-09 17:48:53 UTC) #15
mtklein
On 2014/01/09 17:31:46, tfarina wrote: > Mike, do you want to dcommit this (since you ...
6 years, 11 months ago (2014-01-09 17:50:19 UTC) #16
tfarina
On 2014/01/09 17:50:19, mtklein wrote: > On 2014/01/09 17:31:46, tfarina wrote: > > Mike, do ...
6 years, 11 months ago (2014-01-09 18:02:42 UTC) #17
mtklein
6 years, 11 months ago (2014-01-09 18:05:56 UTC) #18
Message was sent while issue was closed.
On 2014/01/09 18:02:42, tfarina wrote:
> On 2014/01/09 17:50:19, mtklein wrote:
> > On 2014/01/09 17:31:46, tfarina wrote:
> > > Mike, do you want to dcommit this (since you authored this)? Otherwise, I
> will
> > > just do it when I get back home later tonight. CQ is evil, because it
steals
> > the
> > > credit and gives it to mailto:commit-bot@chromium.org.
> > 
> > I pretty much always use the commit queue.  I'd prefer it if everyone did,
but
> > that's another issue.
> 
> Ouch, that makes me very sad. :(
> 
> I do use CQ on chromium side because there they have hooks that rewrite the
log
> to set the committer and author to the proper email address. Due to
limitations
> in code.google.com/, that is not possible on skia until it switches to git.

Personally, this has never bothered me, but I'm sure we'd love the patch to fix
Skia when possible.

For what it's worth, the author and committer are tracked separately.  This CL
shows up on our build as tfarina@chromium.org (commit-bot), and the commit
itself has an Author: line.

Powered by Google App Engine
This is Rietveld 408576698