ladybird/Tests/LibPDF/CMakeLists.txt
Kyle Pereira 60c7ff9db1 Tests: Add a test for LibPDF pattern rendering
This is based largely on Adobe's EXAMPLE 2 on p176 of the specification,
manually edited slightly and then cleaned up with mutool.

https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf
2023-12-10 16:44:24 +01:00

25 lines
520 B
CMake

set(TEST_SOURCES
TestPDF.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibPDF LIBS LibCore LibPDF)
endforeach()
set(TEST_FILES
colorspaces.pdf
complex.pdf
encoding.pdf
encryption_nocopy.pdf
linearized.pdf
non-linearized.pdf
oss-fuzz-testcase-62065.pdf
password-is-sup.pdf
pattern.pdf
text.pdf
type1.pdf
type3.pdf
)
install(FILES ${TEST_FILES} DESTINATION home/anon/Documents/pdf)
install(FILES ${TEST_FILES} DESTINATION usr/Tests/LibPDF)