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

Unified Diff: tests/TestClassDef.h

Issue 13116018: Adding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas::clear (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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
« no previous file with comments | « tests/SurfaceTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/TestClassDef.h
===================================================================
--- tests/TestClassDef.h (revision 8410)
+++ tests/TestClassDef.h (working copy)
@@ -26,7 +26,7 @@
virtual void onGetName(SkString* name) SK_OVERRIDE { name->set(uiname); } \
virtual void onRun(Reporter* reporter) SK_OVERRIDE { function(reporter); } \
}; \
- static TestRegistry gReg(classname::Factory); \
+ static TestRegistry gReg_##classname(classname::Factory); \
}
#define DEFINE_GPUTESTCLASS(uiname, classname, function) \
@@ -40,5 +40,5 @@
function(reporter, GetGrContextFactory()); \
} \
}; \
- static TestRegistry gReg(classname::Factory); \
+ static TestRegistry gReg_##classname(classname::Factory); \
}
« no previous file with comments | « tests/SurfaceTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698