| Index: tests/PathOpsCubicQuadIntersectionTest.cpp
|
| diff --git a/tests/PathOpsCubicQuadIntersectionTest.cpp b/tests/PathOpsCubicQuadIntersectionTest.cpp
|
| index ce54b95ecf5d0c1128f1a058e697d5f00b2ebba4..7fca3c3e7ed78a2db9be465c0a05fe6f3caa1888 100644
|
| --- a/tests/PathOpsCubicQuadIntersectionTest.cpp
|
| +++ b/tests/PathOpsCubicQuadIntersectionTest.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "SkPathOpsQuad.h"
|
| #include "SkReduceOrder.h"
|
| #include "Test.h"
|
| +#include "TestClassDef.h"
|
|
|
| static struct lineCubic {
|
| SkDCubic cubic;
|
| @@ -50,7 +51,7 @@ static struct lineCubic {
|
|
|
| static const size_t quadCubicTests_count = SK_ARRAY_COUNT(quadCubicTests);
|
|
|
| -static void PathOpsCubicQuadIntersectionTest(skiatest::Reporter* reporter) {
|
| +DEF_TEST(PathOpsCubicQuadIntersection, reporter) {
|
| for (size_t index = 0; index < quadCubicTests_count; ++index) {
|
| int iIndex = static_cast<int>(index);
|
| const SkDCubic& cubic = quadCubicTests[index].cubic;
|
| @@ -95,6 +96,3 @@ static void PathOpsCubicQuadIntersectionTest(skiatest::Reporter* reporter) {
|
| reporter->bumpTestCount();
|
| }
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS_SHORT(PathOpsCubicQuadIntersectionTest)
|
|
|