Chromium Code Reviews
DescriptionAdd 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
Patch Set 1 #
Total comments: 2
Patch Set 2 : factor #
Total comments: 8
Patch Set 3 : ERRORF, __VA_ARGS__ #Patch Set 4 : final rebase #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||