MediaWiki
REL1_24
|
Public Member Functions | |
getImagePage ($filename) | |
providerGetDisplayWidthHeight () | |
providerGetThumbSizes () | |
setUp () | |
testGetDisplayWidthHeight ($dim, $expected) | |
providerGetDisplayWidthHeight | |
testGetThumbSizes ($filename, $expectedNumberThumbs) | |
providerGetThumbSizes |
Definition at line 2 of file ImagePageTest.php.
ImagePageTest::getImagePage | ( | $ | filename | ) |
Definition at line 15 of file ImagePageTest.php.
References $file, $title, MediaWikiMediaTestCase\dataFile(), and Title\makeTitleSafe().
Referenced by testGetDisplayWidthHeight(), and testGetThumbSizes().
Definition at line 38 of file ImagePageTest.php.
References array().
Definition at line 82 of file ImagePageTest.php.
References array().
Reimplemented from MediaWikiMediaTestCase.
Definition at line 4 of file ImagePageTest.php.
References array(), and MediaWikiTestCase\setMwGlobals().
ImagePageTest::testGetDisplayWidthHeight | ( | $ | dim, |
$ | expected | ||
) |
providerGetDisplayWidthHeight
array | $dim | Array [maxWidth, maxHeight, width, height] |
array | $expected | Array [width, height] The width and height we expect to display at |
Definition at line 28 of file ImagePageTest.php.
References getImagePage().
ImagePageTest::testGetThumbSizes | ( | $ | filename, |
$ | expectedNumberThumbs | ||
) |
providerGetThumbSizes
string | $filename | |
int | $expectedNumberThumbs | How many thumbnails to show |
Definition at line 72 of file ImagePageTest.php.
References getImagePage().