Index: tests/PathOpsQuadReduceOrderTest.cpp |
diff --git a/tests/PathOpsQuadReduceOrderTest.cpp b/tests/PathOpsQuadReduceOrderTest.cpp |
index 26268470424708167a84d47c362bb879626a4dc3..4c3432755fbcc323ffc266de028cb4b4733982c8 100644 |
--- a/tests/PathOpsQuadReduceOrderTest.cpp |
+++ b/tests/PathOpsQuadReduceOrderTest.cpp |
@@ -9,6 +9,7 @@ |
#include "SkPathOpsRect.h" |
#include "SkReduceOrder.h" |
#include "Test.h" |
+#include "TestClassDef.h" |
static const SkDQuad testSet[] = { |
{{{1, 1}, {2, 2}, {1, 1.000003}}}, |
@@ -62,10 +63,7 @@ static void standardTestCases(skiatest::Reporter* reporter) { |
} |
} |
-static void PathOpsReduceOrderQuadTest(skiatest::Reporter* reporter) { |
+DEF_TEST(PathOpsReduceOrderQuad, reporter) { |
oneOffTest(reporter); |
standardTestCases(reporter); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS_SHORT(PathOpsReduceOrderQuadTest) |