HumHub Documentation (unofficial)

UI extends DefaultResultPrinter
in package
uses DispatcherWrapper

Table of Contents

Properties

$dispatcher  : EventDispatcher

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

Methods

__construct()

public __construct(EventDispatcher $dispatcher, mixed $options[, mixed $out = null ]) : mixed
Parameters
$dispatcher : EventDispatcher
$options : mixed
$out : mixed = null

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
$test : Test
$e : Throwable
$time : float

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

        
On this page

Search results