wiki.techinc.nl/tests/phpunit/suites
Timo Tijhof a186dc62fd resourceloader: Instantiate main class via ServiceWiring
It also removes some code duplication which is nice.

This unlocks various future changes, including:

* Making the `$config` parameter mandatory for the ResourceLoader class
  constructor, which currently falls back to global state.
  This should be deprecated and removed.

* Making it possible to instantiate the ResourceLoader class
  without all the default MW modules being registered from
  global state. E.g. move MW module registration from main class
  constructor to ServiceWiring, and remove the 'EmptyResourceLoader'
  class hack from unit tests, and use regular 'new ResourceLoader'
  instead.

* Making ResourceLoader a standalone library (some day),
  e.g. allowing it to be instantiated from a basic PHP script,
  in a way that is still useful and perhaps able to serve
  (most) RL modules without MW itself.

Bug: T32956
Change-Id: I4939f296c705b268e9cf8de635e923a739410470
2019-02-18 17:55:09 +00:00
..
CoreParserTestSuite.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
ExtensionsParserTestSuite.php Renames preparatory to parser tests refactor 2016-09-12 15:46:15 +10:00
ExtensionsTestSuite.php Add @coversNothing to tests that don't cover specific PHP classes 2018-06-12 13:27:40 -07:00
LessTestSuite.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
ParserIntegrationTest.php Only use "*Test.php" for actual PHPUnit tests 2018-10-03 20:22:22 +03:00
ParserTestFileSuite.php Check requirements for parser test suite in phpunit tests 2017-09-14 19:03:02 +00:00
ParserTestTopLevelSuite.php No yoda conditions 2018-11-21 17:54:39 +01:00
UploadFromUrlTestSuite.php tests: Remove some unused stuff in phpunit tests 2018-03-26 22:45:29 +00:00