MediaWiki REL1_31
JavaScriptMinifierTest Class Reference
Inheritance diagram for JavaScriptMinifierTest:
Collaboration diagram for JavaScriptMinifierTest:

Public Member Functions

 testExponentLineBreaking ( $num)
 provideExponentLineBreaking JavaScriptMinifier::minify
 
 testMinifyOutput ( $code, $expectedOutput, $expectedValid=true)
 provideCases JavaScriptMinifier::minify JavaScriptMinifier::parseError
 

Static Public Member Functions

static provideCases ()
 
static provideExponentLineBreaking ()
 

Detailed Description

Definition at line 3 of file JavaScriptMinifierTest.php.

Member Function Documentation

◆ provideCases()

static JavaScriptMinifierTest::provideCases ( )
static

Definition at line 7 of file JavaScriptMinifierTest.php.

References false.

◆ provideExponentLineBreaking()

static JavaScriptMinifierTest::provideExponentLineBreaking ( )
static

Definition at line 206 of file JavaScriptMinifierTest.php.

◆ testExponentLineBreaking()

JavaScriptMinifierTest::testExponentLineBreaking ( $num)

provideExponentLineBreaking JavaScriptMinifier::minify

Definition at line 228 of file JavaScriptMinifierTest.php.

References $input, and JavaScriptMinifier\minify().

◆ testMinifyOutput()

JavaScriptMinifierTest::testMinifyOutput ( $code,
$expectedOutput,
$expectedValid = true )

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