MediaWiki
REL1_21
|
Based on the test suite of the original Python CSSJanus libary: http://code.google.com/p/cssjanus/source/browse/trunk/cssjanus_test.py Ported to PHP for ResourceLoader and has been extended since. More...
Public Member Functions | |
provideTransformAdvancedCases () | |
These cases are tested in one way only (format: actual, expected, msg). | |
provideTransformBrokenCases () | |
Cases that are currently failing, but should be looked at in the future as enhancements and/or bug fix. | |
provideTransformCases () | |
These transform cases are tested *in both directions* No need to declare a principle twice in both directions here. | |
testTransform ($cssA, $cssB=null) | |
provideTransformCases | |
testTransformAdvanced ($code, $expectedOutput, $options=array()) | |
provideTransformAdvancedCases | |
testTransformBroken ($code, $expectedOutput) | |
provideTransformBrokenCases Broken |
Based on the test suite of the original Python CSSJanus libary: http://code.google.com/p/cssjanus/source/browse/trunk/cssjanus_test.py Ported to PHP for ResourceLoader and has been extended since.
Definition at line 8 of file CSSJanusTest.php.
These cases are tested in one way only (format: actual, expected, msg).
If both ways can be tested, either put both versions in here or move it to provideTransformCases().
Definition at line 479 of file CSSJanusTest.php.
Cases that are currently failing, but should be looked at in the future as enhancements and/or bug fix.
Definition at line 545 of file CSSJanusTest.php.
CSSJanusTest::testTransform | ( | $ | cssA, |
$ | cssB = null |
||
) |
provideTransformCases
Definition at line 12 of file CSSJanusTest.php.
References CSSJanus\transform().
CSSJanusTest::testTransformAdvanced | ( | $ | code, |
$ | expectedOutput, | ||
$ | options = array() |
||
) |
provideTransformAdvancedCases
Definition at line 31 of file CSSJanusTest.php.
References $options, and CSSJanus\transform().
CSSJanusTest::testTransformBroken | ( | $ | code, |
$ | expectedOutput | ||
) |
provideTransformBrokenCases Broken
Definition at line 47 of file CSSJanusTest.php.
References CSSJanus\transform().