Skip to content

Passed

org.appng.tools.file.MagicByteCheckTest.testWrongExtension

Took 60 ms.

Standard Output

2022-05-18 14:16:01,852 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (png) is not identical with file extension for file jpg
2022-05-18 14:16:01,852 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.001
2022-05-18 14:16:01,853 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (jpg) is not identical with file extension for file pdf
2022-05-18 14:16:01,853 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000

...[truncated 500 chars]...
2022-05-18 14:16:01,858 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (jpg) is not identical with file extension for file png
2022-05-18 14:16:01,858 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000
2022-05-18 14:16:01,858 DEBUG [main] org.appng.tools.file.MagicByteCheck: File type detected by magic byte (jpg) is not identical with file extension for file gif
2022-05-18 14:16:01,858 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000