mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	Tests: Copy webp ICC test inputs into test-inputs/icc
Two files are used both as test inputs for the webp decoder test and for the icc profile test. Use redundant copies of these two files for the two usecases, since different parts of the files are used in both tests (and we could remove the unneeded parts later).
This commit is contained in:
		
							parent
							
								
									1ea99097aa
								
							
						
					
					
						commit
						df0a82668b
					
				
					 3 changed files with 2 additions and 2 deletions
				
			
		|  | @ -46,7 +46,7 @@ TEST_CASE(jpg) | |||
| 
 | ||||
| TEST_CASE(webp_extended_lossless) | ||||
| { | ||||
|     auto file = MUST(Core::MappedFile::map(TEST_INPUT("webp/extended-lossless.webp"sv))); | ||||
|     auto file = MUST(Core::MappedFile::map(TEST_INPUT("icc/extended-lossless.webp"sv))); | ||||
|     auto webp = MUST(Gfx::WebPImageDecoderPlugin::create(file->bytes())); | ||||
|     MUST(webp->initialize()); | ||||
|     auto icc_bytes = MUST(webp->icc_data()); | ||||
|  | @ -58,7 +58,7 @@ TEST_CASE(webp_extended_lossless) | |||
| 
 | ||||
| TEST_CASE(webp_extended_lossy) | ||||
| { | ||||
|     auto file = MUST(Core::MappedFile::map(TEST_INPUT("webp/extended-lossy.webp"sv))); | ||||
|     auto file = MUST(Core::MappedFile::map(TEST_INPUT("icc/extended-lossy.webp"sv))); | ||||
|     auto webp = MUST(Gfx::WebPImageDecoderPlugin::create(file->bytes())); | ||||
|     MUST(webp->initialize()); | ||||
|     auto icc_bytes = MUST(webp->icc_data()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nico Weber
						Nico Weber