PHP Class MyBuilder\PhpunitAccelerator\TestListener

Inheritance: implements PHPUnit_Framework_TestListener
Datei anzeigen Open project: mybuilder/phpunit-accelerator Class Usage Examples

Public Methods

Method Description
__construct ( MyBuilder\PhpunitAccelerator\IgnoreTestPolicy $ignorePolicy = null )
addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time )
endTest ( PHPUnit_Framework_Test $test, $time )
endTestSuite ( PHPUnit_Framework_TestSuite $suite )
startTest ( PHPUnit_Framework_Test $test )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )

Private Methods

Method Description
freeProperty ( PHPUnit_Framework_Test $test, ReflectionProperty $property )
isNotPhpUnitProperty ( ReflectionProperty $property )
isSafeToFreeProperty ( ReflectionProperty $property )
safelyFreeProperties ( PHPUnit_Framework_Test $test, array $properties )

Method Details

__construct() public method

public __construct ( MyBuilder\PhpunitAccelerator\IgnoreTestPolicy $ignorePolicy = null )
$ignorePolicy MyBuilder\PhpunitAccelerator\IgnoreTestPolicy

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addFailure() public method

public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError

addIncompleteTest() public method

public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addRiskyTest() public method

public addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addSkippedTest() public method

public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addWarning() public method

public addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_Warning

endTest() public method

public endTest ( PHPUnit_Framework_Test $test, $time )
$test PHPUnit_Framework_Test

endTestSuite() public method

public endTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

startTest() public method

public startTest ( PHPUnit_Framework_Test $test )
$test PHPUnit_Framework_Test

startTestSuite() public method

public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite