MediaWiki
REL1_30
ImageListPagerTest.php
Go to the documentation of this file.
1
<?php
12
class
ImageListPagerTest
extends
MediaWikiTestCase
{
18
public
function
testFormatValuesThrowException
() {
19
$page =
new
ImageListPager
(
RequestContext::getMain
() );
20
$page->formatValue(
'invalid_field'
,
'invalid_value'
);
21
}
22
}
ImageListPagerTest
Test class for ImageListPagerTest class.
Definition
ImageListPagerTest.php:12
ImageListPagerTest\testFormatValuesThrowException
testFormatValuesThrowException()
MWException invalid_field ImageListPager::formatValue.
Definition
ImageListPagerTest.php:18
ImageListPager
Definition
ImageListPager.php:29
MediaWikiTestCase
Definition
MediaWikiTestCase.php:15
RequestContext\getMain
static getMain()
Static methods.
Definition
RequestContext.php:470
tests
phpunit
includes
specials
ImageListPagerTest.php
Generated on Mon Nov 25 2024 15:43:59 for MediaWiki by
1.10.0