projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0b7a6
)
Add some debugging to figure out what's up with failing Mac 10.8 Release bot.
author
Mike Klein
<mtklein@google.com>
Wed, 27 Aug 2014 23:08:52 +0000
(19:08 -0400)
committer
Mike Klein
<mtklein@google.com>
Wed, 27 Aug 2014 23:08:52 +0000
(19:08 -0400)
BUG=skia:
Review URL: https://codereview.chromium.org/
511013002
tests/RecordDrawTest.cpp
patch
|
blob
|
history
diff --git
a/tests/RecordDrawTest.cpp
b/tests/RecordDrawTest.cpp
index b9ab2dce258abb2a7a56f19be33ca938a4f7774e..50c1d09d2c4f54069bc41d7e3a63f2a9c5b6b0db 100644
(file)
--- a/
tests/RecordDrawTest.cpp
+++ b/
tests/RecordDrawTest.cpp
@@
-137,6
+137,11
@@
DEF_TEST(RecordDraw_BBH, r) {
for (int i = 0; i < bbh.entries.count(); i++) {
REPORTER_ASSERT(r, bbh.entries[i].data == (uintptr_t)i);
+ if (bbh.entries[i].bounds != SkRect::MakeWH(400, 480)) {
+ SkRect bounds = bbh.entries[i].bounds;
+ SkDebugf("Expected 0,0,400,480, got %f %f %f %f\n",
+ bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom);
+ }
REPORTER_ASSERT(r, bbh.entries[i].bounds == SkRect::MakeWH(400, 480));
}
}