resourceloader: Add @covers for FileModuleTest
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 26 Jun 2018 01:52:40 +0000 (02:52 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 26 Jun 2018 02:06:03 +0000 (02:06 +0000)
commita0339862ac8f69c9967a4b6208bfa4111231ea0e
treee6c36ce21bc2b0d7b70ec5d2c6665a862fe2bd76
parent079b3d5a25698b83c05e665c49da71227bc374e0
resourceloader: Add @covers for FileModuleTest

Add @covers for various helper methods used by public methods, where the helper
methods actually contain most of the logic being tested in FileModuleTest.

I've changed these methods from protected to private (confirmed no usage)
to further pin down that their contract doesn't matter beyond making the
public methods work.

Change-Id: I2aef0d322b38bc3595e7d2c2339112b16fc66b8d
includes/resourceloader/ResourceLoaderFileModule.php
includes/resourceloader/ResourceLoaderImageModule.php
tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php