wiki.techinc.nl/tests/phpunit/structure
Roan Kattouw ca7fa28615 resourceloader: Separate style processing from style file loading
ResourceLoaderFileModule::readStyleFile() both reads a style file from
disk and processes it through LESS, CSSJanus and CSSMin. Factor out the
processing part into ResourceLoaderFileModule::processStyle(), which
takes a string of unprocessed CSS/LESS rather than a file. This is
needed for future support for styles that don't come (directly) from a
file, but are generated through packageFiles.

Other changes:
- Use a hash of the source instead of the file name in the cache keys
  for the LESS compilation output
- Also prefix the cache key with 'resourceloader' while we're changing
  it anyway
- LESS compilation no longer adds the source file itself as a dependency
- Don't pass down $flip, just use $this>getFlip()

Change-Id: I86e880d06af724f0fbae93e042c85e0395771912
2020-02-12 20:23:24 +00:00
..
ApiPrefixUniquenessTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiStructureTest.php Merge "ApiDisabled: Correctly fall back to api-help-no-extended-description" 2020-02-12 00:11:14 +00:00
AutoLoaderStructureTest.php Upgrade PHPUnit to version 7 2019-11-20 21:02:33 -08:00
AvailableRightsTest.php Move User::getAllRights to PermissionManager. 2019-08-29 15:38:26 +02:00
ContentHandlerSanityTest.php Introduce ContentHandlerFactory 2020-02-07 00:53:51 +03:00
DatabaseIntegrationTest.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
ExtensionJsonValidationTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
PasswordPolicyStructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ResourcesTest.php resourceloader: Separate style processing from style file loading 2020-02-12 20:23:24 +00:00
RestStructureTest.php Add RestStructureTest 2020-02-04 20:30:10 +00:00
SpecialPageFatalTest.php Run SpecialPageFatalTest with lang=qqx 2019-07-08 14:52:06 +02:00
StructureTest.php Upgrade PHPUnit to version 7 2019-11-20 21:02:33 -08:00