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

Issue 100113004: Use DEFINE_TESTCLASS_SHORT macro in tests. (Closed)

Created:
7 years ago by tfarina
Modified:
7 years ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Use DEFINE_TESTCLASS_SHORT macro in tests. The three version of DEFINE_TESTCLASS macro is deprecated and thus just use the simple, short one. BUG=None TEST=out/Debug/tests R=mtklein@google.com, bsalomon@google.com, robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=12653

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : Pipe #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : DEF_TEST - Annotation #

Patch Set 19 : BitSet #

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Patch Set 25 : rebase + ImageCache fixes #

Patch Set 26 : fix two missed cases #

Patch Set 27 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -506 lines) Patch
M tests/AnnotationTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +4 lines, -12 lines 0 comments Download
M tests/AtomicTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +3 lines, -5 lines 0 comments Download
M tests/BitSetTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -5 lines 0 comments Download
M tests/BitmapCopyTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +2 lines, -4 lines 0 comments Download
M tests/BitmapGetColorTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -4 lines 0 comments Download
M tests/BitmapHeapTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +2 lines, -5 lines 0 comments Download
M tests/BlitRowTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -5 lines 0 comments Download
M tests/CanvasStateTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +2 lines, -7 lines 0 comments Download
M tests/CanvasTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +2 lines, -4 lines 0 comments Download
M tests/ClampRangeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +4 lines, -10 lines 0 comments Download
M tests/ClipCubicTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +3 lines, -9 lines 0 comments Download
M tests/ClipStackTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +3 lines, -7 lines 0 comments Download
M tests/ClipperTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -8 lines 0 comments Download
M tests/ColorFilterTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +4 lines, -7 lines 0 comments Download
M tests/ColorTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -6 lines 0 comments Download
M tests/DataRefTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +4 lines, -7 lines 0 comments Download
M tests/DequeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -4 lines 0 comments Download
M tests/DeviceLooperTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -4 lines 0 comments Download
M tests/DrawBitmapRectTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +3 lines, -5 lines 0 comments Download
M tests/DrawPathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +2 lines, -4 lines 0 comments Download
M tests/DrawTextTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -8 lines 0 comments Download
M tests/DynamicHashTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -4 lines 0 comments Download
M tests/EmptyPathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -4 lines 0 comments Download
M tests/ErrorTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -5 lines 0 comments Download
M tests/FillPathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +2 lines, -4 lines 0 comments Download
M tests/FitsInTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -5 lines 0 comments Download
M tests/FlatDataTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +3 lines, -5 lines 0 comments Download
M tests/FlateTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +2 lines, -6 lines 0 comments Download
M tests/FontHostStreamTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +3 lines, -8 lines 0 comments Download
M tests/FontHostTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -4 lines 0 comments Download
M tests/FontMgrTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -5 lines 0 comments Download
M tests/FontNamesTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -5 lines 0 comments Download
M tests/FrontBufferedStreamTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -5 lines 0 comments Download
M tests/GeometryTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -6 lines 0 comments Download
M tests/GifTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +4 lines, -6 lines 0 comments Download
M tests/GrMemoryPoolTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +2 lines, -4 lines 0 comments Download
M tests/GradientTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -4 lines 0 comments Download
M tests/HashCacheTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +2 lines, -8 lines 0 comments Download
M tests/ImageCacheTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +2 lines, -4 lines 0 comments Download
M tests/ImageDecodingTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -6 lines 0 comments Download
M tests/InfRectTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -5 lines 0 comments Download
M tests/JpegTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -5 lines 0 comments Download
M tests/LListTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -4 lines 0 comments Download
M tests/LayerDrawLooperTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -4 lines 0 comments Download
M tests/MD5Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -4 lines 0 comments Download
M tests/MathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +6 lines, -13 lines 0 comments Download
M tests/Matrix44Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +2 lines, -4 lines 0 comments Download
M tests/MatrixTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +3 lines, -5 lines 0 comments Download
M tests/MemsetTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -5 lines 0 comments Download
M tests/MetaDataTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -5 lines 0 comments Download
M tests/MipMapTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +2 lines, -4 lines 0 comments Download
M tests/OSPathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +3 lines, -5 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +2 lines, -5 lines 0 comments Download
M tests/PackBitsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +3 lines, -5 lines 0 comments Download
M tests/PaintTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +2 lines, -4 lines 0 comments Download
M tests/ParsePathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +3 lines, -5 lines 0 comments Download
M tests/PathCoverageTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +4 lines, -6 lines 0 comments Download
M tests/PathMeasureTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +3 lines, -5 lines 0 comments Download
M tests/PathTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +2 lines, -4 lines 0 comments Download
M tests/PathUtilsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +4 lines, -8 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +3 lines, -4 lines 0 comments Download
M tests/PictureUtilsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -4 lines 0 comments Download
M tests/PipeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +3 lines, -6 lines 0 comments Download
M tests/QuickRejectTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -5 lines 0 comments Download
M tests/RTreeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +2 lines, -6 lines 0 comments Download
M tests/RandomTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +2 lines, -5 lines 0 comments Download
M tests/Reader32Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +3 lines, -8 lines 0 comments Download
M tests/RefCntTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -9 lines 0 comments Download
M tests/RefDictTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/RegionTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/RoundRectTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +2 lines, -4 lines 0 comments Download
M tests/SHA1Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -4 lines 0 comments Download
M tests/ScalarTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -4 lines 0 comments Download
M tests/SerializationTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +3 lines, -5 lines 0 comments Download
M tests/ShaderImageFilterTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -5 lines 0 comments Download
M tests/ShaderOpacityTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -6 lines 0 comments Download
M tests/Sk64Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/SortTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/SrcOverTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/StreamTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -5 lines 0 comments Download
M tests/StringTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -7 lines 0 comments Download
M tests/StrokeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -4 lines 0 comments Download
M tests/TLSTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +2 lines, -4 lines 0 comments Download
M tests/TSetTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -4 lines 0 comments Download
M tests/TestSize.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +4 lines, -6 lines 0 comments Download
M tests/ToUnicode.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +2 lines, -6 lines 0 comments Download
M tests/Typeface.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +2 lines, -5 lines 0 comments Download
M tests/UnicodeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -5 lines 0 comments Download
M tests/UnitTestTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -5 lines 0 comments Download
M tests/UtilsTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -5 lines 0 comments Download
M tests/WArrayTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +2 lines, -4 lines 0 comments Download
M tests/Writer32Test.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +3 lines, -8 lines 0 comments Download
M tests/XfermodeTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tfarina
Found another cleanup task ;) In the sound of skrillex... I left these two tests/ImageFilterTest.cpp, ...
7 years ago (2013-12-07 03:16:29 UTC) #1
mtklein
I like where this is going. One naming request for continuity. Please apply it everywhere ...
7 years ago (2013-12-07 10:30:46 UTC) #2
tfarina
https://codereview.chromium.org/100113004/diff/150001/tests/AnnotationTest.cpp File tests/AnnotationTest.cpp (right): https://codereview.chromium.org/100113004/diff/150001/tests/AnnotationTest.cpp#newcode105 tests/AnnotationTest.cpp:105: DEFINE_TESTCLASS_SHORT(TestAnnotation) On 2013/12/07 10:30:46, mtklein wrote: > Generally, for ...
7 years ago (2013-12-07 13:20:23 UTC) #3
mtklein
On 2013/12/07 13:20:23, tfarina wrote: > https://codereview.chromium.org/100113004/diff/150001/tests/AnnotationTest.cpp > File tests/AnnotationTest.cpp (right): > > https://codereview.chromium.org/100113004/diff/150001/tests/AnnotationTest.cpp#newcode105 > ...
7 years ago (2013-12-10 15:04:57 UTC) #4
tfarina
If it wasn't vim... ;) Thanks to vim + i3 keystrokes that was possible. My ...
7 years ago (2013-12-11 00:12:43 UTC) #5
mtklein
On 2013/12/11 00:12:43, tfarina wrote: > If it wasn't vim... ;) > > Thanks to ...
7 years ago (2013-12-11 19:32:31 UTC) #6
tfarina
I fixed the two missed opportunities (AtomicTest.cpp and MathTest.cpp) and posted here. Thanks for pushing ...
7 years ago (2013-12-12 08:49:48 UTC) #7
mtklein
On 2013/12/12 08:49:48, tfarina wrote: > I fixed the two missed opportunities (AtomicTest.cpp and MathTest.cpp) ...
7 years ago (2013-12-12 14:42:16 UTC) #8
tfarina
7 years ago (2013-12-12 21:13:03 UTC) #9
Message was sent while issue was closed.
Committed patchset #27 manually as r12653 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698