MediaWiki  REL1_21
CSSJanusTest Class Reference

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...

Inheritance diagram for CSSJanusTest:
Collaboration diagram for CSSJanusTest:

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

References array(), and as.

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.

References array(), data, and foo.

These transform cases are tested *in both directions* No need to declare a principle twice in both directions here.

Definition at line 57 of file CSSJanusTest.php.

References are, array(), foo, and values.

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().


The documentation for this class was generated from the following file: