MediaWiki  REL1_19
TestsAutoLoader.php
Go to the documentation of this file.
00001 <?php
00002 
00003 global $wgAutoloadClasses;
00004 $testFolder = dirname( __FILE__ );
00005 
00006 $wgAutoloadClasses += array(
00007 
00008         //PHPUnit
00009         'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
00010         'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
00011         'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
00012 
00013         //includes
00014         'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
00015 
00016         //API
00017         'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
00018         'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
00019         'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
00020         'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
00021         'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
00022         'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
00023 
00024         //Selenium
00025         'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
00026 
00027         //Generic providers
00028         'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",
00029 );
00030