Adjust tests for JPEG segmentation fix
authorBrion Vibber <brion@pobox.com>
Fri, 23 Feb 2018 09:42:10 +0000 (09:42 +0000)
committerBrion Vibber <brion@pobox.com>
Fri, 23 Feb 2018 12:29:35 +0000 (12:29 +0000)
commit323aa0293343fbd98de5319dda102be0231516a7
tree6d06487fbf3284f8b8c51f492cd44780362a9221
parent0c712ce564e0bd53e28f2581a714ee8cd04b614c
Adjust tests for JPEG segmentation fix

Added a second test case truncated in a different place, and
added some clarifying comments.

Change-Id: I7b8e5296a203264b7e7e428f82c8c948242a1272
includes/media/JpegMetadataExtractor.php
tests/phpunit/data/media/jpeg-segment-loop1.jpg [new file with mode: 0644]
tests/phpunit/data/media/jpeg-segment-loop2.jpg [new file with mode: 0644]
tests/phpunit/data/media/jpeg-xmp-loop.jpg [deleted file]
tests/phpunit/includes/media/JpegMetadataExtractorTest.php