Separate MediaWiki unit and integration tests
authorMáté Szabó <mszabo@wikia-inc.com>
Sat, 1 Jun 2019 14:10:15 +0000 (16:10 +0200)
committerMáté Szabó <mszabo@wikia-inc.com>
Thu, 13 Jun 2019 20:56:31 +0000 (22:56 +0200)
commit0a2b996278e57a8b8c5377cd3a3eaa54f993d4a9
treecde53a6eeb2d94ceece63322ffcd107cedbd553d
parent15c27d356b5e6760024ac0653279a76d94d78b1f
Separate MediaWiki unit and integration tests

This changeset implements T89432 and related tickets and is based on exploration
done at the Prague Hackathon. The goal is to identify tests in MediaWiki core
that can be run without having to install & configure MediaWiki and its dependencies,
and provide a way to execute these tests via the standard phpunit entry point,
allowing for faster development and integration with existing tooling like IDEs.

The initial set of tests that met these criteria were identified using the work Amir did in
I88822667693d9e00ac3d4639c87bc24e5083e5e8. These tests were then moved into a new subdirectory
under phpunit/ and organized into a separate test suite. The environment for this suite
is set up via a PHPUnit bootstrap file without a custom entry point.

You can execute these tests by running:
$ vendor/bin/phpunit -d memory_limit=512M -c tests/phpunit/unit-tests.xml

Bug: T89432
Bug: T87781
Bug: T84948
Change-Id: Iad01033a0548afd4d2a6f2c1ef6fcc9debf72c0d
426 files changed:
.phpcs.xml
tests/common/TestSetup.php
tests/common/TestsAutoLoader.php
tests/phpunit/MediaWikiUnitTestCase.php [new file with mode: 0644]
tests/phpunit/documentation/ReleaseNotesTest.php [deleted file]
tests/phpunit/includes/CommentStoreCommentTest.php [deleted file]
tests/phpunit/includes/DerivativeRequestTest.php [deleted file]
tests/phpunit/includes/FauxRequestTest.php [deleted file]
tests/phpunit/includes/FauxResponseTest.php [deleted file]
tests/phpunit/includes/FormOptionsInitializationTest.php [deleted file]
tests/phpunit/includes/FormOptionsTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfAppendQueryTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfArrayPlus2dTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfAssembleUrlTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfBaseNameTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfEscapeShellArgTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfGetCallerTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfShellExecTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfShorthandToIntegerTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfStringToBoolTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php [deleted file]
tests/phpunit/includes/GlobalFunctions/wfUrlencodeTest.php [deleted file]
tests/phpunit/includes/HooksTest.php [deleted file]
tests/phpunit/includes/LicensesTest.php [deleted file]
tests/phpunit/includes/ListToggleTest.php [deleted file]
tests/phpunit/includes/MagicWordFactoryTest.php [deleted file]
tests/phpunit/includes/MediaWikiServicesTest.php [deleted file]
tests/phpunit/includes/MediaWikiVersionFetcherTest.php [deleted file]
tests/phpunit/includes/PathRouterTest.php [deleted file]
tests/phpunit/includes/Revision/FallbackSlotRoleHandlerTest.php [deleted file]
tests/phpunit/includes/Revision/MainSlotRoleHandlerTest.php [deleted file]
tests/phpunit/includes/Revision/RevisionStoreFactoryTest.php [deleted file]
tests/phpunit/includes/Revision/SlotRecordTest.php [deleted file]
tests/phpunit/includes/Revision/SlotRoleHandlerTest.php [deleted file]
tests/phpunit/includes/SanitizerValidateEmailTest.php [deleted file]
tests/phpunit/includes/ServiceWiringTest.php [deleted file]
tests/phpunit/includes/SiteConfigurationTest.php [deleted file]
tests/phpunit/includes/Storage/BlobStoreFactoryTest.php [deleted file]
tests/phpunit/includes/Storage/PreparedEditTest.php [deleted file]
tests/phpunit/includes/TitleArrayFromResultTest.php [deleted file]
tests/phpunit/includes/WikiReferenceTest.php [deleted file]
tests/phpunit/includes/XmlJsTest.php [deleted file]
tests/phpunit/includes/XmlSelectTest.php [deleted file]
tests/phpunit/includes/actions/ViewActionTest.php [deleted file]
tests/phpunit/includes/api/ApiBlockInfoTraitTest.php [deleted file]
tests/phpunit/includes/api/ApiContinuationManagerTest.php [deleted file]
tests/phpunit/includes/api/ApiMessageTest.php [deleted file]
tests/phpunit/includes/api/ApiResultTest.php [deleted file]
tests/phpunit/includes/api/ApiUsageExceptionTest.php [deleted file]
tests/phpunit/includes/auth/AbstractPreAuthenticationProviderTest.php [deleted file]
tests/phpunit/includes/auth/AbstractSecondaryAuthenticationProviderTest.php [deleted file]
tests/phpunit/includes/auth/AuthenticationResponseTest.php [deleted file]
tests/phpunit/includes/auth/ConfirmLinkSecondaryAuthenticationProviderTest.php [deleted file]
tests/phpunit/includes/auth/EmailNotificationSecondaryAuthenticationProviderTest.php [deleted file]
tests/phpunit/includes/changes/ChangesListFilterGroupTest.php [deleted file]
tests/phpunit/includes/collation/CustomUppercaseCollationTest.php [deleted file]
tests/phpunit/includes/composer/ComposerVersionNormalizerTest.php [deleted file]
tests/phpunit/includes/config/ConfigFactoryTest.php [deleted file]
tests/phpunit/includes/config/EtcdConfigTest.php [deleted file]
tests/phpunit/includes/config/HashConfigTest.php [deleted file]
tests/phpunit/includes/config/MultiConfigTest.php [deleted file]
tests/phpunit/includes/config/ServiceOptionsTest.php [deleted file]
tests/phpunit/includes/content/JsonContentHandlerTest.php [deleted file]
tests/phpunit/includes/db/DatabaseOracleTest.php [deleted file]
tests/phpunit/includes/debug/MWDebugTest.php [deleted file]
tests/phpunit/includes/debug/logger/MonologSpiTest.php [deleted file]
tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php [deleted file]
tests/phpunit/includes/debug/logger/monolog/CeeFormatterTest.php [deleted file]
tests/phpunit/includes/debug/logger/monolog/KafkaHandlerTest.php [deleted file]
tests/phpunit/includes/debug/logger/monolog/LineFormatterTest.php [deleted file]
tests/phpunit/includes/debug/logger/monolog/LogstashFormatterTest.php [deleted file]
tests/phpunit/includes/deferred/MWCallableUpdateTest.php [deleted file]
tests/phpunit/includes/deferred/TransactionRoundDefiningUpdateTest.php [deleted file]
tests/phpunit/includes/diff/ArrayDiffFormatterTest.php [deleted file]
tests/phpunit/includes/diff/DiffOpTest.php [deleted file]
tests/phpunit/includes/diff/DiffTest.php [deleted file]
tests/phpunit/includes/diff/DifferenceEngineSlotDiffRendererTest.php [deleted file]
tests/phpunit/includes/diff/SlotDiffRendererTest.php [deleted file]
tests/phpunit/includes/exception/HttpErrorTest.php [deleted file]
tests/phpunit/includes/exception/MWExceptionHandlerTest.php [deleted file]
tests/phpunit/includes/exception/ReadOnlyErrorTest.php [deleted file]
tests/phpunit/includes/exception/UserNotLoggedInTest.php [deleted file]
tests/phpunit/includes/externalstore/ExternalStoreFactoryTest.php [deleted file]
tests/phpunit/includes/filebackend/SwiftFileBackendTest.php [deleted file]
tests/phpunit/includes/filerepo/FileBackendDBRepoWrapperTest.php [deleted file]
tests/phpunit/includes/filerepo/FileRepoTest.php [deleted file]
tests/phpunit/includes/htmlform/HTMLAutoCompleteSelectFieldTest.php [deleted file]
tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php [deleted file]
tests/phpunit/includes/htmlform/HTMLFormTest.php [deleted file]
tests/phpunit/includes/htmlform/HTMLRestrictionsFieldTest.php [deleted file]
tests/phpunit/includes/http/GuzzleHttpRequestTest.php [deleted file]
tests/phpunit/includes/http/HttpRequestFactoryTest.php [deleted file]
tests/phpunit/includes/installer/InstallDocFormatterTest.php [deleted file]
tests/phpunit/includes/installer/OracleInstallerTest.php [deleted file]
tests/phpunit/includes/interwiki/InterwikiLookupAdapterTest.php [deleted file]
tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php [deleted file]
tests/phpunit/includes/json/FormatJsonTest.php [deleted file]
tests/phpunit/includes/libs/ArrayUtilsTest.php [deleted file]
tests/phpunit/includes/libs/CookieTest.php [deleted file]
tests/phpunit/includes/libs/DeferredStringifierTest.php [deleted file]
tests/phpunit/includes/libs/DnsSrvDiscovererTest.php [deleted file]
tests/phpunit/includes/libs/EasyDeflateTest.php [deleted file]
tests/phpunit/includes/libs/GenericArrayObjectTest.php [deleted file]
tests/phpunit/includes/libs/HashRingTest.php [deleted file]
tests/phpunit/includes/libs/HtmlArmorTest.php [deleted file]
tests/phpunit/includes/libs/IEUrlExtensionTest.php [deleted file]
tests/phpunit/includes/libs/IPTest.php [deleted file]
tests/phpunit/includes/libs/JavaScriptMinifierTest.php [deleted file]
tests/phpunit/includes/libs/MapCacheLRUTest.php [deleted file]
tests/phpunit/includes/libs/MemoizedCallableTest.php [deleted file]
tests/phpunit/includes/libs/ProcessCacheLRUTest.php [deleted file]
tests/phpunit/includes/libs/SamplingStatsdClientTest.php [deleted file]
tests/phpunit/includes/libs/StaticArrayWriterTest.php [deleted file]
tests/phpunit/includes/libs/StringUtilsTest.php [deleted file]
tests/phpunit/includes/libs/TimingTest.php [deleted file]
tests/phpunit/includes/libs/XhprofDataTest.php [deleted file]
tests/phpunit/includes/libs/XhprofTest.php [deleted file]
tests/phpunit/includes/libs/XmlTypeCheckTest.php [deleted file]
tests/phpunit/includes/libs/composer/ComposerInstalledTest.php [deleted file]
tests/phpunit/includes/libs/composer/ComposerJsonTest.php [deleted file]
tests/phpunit/includes/libs/composer/ComposerLockTest.php [deleted file]
tests/phpunit/includes/libs/http/HttpAcceptNegotiatorTest.php [deleted file]
tests/phpunit/includes/libs/http/HttpAcceptParserTest.php [deleted file]
tests/phpunit/includes/libs/mime/MSCompoundFileReaderTest.php [deleted file]
tests/phpunit/includes/libs/mime/MimeAnalyzerTest.php [deleted file]
tests/phpunit/includes/libs/objectcache/CachedBagOStuffTest.php [deleted file]
tests/phpunit/includes/libs/objectcache/HashBagOStuffTest.php [deleted file]
tests/phpunit/includes/libs/objectcache/ReplicatedBagOStuffTest.php [deleted file]
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/ChronologyProtectorTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/TransactionProfilerTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/connectionmanager/ConnectionManagerTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/connectionmanager/SessionConsistentConnectionManagerTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DBConnRefTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseDomainTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseMssqlTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseMysqlBaseTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseSQLTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseSqliteRdbmsTest.php [deleted file]
tests/phpunit/includes/libs/rdbms/database/DatabaseTest.php [deleted file]
tests/phpunit/includes/libs/services/ServiceContainerTest.php [deleted file]
tests/phpunit/includes/libs/services/TestWiring1.php [deleted file]
tests/phpunit/includes/libs/services/TestWiring2.php [deleted file]
tests/phpunit/includes/libs/stats/PrefixingStatsdDataFactoryProxyTest.php [deleted file]
tests/phpunit/includes/media/GIFMetadataExtractorTest.php [deleted file]
tests/phpunit/includes/media/IPTCTest.php [deleted file]
tests/phpunit/includes/media/JpegMetadataExtractorTest.php [deleted file]
tests/phpunit/includes/media/MediaHandlerTest.php [deleted file]
tests/phpunit/includes/media/SVGMetadataExtractorTest.php [deleted file]
tests/phpunit/includes/media/WebPHandlerTest.php [deleted file]
tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php [deleted file]
tests/phpunit/includes/objectcache/RESTBagOStuffTest.php [deleted file]
tests/phpunit/includes/objectcache/RedisBagOStuffTest.php [deleted file]
tests/phpunit/includes/page/ArticleTest.php [deleted file]
tests/phpunit/includes/parser/ParserPreloadTest.php [deleted file]
tests/phpunit/includes/parser/PreprocessorTest.php [deleted file]
tests/phpunit/includes/parser/TidyTest.php [deleted file]
tests/phpunit/includes/password/PasswordFactoryTest.php [deleted file]
tests/phpunit/includes/password/PasswordTest.php [deleted file]
tests/phpunit/includes/preferences/FiltersTest.php [deleted file]
tests/phpunit/includes/registration/ExtensionJsonValidatorTest.php [deleted file]
tests/phpunit/includes/registration/ExtensionProcessorTest.php [deleted file]
tests/phpunit/includes/registration/VersionCheckerTest.php [deleted file]
tests/phpunit/includes/resourceloader/DerivativeResourceLoaderContextTest.php [deleted file]
tests/phpunit/includes/resourceloader/MessageBlobStoreTest.php [deleted file]
tests/phpunit/includes/resourceloader/ResourceLoaderClientHtmlTest.php [deleted file]
tests/phpunit/includes/resourceloader/ResourceLoaderContextTest.php [deleted file]
tests/phpunit/includes/search/SearchIndexFieldTest.php [deleted file]
tests/phpunit/includes/search/SearchSuggestionSetTest.php [deleted file]
tests/phpunit/includes/session/MetadataMergeExceptionTest.php [deleted file]
tests/phpunit/includes/session/SessionIdTest.php [deleted file]
tests/phpunit/includes/session/SessionInfoTest.php [deleted file]
tests/phpunit/includes/session/SessionProviderTest.php [deleted file]
tests/phpunit/includes/session/SessionTest.php [deleted file]
tests/phpunit/includes/session/TokenTest.php [deleted file]
tests/phpunit/includes/shell/CommandFactoryTest.php [deleted file]
tests/phpunit/includes/shell/CommandTest.php [deleted file]
tests/phpunit/includes/shell/FirejailCommandTest.php [deleted file]
tests/phpunit/includes/site/CachingSiteStoreTest.php [deleted file]
tests/phpunit/includes/site/HashSiteStoreTest.php [deleted file]
tests/phpunit/includes/site/MediaWikiPageNameNormalizerTest.php [deleted file]
tests/phpunit/includes/site/SiteExporterTest.php [deleted file]
tests/phpunit/includes/site/SiteImporterTest.php [deleted file]
tests/phpunit/includes/site/SiteImporterTest.xml [deleted file]
tests/phpunit/includes/skins/SkinFactoryTest.php [deleted file]
tests/phpunit/includes/skins/SkinTemplateTest.php [deleted file]
tests/phpunit/includes/skins/SkinTest.php [deleted file]
tests/phpunit/includes/sparql/SparqlClientTest.php [deleted file]
tests/phpunit/includes/specials/ImageListPagerTest.php [deleted file]
tests/phpunit/includes/specials/SpecialUploadTest.php [deleted file]
tests/phpunit/includes/specials/UncategorizedCategoriesPageTest.php [deleted file]
tests/phpunit/includes/tidy/RemexDriverTest.php [deleted file]
tests/phpunit/includes/tidy/html5lib-tests.json [deleted file]
tests/phpunit/includes/title/ForeignTitleTest.php [deleted file]
tests/phpunit/includes/title/NaiveForeignTitleFactoryTest.php [deleted file]
tests/phpunit/includes/title/NamespaceAwareForeignTitleFactoryTest.php [deleted file]
tests/phpunit/includes/title/TitleValueTest.php [deleted file]
tests/phpunit/includes/user/UserArrayFromResultTest.php [deleted file]
tests/phpunit/includes/utils/AvroValidatorTest.php [deleted file]
tests/phpunit/includes/utils/BatchRowUpdateTest.php [deleted file]
tests/phpunit/includes/utils/ClassCollectorTest.php [deleted file]
tests/phpunit/includes/utils/FileContentsHasherTest.php [deleted file]
tests/phpunit/includes/utils/MWCryptHashTest.php [deleted file]
tests/phpunit/includes/utils/MWRestrictionsTest.php [deleted file]
tests/phpunit/includes/utils/UIDGeneratorTest.php [deleted file]
tests/phpunit/includes/utils/ZipDirectoryReaderTest.php [deleted file]
tests/phpunit/includes/watcheditem/NoWriteWatchedItemStoreUnitTest.php [deleted file]
tests/phpunit/languages/SpecialPageAliasTest.php [deleted file]
tests/phpunit/structure/ApiPrefixUniquenessTest.php [deleted file]
tests/phpunit/structure/AutoLoaderStructureTest.php [deleted file]
tests/phpunit/structure/ContentHandlerSanityTest.php [deleted file]
tests/phpunit/structure/PasswordPolicyStructureTest.php [deleted file]
tests/phpunit/structure/StructureTest.php
tests/phpunit/suite.xml
tests/phpunit/unit-tests.xml [new file with mode: 0644]
tests/phpunit/unit/documentation/ReleaseNotesTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/CommentStoreCommentTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/DerivativeRequestTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/FauxRequestTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/FauxResponseTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/FormOptionsInitializationTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/FormOptionsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfAppendQueryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfArrayPlus2dTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfAssembleUrlTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfBaseNameTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfEscapeShellArgTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfGetCallerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfShellExecTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfShorthandToIntegerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfStringToBoolTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfTimestampTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/GlobalFunctions/wfUrlencodeTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/HooksTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/LicensesTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/ListToggleTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/MagicWordFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/MediaWikiServicesTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/MediaWikiVersionFetcherTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/PathRouterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Revision/FallbackSlotRoleHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Revision/MainSlotRoleHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Revision/RevisionStoreFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Revision/SlotRecordTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Revision/SlotRoleHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/SanitizerValidateEmailTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/ServiceWiringTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/SiteConfigurationTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Storage/BlobStoreFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/Storage/PreparedEditTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/TitleArrayFromResultTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/WikiReferenceTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/XmlJsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/XmlSelectTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/actions/ViewActionTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/api/ApiBlockInfoTraitTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/api/ApiContinuationManagerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/api/ApiMessageTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/api/ApiResultTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/api/ApiUsageExceptionTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/auth/AbstractPreAuthenticationProviderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/auth/AbstractSecondaryAuthenticationProviderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/auth/AuthenticationResponseTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/auth/ConfirmLinkSecondaryAuthenticationProviderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/auth/EmailNotificationSecondaryAuthenticationProviderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/changes/ChangesListFilterGroupTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/collation/CustomUppercaseCollationTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/composer/ComposerVersionNormalizerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/config/ConfigFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/config/EtcdConfigTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/config/HashConfigTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/config/MultiConfigTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/config/ServiceOptionsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/content/JsonContentHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/db/DatabaseOracleTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/MWDebugTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/MonologSpiTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/monolog/AvroFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/monolog/CeeFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/monolog/KafkaHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/monolog/LineFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/debug/logger/monolog/LogstashFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/deferred/MWCallableUpdateTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/deferred/TransactionRoundDefiningUpdateTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/diff/DiffOpTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/diff/DiffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/diff/DifferenceEngineSlotDiffRendererTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/diff/SlotDiffRendererTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/exception/HttpErrorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/exception/MWExceptionHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/exception/ReadOnlyErrorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/exception/UserNotLoggedInTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/externalstore/ExternalStoreFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/filebackend/SwiftFileBackendTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/filerepo/FileBackendDBRepoWrapperTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/filerepo/FileRepoTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/htmlform/HTMLAutoCompleteSelectFieldTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/htmlform/HTMLCheckMatrixTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/htmlform/HTMLFormTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/htmlform/HTMLRestrictionsFieldTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/http/GuzzleHttpRequestTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/http/HttpRequestFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/installer/InstallDocFormatterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/installer/OracleInstallerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/interwiki/InterwikiLookupAdapterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/jobqueue/JobQueueMemoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/json/FormatJsonTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/ArrayUtilsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/CookieTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/DeferredStringifierTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/DnsSrvDiscovererTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/EasyDeflateTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/GenericArrayObjectTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/HashRingTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/HtmlArmorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/IEUrlExtensionTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/IPTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/JavaScriptMinifierTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/MapCacheLRUTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/MemoizedCallableTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/ProcessCacheLRUTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/SamplingStatsdClientTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/StaticArrayWriterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/StringUtilsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/TimingTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/XhprofDataTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/XhprofTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/XmlTypeCheckTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/composer/ComposerInstalledTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/composer/ComposerJsonTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/composer/ComposerLockTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/http/HttpAcceptNegotiatorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/http/HttpAcceptParserTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/mime/MSCompoundFileReaderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/mime/MimeAnalyzerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/objectcache/CachedBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/objectcache/HashBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/objectcache/ReplicatedBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/objectcache/WANObjectCacheTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/ChronologyProtectorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/TransactionProfilerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/connectionmanager/ConnectionManagerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/connectionmanager/SessionConsistentConnectionManagerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DBConnRefTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseDomainTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseMssqlTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseMysqlBaseTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseSQLTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseSqliteRdbmsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/rdbms/database/DatabaseTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/services/ServiceContainerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/services/TestWiring1.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/services/TestWiring2.php [new file with mode: 0644]
tests/phpunit/unit/includes/libs/stats/PrefixingStatsdDataFactoryProxyTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/GIFMetadataExtractorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/IPTCTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/JpegMetadataExtractorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/MediaHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/SVGMetadataExtractorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/media/WebPHandlerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/objectcache/MemcachedBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/objectcache/RESTBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/objectcache/RedisBagOStuffTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/page/ArticleTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/parser/ParserPreloadTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/parser/PreprocessorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/parser/TidyTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/password/PasswordFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/password/PasswordTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/preferences/FiltersTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/registration/ExtensionJsonValidatorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/registration/ExtensionProcessorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/registration/VersionCheckerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/resourceloader/DerivativeResourceLoaderContextTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/resourceloader/MessageBlobStoreTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/resourceloader/ResourceLoaderClientHtmlTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/resourceloader/ResourceLoaderContextTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/search/SearchIndexFieldTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/search/SearchSuggestionSetTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/MetadataMergeExceptionTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/SessionIdTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/SessionInfoTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/SessionProviderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/SessionTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/session/TokenTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/shell/CommandFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/shell/CommandTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/shell/FirejailCommandTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/CachingSiteStoreTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/HashSiteStoreTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/MediaWikiPageNameNormalizerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/SiteExporterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/SiteImporterTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/site/SiteImporterTest.xml [new file with mode: 0644]
tests/phpunit/unit/includes/skins/SkinFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/skins/SkinTemplateTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/skins/SkinTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/sparql/SparqlClientTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/specials/ImageListPagerTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/specials/SpecialUploadTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/specials/UncategorizedCategoriesPageTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/tidy/RemexDriverTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/tidy/html5lib-tests.json [new file with mode: 0644]
tests/phpunit/unit/includes/title/ForeignTitleTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/title/NaiveForeignTitleFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/title/NamespaceAwareForeignTitleFactoryTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/title/TitleValueTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/user/UserArrayFromResultTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/AvroValidatorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/BatchRowUpdateTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/ClassCollectorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/FileContentsHasherTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/MWCryptHashTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/MWRestrictionsTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/UIDGeneratorTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/utils/ZipDirectoryReaderTest.php [new file with mode: 0644]
tests/phpunit/unit/includes/watcheditem/NoWriteWatchedItemStoreUnitTest.php [new file with mode: 0644]
tests/phpunit/unit/initUnitTests.php [new file with mode: 0644]
tests/phpunit/unit/languages/SpecialPageAliasTest.php [new file with mode: 0644]
tests/phpunit/unit/structure/ApiPrefixUniquenessTest.php [new file with mode: 0644]
tests/phpunit/unit/structure/AutoLoaderStructureTest.php [new file with mode: 0644]
tests/phpunit/unit/structure/ContentHandlerSanityTest.php [new file with mode: 0644]
tests/phpunit/unit/structure/PasswordPolicyStructureTest.php [new file with mode: 0644]