Allow cleanupSpam.php optionally delete offending pages
[mediawiki.git] / tests / TestsAutoLoader.php
blob3125284d23f8515a3331f12c458eed9e9aaf38c8
1 <?php
3 global $wgAutoloadClasses;
4 $testFolder = dirname( __FILE__ );
6 $wgAutoloadClasses += array(
8 //PHPUnit
9 'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
10 'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
11 'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
12 'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
14 //includes
15 'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
16 'MockOutputPage' => "$testFolder/phpunit/includes/MockOutputPage.php",
18 //API
19 'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
20 'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
21 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
22 'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
23 'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
24 'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
26 //Selenium
27 'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
29 //maintenance
30 'DumpTestCase' => "$testFolder/phpunit/maintenance/DumpTestCase.php",
31 'BackupDumper' => "$testFolder/../maintenance/backup.inc",
33 //Generic providers
34 'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",