| Index: tests/PDFPrimitivesTest.cpp
|
| diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
|
| index 0d623a13bb6b0a01e8ef1a3412e1dcc1822b87a5..9b9569d3675c9a70d8cc5761e2a577354c653c2c 100644
|
| --- a/tests/PDFPrimitivesTest.cpp
|
| +++ b/tests/PDFPrimitivesTest.cpp
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2010 The Android Open Source Project
|
| *
|
| @@ -7,6 +6,7 @@
|
| */
|
|
|
| #include "Test.h"
|
| +#include "TestClassDef.h"
|
| #include "SkBitmap.h"
|
| #include "SkCanvas.h"
|
| #include "SkData.h"
|
| @@ -346,7 +346,7 @@ static void test_issue1083() {
|
| doc.emitPDF(&stream);
|
| }
|
|
|
| -static void TestPDFPrimitives(skiatest::Reporter* reporter) {
|
| +DEF_TEST(PDFPrimitives, reporter) {
|
| SkAutoTUnref<SkPDFInt> int42(new SkPDFInt(42));
|
| SimpleCheckObjectOutput(reporter, int42.get(), "42");
|
|
|
| @@ -432,6 +432,3 @@ static void TestPDFPrimitives(skiatest::Reporter* reporter) {
|
|
|
| TestImages(reporter);
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS("PDFPrimitives", PDFPrimitivesTestClass, TestPDFPrimitives)
|
|
|