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

List of all members.

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)

Detailed Description

Definition at line 2 of file GIFTest.php.


Member Function Documentation

GIFHandlerTest::dataFile ( name,
type 
) [private]

Definition at line 94 of file GIFTest.php.

Referenced by testGetImageArea(), testGetMetadata(), and testIsAnimanted().

Here is the caller graph for this function:

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 4 of file GIFTest.php.

GIFHandlerTest::testGetImageArea ( filename,
expected 
)
Parameters:
$filenameString
$expectedInteger Total image area dataGetImageArea

Definition at line 45 of file GIFTest.php.

References $file, and dataFile().

Here is the call graph for this function:

GIFHandlerTest::testGetMetadata ( filename,
expected 
)
Parameters:
$filenameString
$expectedString Serialized array dataGetMetadata

Definition at line 81 of file GIFTest.php.

References $file, and dataFile().

Here is the call graph for this function:

Definition at line 19 of file GIFTest.php.

References $res, and GIFHandler\BROKEN_FILE.

GIFHandlerTest::testIsAnimanted ( filename,
expected 
)
Parameters:
$filenameString basename of the file to check
$expectedboolean Expected result. dataIsAnimated

Definition at line 28 of file GIFTest.php.

References $file, and dataFile().

Here is the call graph for this function:

GIFHandlerTest::testIsMetadataValid ( metadata,
expected 
)
Parameters:
$metadataString Serialized metadata
$expectedInteger One of the class constants of GIFHandler dataIsMetadataValid

Definition at line 62 of file GIFTest.php.


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