MediaWiki
REL1_31
ImageListPagerTest.php
Go to the documentation of this file.
1
<?php
11
class
ImageListPagerTest
extends
MediaWikiTestCase
{
17
public
function
testFormatValuesThrowException
() {
18
$page =
new
ImageListPager
(
RequestContext::getMain
() );
19
$page->formatValue(
'invalid_field'
,
'invalid_value'
);
20
}
21
}
ImageListPagerTest
Test class for ImageListPagerTest class.
Definition
ImageListPagerTest.php:11
ImageListPagerTest\testFormatValuesThrowException
testFormatValuesThrowException()
MWException invalid_field ImageListPager::formatValue.
Definition
ImageListPagerTest.php:17
ImageListPager
Definition
ImageListPager.php:29
MediaWikiTestCase
Definition
MediaWikiTestCase.php:17
RequestContext\getMain
static getMain()
Get the RequestContext object associated with the main request.
Definition
RequestContext.php:434
tests
phpunit
includes
specials
ImageListPagerTest.php
Generated on Mon Nov 25 2024 15:36:36 for MediaWiki by
1.10.0