MediaWiki REL1_33
|
Public Member Functions | |
addError (PHPUnit_Framework_Test $test, Exception $e, $time) | |
An error occurred. | |
addFailure (PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) | |
A failure occurred. | |
addIncompleteTest (PHPUnit_Framework_Test $test, Exception $e, $time) | |
Incomplete test. | |
addSkippedTest (PHPUnit_Framework_Test $test, Exception $e, $time) | |
Skipped test. | |
endTest (PHPUnit_Framework_Test $test, $time) | |
A test ended. | |
endTestSuite (PHPUnit_Framework_TestSuite $suite) | |
A test suite ended. | |
startTest (PHPUnit_Framework_Test $test) | |
A test started. | |
startTestSuite (PHPUnit_Framework_TestSuite $suite) | |
A test suite started. | |
Protected Member Functions | |
getErrorName (Exception $exception) | |
getTestName (PHPUnit_Framework_Test $test) | |
Protected Attributes | |
string | $logChannel = 'PHPUnitCommand' |
Definition at line 3 of file MediaWikiPHPUnitTestListener.php.
MediaWikiPHPUnitTestListener::addError | ( | PHPUnit_Framework_Test | $test, |
Exception | $e, | ||
$time ) |
An error occurred.
PHPUnit_Framework_Test | $test | |
Exception | $e | |
float | $time |
Definition at line 34 of file MediaWikiPHPUnitTestListener.php.
References getErrorName(), getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::addFailure | ( | PHPUnit_Framework_Test | $test, |
PHPUnit_Framework_AssertionFailedError | $e, | ||
$time ) |
A failure occurred.
PHPUnit_Framework_Test | $test | |
PHPUnit_Framework_AssertionFailedError | $e | |
float | $time |
Definition at line 48 of file MediaWikiPHPUnitTestListener.php.
References getErrorName(), getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::addIncompleteTest | ( | PHPUnit_Framework_Test | $test, |
Exception | $e, | ||
$time ) |
Incomplete test.
PHPUnit_Framework_Test | $test | |
Exception | $e | |
float | $time |
Definition at line 64 of file MediaWikiPHPUnitTestListener.php.
References getErrorName(), getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::addSkippedTest | ( | PHPUnit_Framework_Test | $test, |
Exception | $e, | ||
$time ) |
Skipped test.
PHPUnit_Framework_Test | $test | |
Exception | $e | |
float | $time |
Definition at line 78 of file MediaWikiPHPUnitTestListener.php.
References getErrorName(), getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::endTest | ( | PHPUnit_Framework_Test | $test, |
$time ) |
A test ended.
PHPUnit_Framework_Test | $test | |
float | $time |
Definition at line 119 of file MediaWikiPHPUnitTestListener.php.
References $time, getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::endTestSuite | ( | PHPUnit_Framework_TestSuite | $suite | ) |
A test suite ended.
PHPUnit_Framework_TestSuite | $suite |
Definition at line 99 of file MediaWikiPHPUnitTestListener.php.
References wfDebugLog().
|
protected |
Definition at line 20 of file MediaWikiPHPUnitTestListener.php.
Referenced by addError(), addFailure(), addIncompleteTest(), and addSkippedTest().
|
protected |
Definition at line 10 of file MediaWikiPHPUnitTestListener.php.
Referenced by addError(), addFailure(), addIncompleteTest(), addSkippedTest(), endTest(), and startTest().
MediaWikiPHPUnitTestListener::startTest | ( | PHPUnit_Framework_Test | $test | ) |
A test started.
PHPUnit_Framework_Test | $test |
Definition at line 108 of file MediaWikiPHPUnitTestListener.php.
References getTestName(), and wfDebugLog().
MediaWikiPHPUnitTestListener::startTestSuite | ( | PHPUnit_Framework_TestSuite | $suite | ) |
A test suite started.
PHPUnit_Framework_TestSuite | $suite |
Definition at line 90 of file MediaWikiPHPUnitTestListener.php.
References wfDebugLog().
|
protected |
Definition at line 8 of file MediaWikiPHPUnitTestListener.php.