Index: tests/PathOpsSimplifyQuadThreadedTest.cpp |
diff --git a/tests/PathOpsSimplifyQuadThreadedTest.cpp b/tests/PathOpsSimplifyQuadThreadedTest.cpp |
index d1e0dac4d3c9caa7754784ca4729536162b16f5a..e33333a9e58da163faec81413b5bb74ae69711e1 100644 |
--- a/tests/PathOpsSimplifyQuadThreadedTest.cpp |
+++ b/tests/PathOpsSimplifyQuadThreadedTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "PathOpsExtendedTest.h" |
#include "PathOpsThreadedCommon.h" |
+#include "TestClassDef.h" |
static void testSimplifyQuadsMain(PathOpsThreadState* data) |
{ |
@@ -73,8 +74,7 @@ static void testSimplifyQuadsMain(PathOpsThreadState* data) |
} |
} |
-static void PathOpsSimplifyQuadsThreadedTest(skiatest::Reporter* reporter) |
-{ |
+DEF_TEST(PathOpsSimplifyQuadsThreaded, reporter) { |
int threadCount = initializeTests(reporter, "testQuads"); |
PathOpsThreadedTestRunner testRunner(reporter, threadCount); |
int a = 0; |
@@ -92,6 +92,3 @@ static void PathOpsSimplifyQuadsThreadedTest(skiatest::Reporter* reporter) |
finish: |
testRunner.render(); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS_SHORT(PathOpsSimplifyQuadsThreadedTest) |