Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index 06ecff6281956be37b4b39d1aeba1c0ad4b3f36f..bea3ea5ab8961ab162447554e6cdf99061e1bf85 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "Test.h" |
+#include "TestClassDef.h" |
#include "SkCanvas.h" |
#include "SkPaint.h" |
#include "SkPath.h" |
@@ -3179,7 +3180,7 @@ public: |
} |
}; |
-static void TestPath(skiatest::Reporter* reporter) { |
+DEF_TEST(Path, reporter) { |
SkTSize<SkScalar>::Make(3,4); |
SkPath p, empty; |
@@ -3298,6 +3299,3 @@ static void TestPath(skiatest::Reporter* reporter) { |
test_contains(reporter); |
PathTest_Private::TestPathTo(reporter); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS("Path", PathTestClass, TestPath) |