| Index: tests/PathOpsQuadLineIntersectionTest.cpp
|
| diff --git a/tests/PathOpsQuadLineIntersectionTest.cpp b/tests/PathOpsQuadLineIntersectionTest.cpp
|
| index 775643fa06d51d3ab31cf40550a688cec0a04647..e4235d1a40defc428dc7a001b58fed33c9b640b3 100644
|
| --- a/tests/PathOpsQuadLineIntersectionTest.cpp
|
| +++ b/tests/PathOpsQuadLineIntersectionTest.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "SkPathOpsQuad.h"
|
| #include "SkReduceOrder.h"
|
| #include "Test.h"
|
| +#include "TestClassDef.h"
|
|
|
| static struct lineQuad {
|
| SkDQuad quad;
|
| @@ -97,11 +98,11 @@ static void testOneOffs(skiatest::Reporter* reporter) {
|
| }
|
| }
|
|
|
| -static void PathOpsQuadLineIntersectionOneOffTest(skiatest::Reporter* reporter) {
|
| +DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) {
|
| testOneOffs(reporter);
|
| }
|
|
|
| -static void PathOpsQuadLineIntersectionTest(skiatest::Reporter* reporter) {
|
| +DEF_TEST(PathOpsQuadLineIntersection, reporter) {
|
| for (size_t index = 0; index < lineQuadTests_count; ++index) {
|
| int iIndex = static_cast<int>(index);
|
| const SkDQuad& quad = lineQuadTests[index].quad;
|
| @@ -147,8 +148,3 @@ static void PathOpsQuadLineIntersectionTest(skiatest::Reporter* reporter) {
|
| }
|
| }
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS_SHORT(PathOpsQuadLineIntersectionTest)
|
| -
|
| -DEFINE_TESTCLASS_SHORT(PathOpsQuadLineIntersectionOneOffTest)
|
|
|