Skip to content

Passed

org.appng.tools.file.MagicByteCheckTest.testWrongExtension

Took 12 ms.

Standard Output

2022-02-03 15:38:29,981 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 0,name 'JPEG',mime 'image/jpeg',test 'EQUALS, value 65496',format 'JPEG image data': com.j256.simplemagic.entries.MagicEntry$ContentData@34c4973
2022-02-03 15:38:29,982 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 1,name ',',test 'JFIF',format ', JFIF standard': com.j256.simplemagic.entries.MagicEntry$ContentData@34c4973
2022-02-03 15:38:29,982 TRACE [main] com.j256.simp
...[truncated 11850 chars]...
 'image/png',test '‰PNG
&amp#26;
',format 'PNG image'
2022-02-03 15:38:29,990 TRACE [main] com.j256.simplemagic.entries.MagicEntries: returning full match png, type PNG, mime 'image/png', msg 'PNG image, 1600 x 843, 8-bit/color RGBA, non-interlaced'
2022-02-03 15:38:29,990 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (png) is not identical with file extension for file bmp
2022-02-03 15:38:29,990 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.001