resourceloader: Add @covers and minor clean up of test suites
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 23 Mar 2015 03:57:45 +0000 (03:57 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 23 Mar 2015 04:16:08 +0000 (04:16 +0000)
commitdbd718dc55b7e6bfa2ca6e49b03b71f107507540
tree6710d356646e48206cf11d757d0aab270dc95f22
parent1fc5803a788e4e47e91511f6643991b2e47943ce
resourceloader: Add @covers and minor clean up of test suites

* Move testMixedCssAnnotations to ResourceLoaderFileModuleTest.
* Re-order data providers before test methods.
* Add relevant @covers annotations in resourceloader/ tests.
* Make test helper function private.
* Add a few @covers for methods called from OutputPage::makeResourceLoaderLink
  (only one level deep, we should have separate unit tests for
  the more internal helpers).

Change-Id: I2cc1757126214ed28059d4566ca813a86bcd95a7
tests/phpunit/includes/OutputPageTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php