MediaWiki  1.23.2
SpecialListFilesTest.php
Go to the documentation of this file.
1 <?php
17  public function testFormatValuesThrowException() {
18  $page = new ImageListPager( RequestContext::getMain() );
19  $page->formatValue( 'invalid_field', 'invalid_value' );
20  }
21 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
MediaWikiTestCase
Definition: MediaWikiTestCase.php:6
SpecialListFilesTest
Test class for SpecialListFiles class.
Definition: SpecialListFilesTest.php:11
RequestContext\getMain
static getMain()
Static methods.
Definition: RequestContext.php:420
ImageListPager
Definition: SpecialListfiles.php:70
SpecialListFilesTest\testFormatValuesThrowException
testFormatValuesThrowException()
@expectedException MWException @expectedExceptionMesage invalid_field @covers ImageListPager::formatV...
Definition: SpecialListFilesTest.php:17