MediaWiki
REL1_19
|
Public Member Functions | |
setUp () | |
testBadIPTC () | |
Make sure a bad iptc block doesn't stop the other metadata from being extracted. | |
testIPTCDates () | |
testIPTCDatesInvalid () | |
testJpegComment () | |
Test for jpeg comments are being handled by BitmapMetadataHandler correctly. | |
testMerging () | |
XMP data should take priority over iptc data when hash has been updated, but not when the hash is wrong. | |
testMultilingualCascade () | |
Test if having conflicting metadata values from different types of metadata, that the right one takes precedence. | |
testPNGNative () | |
testPNGXMP () | |
testTiffByteOrder () |
Definition at line 2 of file BitmapMetadataHandlerTest.php.
Definition at line 4 of file BitmapMetadataHandlerTest.php.
Make sure a bad iptc block doesn't stop the other metadata from being extracted.
Definition at line 63 of file BitmapMetadataHandlerTest.php.
References BitmapMetadataHandler\Jpeg().
Definition at line 69 of file BitmapMetadataHandlerTest.php.
References BitmapMetadataHandler\Jpeg().
Definition at line 79 of file BitmapMetadataHandlerTest.php.
References BitmapMetadataHandler\Jpeg().
Test for jpeg comments are being handled by BitmapMetadataHandler correctly.
There's more extensive tests of comment extraction in JpegMetadataExtractorTests.php
Definition at line 51 of file BitmapMetadataHandlerTest.php.
References BitmapMetadataHandler\Jpeg().
XMP data should take priority over iptc data when hash has been updated, but not when the hash is wrong.
Definition at line 92 of file BitmapMetadataHandlerTest.php.
Test if having conflicting metadata values from different types of metadata, that the right one takes precedence.
Basically the file has IPTC and XMP metadata, the IPTC should override the XMP, except for the multilingual translation (to en) where XMP should win.
Definition at line 16 of file BitmapMetadataHandlerTest.php.
References $wgShowEXIF, BitmapMetadataHandler\Jpeg(), and wfDl().
Definition at line 133 of file BitmapMetadataHandlerTest.php.
References $result.
Definition at line 114 of file BitmapMetadataHandlerTest.php.
References $result, and wfDl().
Definition at line 139 of file BitmapMetadataHandlerTest.php.
References $res.