Index: tests/FontHostTest.cpp |
diff --git a/tests/FontHostTest.cpp b/tests/FontHostTest.cpp |
index a7ecc5a9dcf1578f0aff9dac360bf9665734dc7d..500f8598de09c0fef380d44b45f000ea138d73a0 100644 |
--- a/tests/FontHostTest.cpp |
+++ b/tests/FontHostTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "Test.h" |
+#include "TestClassDef.h" |
#include "SkPaint.h" |
#include "SkFontStream.h" |
#include "SkOSFile.h" |
@@ -305,13 +306,10 @@ static void test_advances(skiatest::Reporter* reporter) { |
} |
} |
-static void TestFontHost(skiatest::Reporter* reporter) { |
+DEF_TEST(FontHost, reporter) { |
test_tables(reporter); |
test_fontstream(reporter); |
test_advances(reporter); |
} |
// need tests for SkStrSearch |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS("FontHost", FontHostTestClass, TestFontHost) |