MediaWiki
master
|
Media. More...
Public Member Functions | |
testFitBoxWidth ( $width, $height, $max, $expected) | |
MediaHandler::fitBoxWidth. More... | |
Static Public Member Functions | |
static | provideTestFitBoxWidth () |
Static Private Member Functions | |
static | generateTestFitBoxWidthData ( $width, $height, $tests) |
Generate single test cases by combining the dimensions and tests contents. More... | |
Additional Inherited Members | |
![]() | |
setUp () | |
tearDown () | |
Media.
Definition at line 6 of file MediaHandlerTest.php.
|
staticprivate |
Generate single test cases by combining the dimensions and tests contents.
It creates: [$width, $height, $max, $expected], [$width, $height, $max2, $expected2], ... out of parameters: $width, $height, { $max => $expected, $max2 => $expected2, ... }
int | $width | |
int | $height | |
array | $tests | associative array of $max => $expected values |
Definition at line 61 of file MediaHandlerTest.php.
References as.
|
static |
Definition at line 22 of file MediaHandlerTest.php.
MediaHandlerTest::testFitBoxWidth | ( | $width, | |
$height, | |||
$max, | |||
$expected | |||
) |
provideTestFitBoxWidth
Definition at line 13 of file MediaHandlerTest.php.
References MediaHandler\fitBoxWidth().