resourceloader: Add basic tests for getScript() and buildContent()
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 27 Jun 2017 05:04:21 +0000 (22:04 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 27 Jun 2017 05:15:17 +0000 (22:15 -0700)
commitd3e31c7ea472d59adf5bb56ab383bac37d03adb4
tree16e3b06235160ddaba8058ca9ee43b3d91128c63
parent580dbeba7af47c480f094d1e6aa9195123338a6d
resourceloader: Add basic tests for getScript() and buildContent()

Bug: T162719
Change-Id: I37d64da77682adfef61e78033d639b623d7c9c2b
tests/phpunit/data/resourceloader/script-comment.js [new file with mode: 0644]
tests/phpunit/data/resourceloader/script-nosemi.js [new file with mode: 0644]
tests/phpunit/includes/resourceloader/ResourceLoaderFileModuleTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php