blob: 41bddfcd851c2c36ba2be59a4c2c8f937ca97b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
global $wgAutoloadClasses;
$testFolder = dirname( __FILE__ );
$wgAutoloadClasses += array(
//PHPUnit
'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
//includes
'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
//API
'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
//Selenium
'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
//Generic providers
'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",
);
|