MediaWiki  REL1_19
BitmapMetadataHandlerTest Class Reference
Inheritance diagram for BitmapMetadataHandlerTest:
Collaboration diagram for BitmapMetadataHandlerTest:

List of all members.

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 ()

Detailed Description

Definition at line 2 of file BitmapMetadataHandlerTest.php.


Member Function Documentation

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().

Here is the call graph for this function:

Definition at line 69 of file BitmapMetadataHandlerTest.php.

References BitmapMetadataHandler\Jpeg().

Here is the call graph for this function:

Definition at line 79 of file BitmapMetadataHandlerTest.php.

References BitmapMetadataHandler\Jpeg().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Definition at line 114 of file BitmapMetadataHandlerTest.php.

References $result, and wfDl().

Here is the call graph for this function:


The documentation for this class was generated from the following file: