MediaWiki
1.32.5
|
\MediaWiki\Shell\Command Shell More...
Public Member Functions | |
provideExecute () | |
testEnvironment () | |
testExecute ( $commandInput, $expectedExitCode, $expectedOutput) | |
provideExecute More... | |
testInput () | |
testLogStderr () | |
testNullsAreSkipped () | |
Test that null values are skipped by params() and unsafeParams() More... | |
testOutput () | |
testStdout () | |
testStdoutRedirection () | |
testT69870 () | |
Private Member Functions | |
requirePosix () | |
\MediaWiki\Shell\Command Shell
Definition at line 10 of file CommandTest.php.
CommandTest::provideExecute | ( | ) |
Definition at line 35 of file CommandTest.php.
|
private |
Definition at line 14 of file CommandTest.php.
References wfIsWindows().
Referenced by testEnvironment(), testExecute(), testInput(), testLogStderr(), testOutput(), testStdout(), and testStdoutRedirection().
CommandTest::testEnvironment | ( | ) |
Definition at line 43 of file CommandTest.php.
References $command, and requirePosix().
CommandTest::testExecute | ( | $commandInput, | |
$expectedExitCode, | |||
$expectedOutput | |||
) |
provideExecute
Definition at line 23 of file CommandTest.php.
References $command, and requirePosix().
CommandTest::testInput | ( | ) |
Definition at line 158 of file CommandTest.php.
References $command, and requirePosix().
CommandTest::testLogStderr | ( | ) |
Definition at line 137 of file CommandTest.php.
References $command, $context, captcha-old\count, requirePosix(), and true.
CommandTest::testNullsAreSkipped | ( | ) |
Test that null values are skipped by params() and unsafeParams()
Definition at line 114 of file CommandTest.php.
References $command.
CommandTest::testOutput | ( | ) |
Definition at line 81 of file CommandTest.php.
References $command, $IP, and requirePosix().
CommandTest::testStdout | ( | ) |
Definition at line 54 of file CommandTest.php.
References $command, and requirePosix().
CommandTest::testStdoutRedirection | ( | ) |
Definition at line 67 of file CommandTest.php.
References $command, and requirePosix().
CommandTest::testT69870 | ( | ) |
Definition at line 121 of file CommandTest.php.
References $command, $output, and wfIsWindows().