mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03:00
65b895595a
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.
24 lines
504 B
CMake
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)
|