MediaWiki
REL1_19
|
Public Member Functions | |
dataGetImageArea () | |
dataGetMetadata () | |
dataIsAnimated () | |
dataIsMetadataValid () | |
setUp () | |
testGetImageArea ($filename, $expected) | |
testGetMetadata ($filename, $expected) | |
testInvalidFile () | |
testIsAnimanted ($filename, $expected) | |
testIsMetadataValid ($metadata, $expected) | |
Private Member Functions | |
dataFile ($name, $type) |
Definition at line 2 of file GIFTest.php.
GIFHandlerTest::dataFile | ( | $ | name, |
$ | type | ||
) | [private] |
Definition at line 94 of file GIFTest.php.
Referenced by testGetImageArea(), testGetMetadata(), and testIsAnimanted().
Definition at line 50 of file GIFTest.php.
Definition at line 87 of file GIFTest.php.
Definition at line 33 of file GIFTest.php.
Definition at line 66 of file GIFTest.php.
References GIFHandler\BROKEN_FILE, MediaHandler\METADATA_BAD, and MediaHandler\METADATA_GOOD.
Definition at line 4 of file GIFTest.php.
GIFHandlerTest::testGetImageArea | ( | $ | filename, |
$ | expected | ||
) |
$filename | String |
$expected | Integer Total image area dataGetImageArea |
Definition at line 45 of file GIFTest.php.
References $file, and dataFile().
GIFHandlerTest::testGetMetadata | ( | $ | filename, |
$ | expected | ||
) |
$filename | String |
$expected | String Serialized array dataGetMetadata |
Definition at line 81 of file GIFTest.php.
References $file, and dataFile().
Definition at line 19 of file GIFTest.php.
References $res, and GIFHandler\BROKEN_FILE.
GIFHandlerTest::testIsAnimanted | ( | $ | filename, |
$ | expected | ||
) |
$filename | String basename of the file to check |
$expected | boolean Expected result. dataIsAnimated |
Definition at line 28 of file GIFTest.php.
References $file, and dataFile().
GIFHandlerTest::testIsMetadataValid | ( | $ | metadata, |
$ | expected | ||
) |
$metadata | String Serialized metadata |
$expected | Integer One of the class constants of GIFHandler dataIsMetadataValid |
Definition at line 62 of file GIFTest.php.