Tests: reduce verbosity
Review URL: https://codereview.chromium.org/1526943003
This commit is contained in:
parent
19b0420e87
commit
02faf31080
@ -151,7 +151,9 @@ static void test_erasecolor_premul(skiatest::Reporter* reporter, SkColorType ct,
|
||||
SkBitmap bm;
|
||||
bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType));
|
||||
bm.eraseColor(input);
|
||||
SkDebugf("expected: %x actual: %x\n", expected, bm.getColor(0, 0));
|
||||
if (reporter->verbose()) {
|
||||
SkDebugf("expected: %x actual: %x\n", expected, bm.getColor(0, 0));
|
||||
}
|
||||
REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user