Index: tests/GpuDrawPathTest.cpp |
diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp |
index fa844d05b809a4e5145125d5cfa171ff3df04868..f2a321f756f3baa854bd0bf997652d4ed39f0650 100644 |
--- a/tests/GpuDrawPathTest.cpp |
+++ b/tests/GpuDrawPathTest.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2013 Google Inc. |
* |
@@ -18,9 +17,9 @@ |
#include "SkRect.h" |
#include "SkRRect.h" |
#include "Test.h" |
+#include "TestClassDef.h" |
-static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) |
-{ |
+static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) { |
// Filling an empty path should not crash. |
SkPaint paint; |
canvas->drawRect(SkRect(), paint); |
@@ -43,7 +42,7 @@ static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) |
} |
-static void TestGpuDrawPath(skiatest::Reporter* reporter, GrContextFactory* factory) { |
+DEF_GPUTEST(GpuDrawPath, reporter, factory) { |
return; |
for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) { |
@@ -74,7 +73,4 @@ static void TestGpuDrawPath(skiatest::Reporter* reporter, GrContextFactory* fact |
} |
} |
-#include "TestClassDef.h" |
-DEFINE_GPUTESTCLASS("GpuDrawPath", TestGpuDrawPathClass, TestGpuDrawPath) |
- |
#endif |