Lines Matching refs:desc
35 void assertTrue(bool cond, const char desc[]) {
37 this->report(desc, kFailed);
40 void assertFalse(bool cond, const char desc[]) {
42 this->report(desc, kFailed);
45 void reportFailed(const char desc[]) {
46 this->report(desc, kFailed);
48 void reportFailed(const SkString& desc) {
49 this->report(desc.c_str(), kFailed);
58 virtual void onReport(const char desc[], Result) {}
96 SkString desc; \
97 desc.printf("%s:%d: %s", __FILE__, __LINE__, #cond); \
98 r->reportFailed(desc); \