summaryrefslogtreecommitdiff
path: root/tests/TestsAutoLoader.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestsAutoLoader.php')
-rw-r--r--tests/TestsAutoLoader.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php
index 41bddfcd..42f5f68a 100644
--- a/tests/TestsAutoLoader.php
+++ b/tests/TestsAutoLoader.php
@@ -1,7 +1,7 @@
<?php
global $wgAutoloadClasses;
-$testFolder = dirname( __FILE__ );
+$testFolder = __DIR__;
$wgAutoloadClasses += array(
@@ -9,6 +9,7 @@ $wgAutoloadClasses += array(
'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
+ 'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
//includes
'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
@@ -16,7 +17,7 @@ $wgAutoloadClasses += array(
//API
'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
- 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
+ 'TestUser' => "$testFolder/phpunit/includes/TestUser.php",
'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
@@ -24,6 +25,10 @@ $wgAutoloadClasses += array(
//Selenium
'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
+ //maintenance
+ 'DumpTestCase' => "$testFolder/phpunit/maintenance/DumpTestCase.php",
+ 'BackupDumper' => "$testFolder/../maintenance/backup.inc",
+
//Generic providers
'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",
);