|
MediaWiki
REL1_23
|
This file test the CSSMin library shipped with Mediawiki. More...


Public Member Functions | |
| testBuildUrlValue ($message, $input, $expectedOutput) | |
| This tests basic functionality of CSSMin::buildUrlValue. | |
| testMinify ($code, $expectedOutput) | |
| provideMinifyCases CSSMin::minify | |
| testMinifyWithCSSStringValues ($code, $expectedOutput) | |
| Seperated because they are currently broken (bug 35492) | |
| testRemap ($message, $params, $expectedOutput) | |
| This tests funky parameters to CSSMin::remap. | |
| testRemapRemapping ($message, $input, $expectedOutput) | |
| This tests basic functionality of CSSMin::remap. | |
Static Public Member Functions | |
| static | provideBuildUrlValueCases () |
| static | provideMinifyCases () |
| static | provideRemapCases () |
| static | provideRemapRemappingCases () |
| static | provideStringCases () |
Protected Member Functions | |
| setUp () | |
This file test the CSSMin library shipped with Mediawiki.
Definition at line 8 of file CSSMinTest.php.
| static CSSMinTest::provideBuildUrlValueCases | ( | ) | [static] |
Definition at line 283 of file CSSMinTest.php.
References array().
| static CSSMinTest::provideMinifyCases | ( | ) | [static] |
Definition at line 31 of file CSSMinTest.php.
References array().
| static CSSMinTest::provideRemapCases | ( | ) | [static] |
Definition at line 84 of file CSSMinTest.php.
References array().
| static CSSMinTest::provideRemapRemappingCases | ( | ) | [static] |
Definition at line 135 of file CSSMinTest.php.
References array().
| static CSSMinTest::provideStringCases | ( | ) | [static] |
Definition at line 319 of file CSSMinTest.php.
References array().
| CSSMinTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 10 of file CSSMinTest.php.
References array(), and MediaWikiTestCase\setMwGlobals().
| CSSMinTest::testBuildUrlValue | ( | $ | message, |
| $ | input, | ||
| $ | expectedOutput | ||
| ) |
This tests basic functionality of CSSMin::buildUrlValue.
provideBuildUrlValueCases CSSMin::buildUrlValue
Definition at line 275 of file CSSMinTest.php.
References CSSMin\buildUrlValue().
| CSSMinTest::testMinify | ( | $ | code, |
| $ | expectedOutput | ||
| ) |
provideMinifyCases CSSMin::minify
Definition at line 25 of file CSSMinTest.php.
References CSSMin\minify().
| CSSMinTest::testMinifyWithCSSStringValues | ( | $ | code, |
| $ | expectedOutput | ||
| ) |
Seperated because they are currently broken (bug 35492)
Broken provideStringCases CSSMin::remap
Definition at line 315 of file CSSMinTest.php.
| CSSMinTest::testRemap | ( | $ | message, |
| $ | params, | ||
| $ | expectedOutput | ||
| ) |
This tests funky parameters to CSSMin::remap.
testRemapRemapping tests the basic functionality.
provideRemapCases CSSMin::remap
Definition at line 77 of file CSSMinTest.php.
References $params.
| CSSMinTest::testRemapRemapping | ( | $ | message, |
| $ | input, | ||
| $ | expectedOutput | ||
| ) |
This tests basic functionality of CSSMin::remap.
testRemapRemapping tests funky parameters.
provideRemapRemappingCases CSSMin::remap
Definition at line 122 of file CSSMinTest.php.
References CSSMin\remap().