OLD | NEW |
---|---|
(Empty) | |
1 #include "DMUtil.h" | |
2 | |
3 namespace DM { | |
4 | |
5 SkString underJoin(const char* a, const char* b) { | |
6 SkString s; | |
7 s.appendf("%s_%s", a, b); | |
8 return s; | |
9 } | |
10 | |
11 SkString png(SkString s) { | |
12 s.appendf(".png"); | |
13 return s; | |
14 } | |
15 | |
16 bool meetsExpectations(const skiagm::Expectations& expectations, | |
17 const skiagm::GmResultDigest& digest) { | |
18 return expectations.ignoreFailure() || expectations.match(digest); | |
19 } | |
20 | |
21 } // namespace DM | |
OLD | NEW |