Index: tests/PathOpsOpTest.cpp |
diff --git a/tests/PathOpsOpTest.cpp b/tests/PathOpsOpTest.cpp |
index e083ac57ae83e929b89a761b25bdcf7feed85ced..7e301418625e98d4011fec42fead5810ef2323e1 100644 |
--- a/tests/PathOpsOpTest.cpp |
+++ b/tests/PathOpsOpTest.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
#include "PathOpsExtendedTest.h" |
+#include "TestClassDef.h" |
#define TEST(name) { name, #name } |
@@ -3285,7 +3286,7 @@ static bool runSubTestsFirst = false; |
static bool runReverse = false; |
static void (*stopTest)(skiatest::Reporter* ) = 0; |
-static void PathOpsOpTest(skiatest::Reporter* reporter) { |
+DEF_TEST(PathOpsOp, reporter) { |
#ifdef SK_DEBUG |
SkPathOpsDebug::gMaxWindSum = 4; |
SkPathOpsDebug::gMaxWindValue = 4; |
@@ -3305,6 +3306,3 @@ static void PathOpsOpTest(skiatest::Reporter* reporter) { |
SkPathOpsDebug::gMaxWindValue = SK_MaxS32; |
#endif |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS_SHORT(PathOpsOpTest) |