mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 4107c2985e
			
		
	
	
		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)
 |