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

Issue 117863005: Get rid of DEFINE_TESTCLASS_SHORT() macro. (Closed)

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

Description

Get rid of DEFINE_TESTCLASS_SHORT() macro. Instead tests should be written using DEF_TEST() macro, which is much nicer and simplifies the process of setting up an unit test. BUG=None TEST=skpskgr_test, pathops_unittest R=mtklein@google.com Committed: https://code.google.com/p/skia/source/detail?r=12870

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : gone #

Total comments: 9

Patch Set 5 : Mike review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -255 lines) Patch
M tests/AndroidPaintTest.cpp View 1 4 chunks +3 lines, -6 lines 0 comments Download
M tests/PathOpsAngleTest.cpp View 1 2 3 4 5 chunks +5 lines, -11 lines 0 comments Download
M tests/PathOpsBoundsTest.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsCubicIntersectionTest.cpp View 1 3 chunks +5 lines, -13 lines 0 comments Download
M tests/PathOpsCubicLineIntersectionTest.cpp View 1 2 3 4 chunks +3 lines, -7 lines 0 comments Download
M tests/PathOpsCubicQuadIntersectionTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsCubicReduceOrderTest.cpp View 1 2 3 3 chunks +2 lines, -5 lines 0 comments Download
M tests/PathOpsCubicToQuadsTest.cpp View 1 2 3 3 chunks +4 lines, -12 lines 0 comments Download
M tests/PathOpsDCubicTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsDLineTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsDPointTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsDQuadTest.cpp View 1 2 3 4 chunks +3 lines, -7 lines 0 comments Download
M tests/PathOpsDRectTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsDTriangleTest.cpp View 1 2 3 4 chunks +3 lines, -7 lines 0 comments Download
M tests/PathOpsDVectorTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsInverseTest.cpp View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsLineIntersectionTest.cpp View 1 2 3 3 chunks +4 lines, -10 lines 0 comments Download
M tests/PathOpsLineParametetersTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsOpCubicThreadedTest.cpp View 1 2 3 3 chunks +3 lines, -7 lines 0 comments Download
M tests/PathOpsOpRectThreadedTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsOpTest.cpp View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsQuadIntersectionTest.cpp View 1 2 4 chunks +4 lines, -11 lines 0 comments Download
M tests/PathOpsQuadLineIntersectionTest.cpp View 1 2 3 chunks +3 lines, -7 lines 0 comments Download
M tests/PathOpsQuadLineIntersectionThreadedTest.cpp View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M tests/PathOpsQuadParameterizationTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsQuadReduceOrderTest.cpp View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsSimplifyDegenerateThreadedTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsSimplifyFailTest.cpp View 1 2 3 chunks +4 lines, -10 lines 0 comments Download
M tests/PathOpsSimplifyQuadThreadedTest.cpp View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsSimplifyRectThreadedTest.cpp View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M tests/PathOpsSimplifyTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsSimplifyTrianglesThreadedTest.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathOpsSkpClipTest.cpp View 1 5 chunks +4 lines, -10 lines 0 comments Download
M tests/PathOpsSkpTest.cpp View 1 2 chunks +3 lines, -5 lines 0 comments Download
M tests/PathOpsTypesTest.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M tests/SkpSkGrTest.cpp View 1 2 3 4 7 chunks +7 lines, -13 lines 0 comments Download
M tests/TestClassDef.h View 2 chunks +16 lines, -27 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina
Merry Christmas! Man, these PathOps tests blew my mind!
6 years, 12 months ago (2013-12-24 00:29:07 UTC) #1
tfarina
friendly ping?
6 years, 11 months ago (2014-01-02 00:22:39 UTC) #2
mtklein
Looks good. Just some small stuff to fix up before we can submit. https://codereview.chromium.org/117863005/diff/70001/src/core/SkCanvas.cpp File ...
6 years, 11 months ago (2014-01-02 17:51:06 UTC) #3
tfarina
Thanks Mike! I don't remember why clang complained and I had to comment the code ...
6 years, 11 months ago (2014-01-02 21:09:07 UTC) #4
mtklein
lgtm
6 years, 11 months ago (2014-01-02 21:17:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tfarina@chromium.org/117863005/440001
6 years, 11 months ago (2014-01-02 21:17:30 UTC) #6
tfarina
6 years, 11 months ago (2014-01-02 21:45:33 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r12870 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698