| Index: tests/ToUnicode.cpp
|
| diff --git a/tests/ToUnicode.cpp b/tests/ToUnicode.cpp
|
| index d518432b8ad0ef4664dc2a3b0f18aac300d5898e..d6ca3da180368ec392191cadc3e13b43c6d7ab4e 100644
|
| --- a/tests/ToUnicode.cpp
|
| +++ b/tests/ToUnicode.cpp
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2010 The Android Open Source Project
|
| *
|
| @@ -6,8 +5,8 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -
|
| #include "Test.h"
|
| +#include "TestClassDef.h"
|
| #include "SkData.h"
|
| #include "SkPDFTypes.h"
|
| #include "SkPDFFont.h"
|
| @@ -32,7 +31,7 @@ void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode,
|
| uint16_t firstGlypthID,
|
| uint16_t lastGlypthID);
|
|
|
| -static void TestToUnicode(skiatest::Reporter* reporter) {
|
| +DEF_TEST(ToUnicode, reporter) {
|
| SkTDArray<SkUnichar> glyphToUnicode;
|
| SkTDArray<uint16_t> glyphsInSubset;
|
| SkPDFGlyphSet subset;
|
| @@ -180,6 +179,3 @@ endbfrange\n";
|
| REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2,
|
| buffer2.getOffset()));
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS("ToUnicode", ToUnicodeTestClass, TestToUnicode)
|
|
|