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

Public Member Functions

 testExponentLineBreaking ( $num)
 provideExponentLineBreaking JavaScriptMinifier::minify More...
 
 testJavaScriptMinifierOutput ( $code, $expectedOutput, $expectedValid=true)
 provideCases JavaScriptMinifier::minify More...
 

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 5 of file JavaScriptMinifierTest.php.

References false.

◆ provideExponentLineBreaking()

static JavaScriptMinifierTest::provideExponentLineBreaking ( )
static

Definition at line 176 of file JavaScriptMinifierTest.php.

◆ testExponentLineBreaking()

JavaScriptMinifierTest::testExponentLineBreaking (   $num)

provideExponentLineBreaking JavaScriptMinifier::minify

Definition at line 198 of file JavaScriptMinifierTest.php.

References $input, and JavaScriptMinifier\minify().

◆ testJavaScriptMinifierOutput()

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

provideCases JavaScriptMinifier::minify

Definition at line 157 of file JavaScriptMinifierTest.php.

References $code, $parser, and JavaScriptMinifier\minify().


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