diff options
Diffstat (limited to 'tests/PathOpsOpTest.cpp')
-rw-r--r-- | tests/PathOpsOpTest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/PathOpsOpTest.cpp b/tests/PathOpsOpTest.cpp index e083ac57ae..7e30141862 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) |