MediaWiki  REL1_22
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

 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.

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.

CSSJanus

Definition at line 10 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 525 of file CSSJanusTest.php.

References $right, 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 591 of file CSSJanusTest.php.

References array(), and data.

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


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