MediaWiki
1.33.0
|
Public Member Functions | |
testLineBreaker ( $code, array $expectedLines) | |
provideLineBreaker JavaScriptMinifier::minify More... | |
testMinifyOutput ( $code, $expectedOutput, $expectedValid=true) | |
provideCases JavaScriptMinifier::minify JavaScriptMinifier::parseError More... | |
Static Public Member Functions | |
static | provideCases () |
static | provideLineBreaker () |
Protected Member Functions | |
tearDown () | |
Private Member Functions | |
setMaxLineLength ( $val) | |
Definition at line 3 of file JavaScriptMinifierTest.php.
|
static |
Definition at line 20 of file JavaScriptMinifierTest.php.
References false.
|
static |
Definition at line 216 of file JavaScriptMinifierTest.php.
|
private |
Definition at line 13 of file JavaScriptMinifierTest.php.
References class.
Referenced by tearDown(), and testLineBreaker().
|
protected |
Definition at line 7 of file JavaScriptMinifierTest.php.
References setMaxLineLength().
JavaScriptMinifierTest::testLineBreaker | ( | $code, | |
array | $expectedLines | ||
) |
provideLineBreaker JavaScriptMinifier::minify
Definition at line 359 of file JavaScriptMinifierTest.php.
References $code, JavaScriptMinifier\minify(), and setMaxLineLength().
JavaScriptMinifierTest::testMinifyOutput | ( | $code, | |
$expectedOutput, | |||
$expectedValid = true |
|||
) |
provideCases JavaScriptMinifier::minify JavaScriptMinifier::parseError
Definition at line 197 of file JavaScriptMinifierTest.php.
References $code, $parser, and JavaScriptMinifier\minify().