Skip to content

Passed

org.appng.tools.file.MagicByteCheckTest.testWrongExtension

Took 19 ms.

Standard Output

2022-07-18 14:52:33,810 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 0,name 'PNG',mime 'image/png',test '‰PNG
&amp#26;
',format 'PNG image': com.j256.simplemagic.entries.MagicEntry$ContentData@23d2a7e8
2022-07-18 14:52:33,810 TRACE [main] com.j256.simplemagic.entries.MagicEntry: matched data: level 1,name ',',format ', %ld x': com.j256.simplemagic.entries.MagicEntry$ContentData@23d2a7e8
2022-07-18 14:52:33,810 TRACE [main] com.j256.simplemagic.entries.MagicEntry: mat
...[truncated 11876 chars]...
format 'JPEG image data'
2022-07-18 14:52:33,829 TRACE [main] com.j256.simplemagic.entries.MagicEntries: returning full match jpeg, type JPEG, mime 'image/jpeg', msg 'JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16'
2022-07-18 14:52:33,829 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (jpg) is not identical with file extension for file gif
2022-07-18 14:52:33,830 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000