ResourcesTest.php

Go to the documentation of this file.
00001 <?php
00011 class ResourcesTest extends MediaWikiTestCase {
00012     public function testAlphabeticalOrder() {
00013         require __DIR__ . '/../../Resources.php';
00014 
00015         $sorted = $wgResourceModules;
00016         ksort( $sorted );
00017 
00018         $this->assertEquals(
00019             array_keys( $sorted ),
00020             array_keys( $wgResourceModules ),
00021             "Modules are defined in alphabetical order."
00022         );
00023     }
00024 }
Generated on Tue Oct 29 00:00:24 2013 for MediaWiki Translate Extension by  doxygen 1.6.3