MediaWiki
master
|
00001 <?php 00024 global $wgAutoloadClasses; 00025 $testDir = __DIR__; 00026 00027 $wgAutoloadClasses += array( 00028 00029 # tests 00030 'DbTestPreviewer' => "$testDir/testHelpers.inc", 00031 'DbTestRecorder' => "$testDir/testHelpers.inc", 00032 'DelayedParserTest' => "$testDir/testHelpers.inc", 00033 'TestFileIterator' => "$testDir/testHelpers.inc", 00034 'TestRecorder' => "$testDir/testHelpers.inc", 00035 00036 # tests/phpunit 00037 'MediaWikiTestCase' => "$testDir/phpunit/MediaWikiTestCase.php", 00038 'MediaWikiPHPUnitCommand' => "$testDir/phpunit/MediaWikiPHPUnitCommand.php", 00039 'MediaWikiLangTestCase' => "$testDir/phpunit/MediaWikiLangTestCase.php", 00040 'MediaWikiProvide' => "$testDir/phpunit/includes/Providers.php", 00041 'TestUser' => "$testDir/phpunit/includes/TestUser.php", 00042 00043 # tests/phpunit/includes 00044 'BlockTest' => "$testDir/phpunit/includes/BlockTest.php", 00045 'RevisionStorageTest' => "$testDir/phpunit/includes/RevisionStorageTest.php", 00046 'WikiPageTest' => "$testDir/phpunit/includes/WikiPageTest.php", 00047 00048 //db 00049 'ORMTableTest' => "$testDir/phpunit/includes/db/ORMTableTest.php", 00050 00051 //Selenium 00052 'SeleniumTestConstants' => "$testDir/selenium/SeleniumTestConstants.php", 00053 00054 # tests/phpunit/includes/api 00055 'ApiFormatTestBase' => "$testDir/phpunit/includes/api/format/ApiFormatTestBase.php", 00056 'ApiTestCase' => "$testDir/phpunit/includes/api/ApiTestCase.php", 00057 'ApiTestContext' => "$testDir/phpunit/includes/api/ApiTestCase.php", 00058 'MockApi' => "$testDir/phpunit/includes/api/ApiTestCase.php", 00059 'RandomImageGenerator' => "$testDir/phpunit/includes/api/RandomImageGenerator.php", 00060 'UserWrapper' => "$testDir/phpunit/includes/api/ApiTestCase.php", 00061 00062 # tests/phpunit/includes/content 00063 'DummyContentHandlerForTesting' => "$testDir/phpunit/includes/content/ContentHandlerTest.php", 00064 'DummyContentForTesting' => "$testDir/phpunit/includes/content/ContentHandlerTest.php", 00065 'ContentHandlerTest' => "$testDir/phpunit/includes/content/ContentHandlerTest.php", 00066 'JavaScriptContentTest' => "$testDir/phpunit/includes/content/JavaScriptContentTest.php", 00067 'TextContentTest' => "$testDir/phpunit/includes/content/TextContentTest.php", 00068 'WikitextContentTest' => "$testDir/phpunit/includes/content/WikitextContentTest.php", 00069 00070 # tests/phpunit/includes/db 00071 'ORMRowTest' => "$testDir/phpunit/includes/db/ORMRowTest.php", 00072 00073 # tests/phpunit/includes/parser 00074 'NewParserTest' => "$testDir/phpunit/includes/parser/NewParserTest.php", 00075 00076 # tests/phpunit/includes/libs 00077 'GenericArrayObjectTest' => "$testDir/phpunit/includes/libs/GenericArrayObjectTest.php", 00078 00079 # tests/phpunit/includes/site 00080 'SiteTest' => "$testDir/phpunit/includes/site/SiteTest.php", 00081 'TestSites' => "$testDir/phpunit/includes/site/TestSites.php", 00082 00083 # tests/phpunit/languages 00084 'LanguageClassesTestCase' => "$testDir/phpunit/languages/LanguageClassesTestCase.php", 00085 00086 # tests/phpunit/maintenance 00087 'DumpTestCase' => "$testDir/phpunit/maintenance/DumpTestCase.php", 00088 00089 # tests/parser 00090 'ParserTest' => "$testDir/parser/parserTest.inc", 00091 'ParserTestParserHook' => "$testDir/parser/parserTestsParserHook.php", 00092 00093 # tests/selenium 00094 'Selenium' => "$testDir/selenium/Selenium.php", 00095 'SeleniumLoader' => "$testDir/selenium/SeleniumLoader.php", 00096 'SeleniumTestCase' => "$testDir/selenium/SeleniumTestCase.php", 00097 'SeleniumTestConsoleLogger' => "$testDir/selenium/SeleniumTestConsoleLogger.php", 00098 'SeleniumTestConstants' => "$testDir/selenium/SeleniumTestConstants.php", 00099 'SeleniumTestHTMLLogger' => "$testDir/selenium/SeleniumTestHTMLLogger.php", 00100 'SeleniumTestListener' => "$testDir/selenium/SeleniumTestListener.php", 00101 'SeleniumTestSuite' => "$testDir/selenium/SeleniumTestSuite.php", 00102 'SeleniumConfig' => "$testDir/selenium/SeleniumConfig.php", 00103 );