SS_TestListener
class SS_TestListener implements PHPUnit_Framework_TestListener (View source)
Necessary to call setUpOnce() and tearDownOnce() on SapphireTest classes. This feature doesn't exist in PHPUnit in the same way (setUpBeforeClass() and tearDownAfterClass() are just called statically).
Methods
public
addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
No description
Details
addError(PHPUnit_Framework_Test $test, Exception $e, $time)
No description
addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
No description
addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
No description
addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
No description
startTest(PHPUnit_Framework_Test $test)
No description
endTest(PHPUnit_Framework_Test $test, $time)
No description
startTestSuite(PHPUnit_Framework_TestSuite $suite)
No description
endTestSuite(PHPUnit_Framework_TestSuite $suite)
No description
addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, float $time)
Since: Method available since Release 3.8.0
Risky test.
protected bool
isValidClass($name)
No description