|
Add REPORTF test macro.
This macro replaces:
SkString str;
str.printf("Foo test Expected %d got %d", x, y);
reporter->reportFailed(str);
with the shorter code:
REPORTF(reporter, ("Foo test Expected %d got %d", x, y));
The new form also appends __FILE__:__LINE__ to the message before calling reportFailed().
BUG=
R=mtklein@google.com
Committed: https://code.google.com/p/skia/source/detail?r=13016
Total comments: 2
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -120 lines) |
Patch |
|
M |
tests/BitmapCopyTest.cpp
|
View
|
1
2
|
5 chunks |
+14 lines, -27 lines |
0 comments
|
Download
|
|
M |
tests/BlitRowTest.cpp
|
View
|
1
2
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
tests/DataRefTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
tests/EmptyPathTest.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
tests/GpuBitmapCopyTest.cpp
|
View
|
1
2
|
1 chunk |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
tests/ImageDecodingTest.cpp
|
View
|
1
2
|
4 chunks |
+28 lines, -22 lines |
0 comments
|
Download
|
|
M |
tests/MathTest.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
tests/PathCoverageTest.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
tests/SortTest.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/StreamTest.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
tests/Test.h
|
View
|
1
2
|
1 chunk |
+22 lines, -14 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|