HumHub Documentation (unofficial)

ResultPrinter extends ResultPrinter
in package

Table of Contents

Methods

addError()  : void
An error occurred.
addFailure()  : void
A failure occurred.
addIncompleteTest()  : void
Incomplete test.
addRiskyTest()  : void
Risky test.
addSkippedTest()  : void
Skipped test.
addWarning()  : void
A warning occurred.
printResult()  : void
startTest()  : void

Methods

addFailure()

A failure occurred.

public addFailure(Test $test, AssertionFailedError $e, float $time) : void
Parameters
$test : Test
$e : AssertionFailedError
$time : float

addRiskyTest()

Risky test.

public addRiskyTest(Test $test, Throwable $e, float $time) : void
Parameters
$test : Test
$e : Throwable
$time : float
Tags
since

Method available since Release 4.0.0

addSkippedTest()

Skipped test.

public addSkippedTest(Test $test, Throwable $e, float $time) : void
Parameters
$test : Test
$e : Throwable
$time : float
Tags
since

Method available since Release 3.0.0

addWarning()

A warning occurred.

public addWarning(Test $test, Warning $e, float $time) : void
Parameters
$test : Test
$e : Warning
$time : float

printResult()

public printResult(TestResult $result) : void
Parameters
$result : TestResult

        
On this page

Search results