mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 65b895595a
			
		
	
	
		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.
		
	
			
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			504 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			23 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)
 |