| Index: tests/PathUtilsTest.cpp
|
| diff --git a/tests/PathUtilsTest.cpp b/tests/PathUtilsTest.cpp
|
| index fad5cae0bb0e02984d279047bcdcaf47f646c57c..a147487cfc11ed2b1aebec559d6d3206f041a495 100644
|
| --- a/tests/PathUtilsTest.cpp
|
| +++ b/tests/PathUtilsTest.cpp
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2013 Google Inc.
|
| *
|
| @@ -6,13 +5,13 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "SkPathUtils.h"
|
| -
|
| +#include "Test.h"
|
| +#include "TestClassDef.h"
|
| #include "SkBitmap.h"
|
| #include "SkCanvas.h"
|
| +#include "SkPathUtils.h"
|
| #include "SkRandom.h"
|
| #include "SkTime.h"
|
| -#include "Test.h"
|
|
|
| const int kNumIt = 100;
|
|
|
| @@ -130,7 +129,7 @@ static void test_region(skiatest::Reporter* reporter, const SkBitmap* truth,
|
| test_path_eq(reporter, &path, truth, w, h);
|
| }
|
|
|
| -static void TestPathUtils(skiatest::Reporter* reporter) {
|
| +DEF_TEST(PathUtils, reporter) {
|
| const int w[] = {4, 8, 12, 16};
|
| const int h = 8, rowBytes = 4;
|
|
|
| @@ -154,6 +153,3 @@ static void TestPathUtils(skiatest::Reporter* reporter) {
|
| }
|
| }
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS("PathUtils", PathUtils, TestPathUtils)
|
|
|