UI
extends DefaultResultPrinter
in package
uses
DispatcherWrapper
Table of Contents
Properties
Methods
- __construct() : mixed
- addError() : void
- addFailure() : void
- addIncompleteTest() : void
- addRiskyTest() : void
- addSkippedTest() : void
- addWarning() : void
- endTest() : void
- startTest() : void
- dispatch() : mixed
- Compatibility wrapper for dispatcher change between Symfony 4 and 5
- printDefect() : void
- printDefectTrace() : void
Properties
$dispatcher
protected
EventDispatcher
$dispatcher
Methods
__construct()
public
__construct(EventDispatcher $dispatcher, mixed $options[, mixed $out = null ]) : mixed
Parameters
- $dispatcher : EventDispatcher
- $options : mixed
- $out : mixed = null
addError()
public
addError(Test $test, Throwable $e, float $time) : void
Parameters
addFailure()
public
addFailure(Test $test, AssertionFailedError $e, float $time) : void
Parameters
- $test : Test
- $e : AssertionFailedError
- $time : float
addIncompleteTest()
public
addIncompleteTest(Test $test, Throwable $e, float $time) : void
Parameters
addRiskyTest()
public
addRiskyTest(Test $test, Throwable $e, float $time) : void
Parameters
addSkippedTest()
public
addSkippedTest(Test $test, Throwable $e, float $time) : void
Parameters
addWarning()
public
addWarning(Test $test, Warning $e, float $time) : void
Parameters
- $test : Test
- $e : Warning
- $time : float
endTest()
public
endTest(Test $test, float $time) : void
Parameters
- $test : Test
- $time : float
startTest()
public
startTest(Test $test) : void
Parameters
- $test : Test
dispatch()
Compatibility wrapper for dispatcher change between Symfony 4 and 5
protected
dispatch(EventDispatcher $dispatcher, string $eventType, Event $eventObject) : mixed
Parameters
- $dispatcher : EventDispatcher
- $eventType : string
- $eventObject : Event
printDefect()
protected
printDefect(TestFailure $defect, int $count) : void
Parameters
- $defect : TestFailure
- $count : int
printDefectTrace()
protected
printDefectTrace(TestFailure $defect) : void
Parameters
- $defect : TestFailure