MediaWiki
REL1_21
|
Public Member Functions | |
testExtendedXMP () | |
Test ExtendedXMP block support. | |
testExtendedXMPMissingPacket () | |
Have a high offset to simulate a missing packet, which should cause it to ignore the ExtendedXMP packet. | |
testExtendedXMPWithWrongGUID () | |
This test has an extended XMP block with a wrong guid (md5sum) and thus should only return the StandardXMP, not the ExtendedXMP. | |
testXMPParse ($xmp, $expected, $info) | |
Put XMP in, compare what comes out... | |
Static Public Member Functions | |
static | provideXMPParse () |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. |
Definition at line 2 of file XMPTest.php.
static XMPTest::provideXMPParse | ( | ) | [static] |
XMPTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 4 of file XMPTest.php.
References wfDl().
Test ExtendedXMP block support.
(Used when the XMP has to be split over multiple jpeg segments, due to 64k size limit on jpeg segments.
Definition at line 77 of file XMPTest.php.
References array().
Have a high offset to simulate a missing packet, which should cause it to ignore the ExtendedXMP packet.
Definition at line 136 of file XMPTest.php.
References array().
This test has an extended XMP block with a wrong guid (md5sum) and thus should only return the StandardXMP, not the ExtendedXMP.
Definition at line 107 of file XMPTest.php.
References array().
XMPTest::testXMPParse | ( | $ | xmp, |
$ | expected, | ||
$ | info | ||
) |
Put XMP in, compare what comes out...
$xmp | String the actual xml data. |
$expected | Array expected result of parsing the xmp. |
$info | String Short sentence on what's being tested. |
provideXMPParse
Definition at line 20 of file XMPTest.php.
References XMPReader\parse().