MediaWiki  REL1_22
CSSMinTest Class Reference

This file test the CSSMin library shipped with Mediawiki. More...

Inheritance diagram for CSSMinTest:
Collaboration diagram for CSSMinTest:

List of all members.

Public Member Functions

 testMinify ($code, $expectedOutput)
 provideMinifyCases
 testMinifyWithCSSStringValues ($code, $expectedOutput)
 Seperated because they are currently broken (bug 35492)
 testRemap ($message, $params, $expectedOutput)
 provideRemapCases

Static Public Member Functions

static provideMinifyCases ()
static provideRemapCases ()
static provideStringCases ()

Protected Member Functions

 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.

Detailed Description

This file test the CSSMin library shipped with Mediawiki.

Author:
Timo Tijhof

Definition at line 8 of file CSSMinTest.php.


Member Function Documentation

static CSSMinTest::provideMinifyCases ( ) [static]

Definition at line 30 of file CSSMinTest.php.

References array().

static CSSMinTest::provideRemapCases ( ) [static]

Definition at line 80 of file CSSMinTest.php.

References array().

static CSSMinTest::provideStringCases ( ) [static]

Definition at line 122 of file CSSMinTest.php.

References array().

CSSMinTest::setUp ( ) [protected]

setUp and tearDown should (where significant) happen in reverse order.

Reimplemented from MediaWikiTestCase.

Definition at line 10 of file CSSMinTest.php.

References array(), and MediaWikiTestCase\setMwGlobals().

CSSMinTest::testMinify ( code,
expectedOutput 
)

provideMinifyCases

Definition at line 24 of file CSSMinTest.php.

References CSSMin\minify().

CSSMinTest::testMinifyWithCSSStringValues ( code,
expectedOutput 
)

Seperated because they are currently broken (bug 35492)

Broken provideStringCases

Definition at line 118 of file CSSMinTest.php.

CSSMinTest::testRemap ( message,
params,
expectedOutput 
)

provideRemapCases

Definition at line 73 of file CSSMinTest.php.

References $params.


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