- \PHPUnit_Framework_BaseTestListener
abstract class (none) \ PHPUnit_Framework_BaseTestListener
- All implemented interfaces:
- PHPUnit_Framework_TestListener
An empty Listener that can be extended to implement TestListener with just a few lines of code.
- See Also:
- PHPUnit_Framework_TestListener - for documentation on the API methods.
Method Summary
Name | Description |
---|---|
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. |
addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) | Risky 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. |
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time)
An error occurred. (from addError)
- Parameters:
PHPUnit_Framework_Test
- $testException
- $efloat
- $time
public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
A failure occurred. (from addFailure)
- Parameters:
PHPUnit_Framework_Test
- $testPHPUnit_Framework_AssertionFailedError
- $efloat
- $time
public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
Incomplete test. (from addIncompleteTest)
- Parameters:
PHPUnit_Framework_Test
- $testException
- $efloat
- $time
public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
Risky test. (from addRiskyTest)
- Parameters:
PHPUnit_Framework_Test
- $testException
- $efloat
- $time
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
Skipped test. (from addSkippedTest)
- Parameters:
PHPUnit_Framework_Test
- $testException
- $efloat
- $time
public function endTest(PHPUnit_Framework_Test $test, $time)
A test ended. (from endTest)
- Parameters:
PHPUnit_Framework_Test
- $testfloat
- $time
public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
A test suite ended. (from endTestSuite)
- Parameters:
PHPUnit_Framework_TestSuite
- $suite
public function startTest(PHPUnit_Framework_Test $test)
A test started. (from startTest)
- Parameters:
PHPUnit_Framework_Test
- $test
public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
A test suite started. (from startTestSuite)
- Parameters:
PHPUnit_Framework_TestSuite
- $suite