Skip to content

Passed

org.appng.tools.file.MagicByteCheckTest.testWrongExtension

Took 37 ms.

Standard Output

2022-05-18 14:33:37,106 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:33:37,106 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.009
2022-05-18 14:33:37,106 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:33:37,106 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000

...[truncated 500 chars]...
2022-05-18 14:33:37,110 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:33:37,110 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000
2022-05-18 14:33:37,110 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:33:37,110 TRACE [main] org.appng.tools.file.MagicByteCheck: 00:00:00.000