Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: tests/Test.h

Issue 1776693002: Add deferred texture upload API. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tests/ImageTest.cpp ('K') | « tests/ImageTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Test.h
diff --git a/tests/Test.h b/tests/Test.h
index d643c8382a168068412043f752ccb802c1c5d44c..3b965b61131f04d1d8f4d08940b9c2a1dc93fb50 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -94,11 +94,11 @@ void RunWithGPUTestContexts(T testFunction, GPUTestContexts contexts, Reporter*
} \
} while (0)
-#define REPORTER_ASSERT_MESSAGE(r, cond, message) \
- do { \
- if (!(cond)) { \
- REPORT_FAILURE(r, #cond, SkString(message)); \
- } \
+#define REPORTER_ASSERT_MESSAGE(r, cond, ...) \
+ do { \
+ if (!(cond)) { \
+ REPORT_FAILURE(r, #cond, SkStringPrintf(__VA_ARGS__)); \
+ } \
} while (0)
#define ERRORF(r, ...) \
« tests/ImageTest.cpp ('K') | « tests/ImageTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698