wiki.techinc.nl/tests/phpunit/structure
Alangi Derick 8221a7a4f2 Remove array_unique() on expected classes in checkAutoLoadConf()
Sometimes classes can be loaded via autoload (PSR-4) and class_aliasing
and due to this calling array_unique() on expected classes will remove
one of these classes due to them sharing the same file (and array_unique()
works on array values).

Also allow for ::class suffixed classes to be namespaced (ie look for \
in the regexes)

Cleanup some of the regexes, remove redunant code (don't need multi cased
letters when we have /i), simplify them

Bug: T206728
Change-Id: I235274d579b1bfd12a448448ddf020546c9aa89b
2018-11-30 00:22:06 +00:00
..
ApiPrefixUniquenessTest.php test: Assert that API generators have unique prefixes 2018-08-17 17:31:22 -07:00
ApiStructureTest.php Pass delimiter to preg_quote 2018-09-01 14:52:16 +02:00
AutoLoaderStructureTest.php Remove array_unique() on expected classes in checkAutoLoadConf() 2018-11-30 00:22:06 +00:00
AvailableRightsTest.php Check for right-* messages as a structure test 2018-07-26 14:14:54 -07:00
ContentHandlerSanityTest.php Add @coversNothing to tests that don't cover specific PHP classes 2018-06-12 13:27:40 -07:00
DatabaseIntegrationTest.php
ExtensionJsonValidationTest.php Add @coversNothing to tests that don't cover specific PHP classes 2018-06-12 13:27:40 -07:00
ResourcesTest.php resourceloader: Embed 'mediawiki' directly in startup response 2018-06-27 17:06:35 +00:00
SpecialPageFatalTest.php Reset services before every test 2018-09-03 16:38:58 +00:00
StructureTest.php StructureTest::testUnitTestFileNamesEndWithTest() should not shell out 2018-09-18 20:34:28 +02:00