| Index: tests/ClipperTest.cpp
|
| diff --git a/tests/ClipperTest.cpp b/tests/ClipperTest.cpp
|
| index a81e6559f90c1cf3242288cbe991209f9018c1c1..6f2e0af4f2113b7c0bddae10ad5b35506838b4b4 100644
|
| --- a/tests/ClipperTest.cpp
|
| +++ b/tests/ClipperTest.cpp
|
| @@ -1,16 +1,17 @@
|
| -
|
| /*
|
| * Copyright 2011 Google Inc.
|
| *
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file.
|
| */
|
| +
|
| #include "Test.h"
|
| -#include "SkPath.h"
|
| -#include "SkLineClipper.h"
|
| +#include "TestClassDef.h"
|
| +#include "SkCanvas.h"
|
| #include "SkEdgeClipper.h"
|
| +#include "SkLineClipper.h"
|
| +#include "SkPath.h"
|
|
|
| -#include "SkCanvas.h"
|
| static void test_hairclipping(skiatest::Reporter* reporter) {
|
| SkBitmap bm;
|
| bm.setConfig(SkBitmap::kARGB_8888_Config, 4, 4);
|
| @@ -144,11 +145,8 @@ static void test_intersectline(skiatest::Reporter* reporter) {
|
|
|
| }
|
|
|
| -static void TestClipper(skiatest::Reporter* reporter) {
|
| +DEF_TEST(Clipper, reporter) {
|
| test_intersectline(reporter);
|
| test_edgeclipper();
|
| test_hairclipping(reporter);
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS("Clipper", TestClipperClass, TestClipper)
|
|
|