From ad65a3e5fb1f94699f183551b828efbcc6a133ce Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Mon, 15 Apr 2013 19:13:59 +0000 Subject: path ops work in progress standardize tests use SK_ARRAY_COUNT everywhere debug why x87 differs from SIMD 64 various platform specific fixes git-svn-id: http://skia.googlecode.com/svn/trunk@8689 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsQuadReduceOrderTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/PathOpsQuadReduceOrderTest.cpp') diff --git a/tests/PathOpsQuadReduceOrderTest.cpp b/tests/PathOpsQuadReduceOrderTest.cpp index 64f2069e24..27cb5be6b8 100644 --- a/tests/PathOpsQuadReduceOrderTest.cpp +++ b/tests/PathOpsQuadReduceOrderTest.cpp @@ -15,7 +15,7 @@ static const SkDQuad testSet[] = { {{{1, 0}, {2, 6}, {3, 0}}} }; -static const size_t testSetCount = sizeof(testSet) / sizeof(testSet[0]); +static const size_t testSetCount = SK_ARRAY_COUNT(testSet); static void oneOffTest(skiatest::Reporter* reporter) { for (size_t index = 0; index < testSetCount; ++index) { @@ -62,10 +62,10 @@ static void standardTestCases(skiatest::Reporter* reporter) { } } -static void QuadReduceOrderTest(skiatest::Reporter* reporter) { +static void PathOpsReduceOrderQuadTest(skiatest::Reporter* reporter) { oneOffTest(reporter); standardTestCases(reporter); } #include "TestClassDef.h" -DEFINE_TESTCLASS("PathOpsReduceOrderQuad", ReduceOrderQuadTestClass, QuadReduceOrderTest) +DEFINE_TESTCLASS_SHORT(PathOpsReduceOrderQuadTest) -- cgit v1.2.3