Add a test for mixed /*@noflip*/ and /*@embed*/ CSS annotations
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 18 Aug 2014 12:56:18 +0000 (14:56 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 18 Aug 2014 14:40:25 +0000 (16:40 +0200)
commit90c13419f0899218ac5437e6102658dd6e73b63f
tree1d25be3717cb0192ec73fae38d2f6a4e96ee09d8
parent3d1972cc07b23a4750a50780d8912d24baa44cd5
Add a test for mixed /*@noflip*/ and /*@embed*/ CSS annotations

Given that we have entirely separate code for handling one and the
other, and given the nature of code comments stuffed inside other
structures, this isn't really obvious that they work.

And indeed, "/*@noflip*/ /*@embed*/" doesn't work (filed bug 69698).
Amazingly, all other combinations do.

Change-Id: Ie30bab251eb4abee122c783d057de4102e53d1fc
tests/phpunit/ResourceLoaderTestCase.php
tests/phpunit/data/css/expected.css [new file with mode: 0644]
tests/phpunit/data/css/simple-ltr.gif [new file with mode: 0644]
tests/phpunit/data/css/simple-rtl.gif [new file with mode: 0644]
tests/phpunit/data/css/test.css [new file with mode: 0644]
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php