MediaWiki  1.30.0
CommandTest Class Reference

Shell. More...

Inheritance diagram for CommandTest:
Collaboration diagram for CommandTest:

Public Member Functions

 provideExecute ()
 
 testEnvironment ()
 
 testExecute ( $commandInput, $expectedExitCode, $expectedOutput)
 provideExecute More...
 
 testNullsAreSkipped ()
 Test that null values are skipped by params() and unsafeParams() More...
 
 testOutput ()
 
 testT69870 ()
 

Private Member Functions

 requirePosix ()
 

Detailed Description

Shell.

Definition at line 9 of file CommandTest.php.

Member Function Documentation

◆ provideExecute()

CommandTest::provideExecute ( )

Definition at line 31 of file CommandTest.php.

◆ requirePosix()

CommandTest::requirePosix ( )
private

Definition at line 10 of file CommandTest.php.

References wfIsWindows().

Referenced by testEnvironment(), testExecute(), and testOutput().

◆ testEnvironment()

CommandTest::testEnvironment ( )

Definition at line 39 of file CommandTest.php.

References $command, and requirePosix().

◆ testExecute()

CommandTest::testExecute (   $commandInput,
  $expectedExitCode,
  $expectedOutput 
)

provideExecute

Definition at line 19 of file CommandTest.php.

References $command, and requirePosix().

◆ testNullsAreSkipped()

CommandTest::testNullsAreSkipped ( )

Test that null values are skipped by params() and unsafeParams()

Definition at line 72 of file CommandTest.php.

References $command.

◆ testOutput()

CommandTest::testOutput ( )

Definition at line 50 of file CommandTest.php.

References $command, $IP, global, and requirePosix().

◆ testT69870()

CommandTest::testT69870 ( )

Definition at line 79 of file CommandTest.php.

References $command, $output, and wfIsWindows().


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