PHP Class PHPUnit\Runner\CleverAndSmart\TestListener

Inheritance: implements PHPUnit_Framework_TestListener
Show file Open project: lstrojny/phpunit-clever-and-smart

Public Methods

Method Description
__construct ( PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface $storage )
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 )
endTest ( PHPUnit_Framework_Test $test, $time )
endTestSuite ( PHPUnit_Framework_TestSuite $suite )
onCancel ( )
onFatalError ( )
startTest ( PHPUnit_Framework_Test $test )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )

Private Methods

Method Description
sort ( PHPUnit_Framework_TestSuite $suite )

Method Details

__construct() public method

public __construct ( PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface $storage )
$storage PHPUnit\Runner\CleverAndSmart\Storage\StorageInterface

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

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

onCancel() public method

public onCancel ( )

onFatalError() public method

public onFatalError ( )

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