MediaWiki
REL1_22
|
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 | |
testTransform ($cssA, $cssB=null) | |
provideTransformCases | |
testTransformAdvanced ($code, $expectedOutput, $options=array()) | |
provideTransformAdvancedCases | |
testTransformBroken ($code, $expectedOutput) | |
provideTransformBrokenCases Broken | |
Static Public Member Functions | |
static | provideTransformAdvancedCases () |
These cases are tested in one way only (format: actual, expected, msg). | |
static | provideTransformBrokenCases () |
Cases that are currently failing, but should be looked at in the future as enhancements and/or bug fix. | |
static | provideTransformCases () |
These transform cases are tested *in both directions* No need to declare a principle twice in both directions here. |
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 10 of file CSSJanusTest.php.
static CSSJanusTest::provideTransformAdvancedCases | ( | ) | [static] |
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 525 of file CSSJanusTest.php.
static CSSJanusTest::provideTransformBrokenCases | ( | ) | [static] |
Cases that are currently failing, but should be looked at in the future as enhancements and/or bug fix.
Definition at line 591 of file CSSJanusTest.php.
static CSSJanusTest::provideTransformCases | ( | ) | [static] |
These transform cases are tested *in both directions* No need to declare a principle twice in both directions here.
Definition at line 59 of file CSSJanusTest.php.
References array().
CSSJanusTest::testTransform | ( | $ | cssA, |
$ | cssB = null |
||
) |
provideTransformCases
Definition at line 14 of file CSSJanusTest.php.
References CSSJanus\transform().
CSSJanusTest::testTransformAdvanced | ( | $ | code, |
$ | expectedOutput, | ||
$ | options = array() |
||
) |
provideTransformAdvancedCases
Definition at line 33 of file CSSJanusTest.php.
References $options, and CSSJanus\transform().
CSSJanusTest::testTransformBroken | ( | $ | code, |
$ | expectedOutput | ||
) |
provideTransformBrokenCases Broken
Definition at line 49 of file CSSJanusTest.php.
References CSSJanus\transform().