Index: tests/ClipCacheTest.cpp |
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp |
index 070f8eb46900ec0c780ee33a5a8db869de455896..84564c4489d9df3f6b41e45f4541186155884970 100644 |
--- a/tests/ClipCacheTest.cpp |
+++ b/tests/ClipCacheTest.cpp |
@@ -5,8 +5,8 @@ |
* found in the LICENSE file. |
*/ |
- |
#include "Test.h" |
+#include "TestClassDef.h" |
// This is a GR test |
#if SK_SUPPORT_GPU |
#include "GrContextFactory.h" |
@@ -220,8 +220,7 @@ static void test_cache(skiatest::Reporter* reporter, GrContext* context) { |
#endif |
} |
-//////////////////////////////////////////////////////////////////////////////// |
-static void TestClipCache(skiatest::Reporter* reporter, GrContextFactory* factory) { |
+DEF_GPUTEST(ClipCache, reporter, factory) { |
for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) { |
GrContextFactory::GLContextType glType = static_cast<GrContextFactory::GLContextType>(type); |
if (!GrContextFactory::IsRenderingGLContext(glType)) { |
@@ -237,8 +236,4 @@ static void TestClipCache(skiatest::Reporter* reporter, GrContextFactory* factor |
} |
} |
-//////////////////////////////////////////////////////////////////////////////// |
-#include "TestClassDef.h" |
-DEFINE_GPUTESTCLASS("ClipCache", ClipCacheTestClass, TestClipCache) |
- |
#endif |