ladybird/Tests/LibPDF/CMakeLists.txt
Nico Weber 65b895595a LibPDF: Add an encoding test file
For now, this uses UTF-16BE and UTF-8 marked strings in page body text.
These markings should be ignored in body text.

Hand-written, with `set fenc=latin1` and `set binary` in vim, and
xref etc fixed up by running

    mutool clean Tests/LibPDF/encoding.pdf  Tests/LibPDF/encoding.pdf

as usual.
2023-11-22 09:08:06 -07:00

24 lines
504 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
text.pdf
type1.pdf
type3.pdf
)
install(FILES ${TEST_FILES} DESTINATION home/anon/Documents/pdf)
install(FILES ${TEST_FILES} DESTINATION usr/Tests/LibPDF)