X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2FTestsAutoLoader.php;h=46a894cea93eedb34cc8395f35aa097cd4fc0aba;hb=8b07ec5abae63c5d479d2983d97e12936dedc757;hp=0939ebeeb1264471b2bf6da5ae1e7c53cd6da81e;hpb=c5af7003c27e79b1a89f7b46cd099c68c7002541;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index 0939ebeeb1..46a894cea9 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -40,7 +40,6 @@ $wgAutoloadClasses += array( 'MediaWikiPHPUnitCommand' => "$testDir/phpunit/MediaWikiPHPUnitCommand.php", 'MediaWikiPHPUnitTestListener' => "$testDir/phpunit/MediaWikiPHPUnitTestListener.php", 'MediaWikiLangTestCase' => "$testDir/phpunit/MediaWikiLangTestCase.php", - 'MediaWikiProvide' => "$testDir/phpunit/includes/Providers.php", 'TestUser' => "$testDir/phpunit/includes/TestUser.php", # tests/phpunit/includes @@ -56,10 +55,10 @@ $wgAutoloadClasses += array( # tests/phpunit/includes/api 'ApiFormatTestBase' => "$testDir/phpunit/includes/api/format/ApiFormatTestBase.php", 'ApiTestCase' => "$testDir/phpunit/includes/api/ApiTestCase.php", - 'ApiTestContext' => "$testDir/phpunit/includes/api/ApiTestCase.php", - 'MockApi' => "$testDir/phpunit/includes/api/ApiTestCase.php", + 'ApiTestContext' => "$testDir/phpunit/includes/api/ApiTestContext.php", + 'MockApi' => "$testDir/phpunit/includes/api/MockApi.php", + 'UserWrapper' => "$testDir/phpunit/includes/api/UserWrapper.php", 'RandomImageGenerator' => "$testDir/phpunit/includes/api/RandomImageGenerator.php", - 'UserWrapper' => "$testDir/phpunit/includes/api/ApiTestCase.php", # tests/phpunit/includes/content 'DummyContentHandlerForTesting' => "$testDir/phpunit/includes/content/ContentHandlerTest.php", @@ -79,6 +78,9 @@ $wgAutoloadClasses += array( # tests/phpunit/includes/libs 'GenericArrayObjectTest' => "$testDir/phpunit/includes/libs/GenericArrayObjectTest.php", + # tests/phpunit/media + 'FakeDimensionFile' => "$testDir/phpunit/includes/media/FakeDimensionFile.php", + # tests/phpunit/includes/site 'SiteTest' => "$testDir/phpunit/includes/site/SiteTest.php", 'TestSites' => "$testDir/phpunit/includes/site/TestSites.php", @@ -87,8 +89,8 @@ $wgAutoloadClasses += array( 'MockFSFile' => "$testDir/phpunit/mocks/filebackend/MockFSFile.php", 'MockFileBackend' => "$testDir/phpunit/mocks/filebackend/MockFileBackend.php", 'MockBitmapHandler' => "$testDir/phpunit/mocks/media/MockBitmapHandler.php", - 'MockImageHandler' => "$testDir/phpunit/mocks/media/MockBitmapHandler.php", - 'MockSvgHandler' => "$testDir/phpunit/mocks/media/MockBitmapHandler.php", + 'MockImageHandler' => "$testDir/phpunit/mocks/media/MockImageHandler.php", + 'MockSvgHandler' => "$testDir/phpunit/mocks/media/MockSvgHandler.php", # tests/phpunit/languages 'LanguageClassesTestCase' => "$testDir/phpunit/languages/LanguageClassesTestCase.php",