Use an autoloader for the tests, following the ideas from r72858.
[lhc/web/wiklou.git] / tests / TestsAutoLoader.php
1 <?php
2
3 global $wgAutoloadClasses;
4 $testFolder = dirname( __FILE__ );
5
6 $wgAutoloadClasses += array(
7 'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
8 'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
9 'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php",
10 'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
11 'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
12 );
13