mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
4107c2985e
Having some rendering test coverage is motivated by #22362, but this test wouldn't have found the crashes over there (since colorspaces.pdf does not contain pattern color spaces). Still, good to have some in-repo test coverage of PDF rendering.
24 lines
527 B
CMake
24 lines
527 B
CMake
set(TEST_SOURCES
|
|
TestPDF.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibPDF LIBS LibCore LibGfx 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)
|