2011-01-01 22:04:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
global $wgAutoloadClasses;
|
|
|
|
|
$testFolder = dirname( __FILE__ );
|
|
|
|
|
|
|
|
|
|
$wgAutoloadClasses += array(
|
2011-01-01 22:16:54 +00:00
|
|
|
|
|
|
|
|
//PHPUnit
|
2011-01-01 22:04:14 +00:00
|
|
|
'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
|
|
|
|
|
'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
|
2011-05-04 11:46:28 +00:00
|
|
|
'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
|
2012-02-16 02:44:31 +00:00
|
|
|
'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
|
2011-06-07 21:30:02 +00:00
|
|
|
|
|
|
|
|
//includes
|
|
|
|
|
'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
|
|
|
|
|
|
|
|
|
|
//API
|
2011-07-01 16:34:02 +00:00
|
|
|
'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
|
2011-06-07 21:30:02 +00:00
|
|
|
'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
|
|
|
|
|
'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
|
2011-07-01 16:34:02 +00:00
|
|
|
'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
|
2011-06-07 21:30:02 +00:00
|
|
|
'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
|
2011-07-01 16:34:02 +00:00
|
|
|
'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
|
2011-06-07 21:30:02 +00:00
|
|
|
|
2011-01-01 22:16:54 +00:00
|
|
|
//Selenium
|
2011-01-01 22:04:14 +00:00
|
|
|
'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
|
2011-02-06 21:28:57 +00:00
|
|
|
|
|
|
|
|
//Generic providers
|
|
|
|
|
'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",
|
2011-01-01 22:04:14 +00:00
|
|
|
);
|
|
|
|
|
|