Index: tests/StrokeTest.cpp |
diff --git a/tests/StrokeTest.cpp b/tests/StrokeTest.cpp |
index 9336bed33abef7794d0ac7ff51f4e611edd4169c..1278bd4b853c435d0b2c93b527762edf2f5875ff 100644 |
--- a/tests/StrokeTest.cpp |
+++ b/tests/StrokeTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "Test.h" |
+#include "TestClassDef.h" |
#include "SkPaint.h" |
#include "SkPath.h" |
#include "SkRect.h" |
@@ -55,9 +56,6 @@ static void test_strokerect(skiatest::Reporter* reporter) { |
} |
} |
-static void TestStroke(skiatest::Reporter* reporter) { |
+DEF_TEST(Stroke, reporter) { |
test_strokerect(reporter); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS("Stroke", TestStrokeClass, TestStroke) |