Index: tests/PDFDocumentTest.cpp |
diff --git a/tests/DocumentTest.cpp b/tests/PDFDocumentTest.cpp |
similarity index 98% |
rename from tests/DocumentTest.cpp |
rename to tests/PDFDocumentTest.cpp |
index 5bd6ba6a0367200cc9782bf6fdd565e4c5174485..f9fcdff6a2b8d1e906cd59c6c6482351539c4a41 100644 |
--- a/tests/DocumentTest.cpp |
+++ b/tests/PDFDocumentTest.cpp |
@@ -10,7 +10,6 @@ |
#include "SkDocument.h" |
#include "SkOSFile.h" |
#include "SkStream.h" |
-#if SK_SUPPORT_PDF |
static void test_empty(skiatest::Reporter* reporter) { |
SkDynamicMemoryWStream stream; |
@@ -104,10 +103,10 @@ static void test_close(skiatest::Reporter* reporter) { |
} |
DEF_TEST(document_tests, reporter) { |
+ REQUIRE_PDF_DOCUMENT(document_tests, reporter); |
test_empty(reporter); |
test_abort(reporter); |
test_abortWithFile(reporter); |
test_file(reporter); |
test_close(reporter); |
} |
-#endif // SK_SUPPORT_PDF |