Documentation

TestListenerForV7 extends TestSuite
in package
implements TestListener

Tags
author

Ion Bazan ion.bazan@gmail.com

Interfaces, Classes and Traits

TestListener

Table of Contents

$suite  : mixed
$trait  : mixed
__construct()  : mixed
addError()  : void
addFailure()  : void
addIncompleteTest()  : void
addRiskyTest()  : void
addSkippedTest()  : void
addWarning()  : void
endTest()  : void
endTestSuite()  : void
startTest()  : void
startTestSuite()  : void
warning()  : WarningTestCase
setUp()  : void
tearDown()  : void

Properties

Methods

__construct()

public __construct([TestSuite $suite = null ]) : mixed
Parameters
$suite : TestSuite = null
Return values
mixed

addError()

public addError(Test $test, Throwable $t, float $time) : void
Parameters
$test : Test
$t : Throwable
$time : float
Return values
void

addFailure()

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

addIncompleteTest()

public addIncompleteTest(Test $test, Throwable $t, float $time) : void
Parameters
$test : Test
$t : Throwable
$time : float
Return values
void

addRiskyTest()

public addRiskyTest(Test $test, Throwable $t, float $time) : void
Parameters
$test : Test
$t : Throwable
$time : float
Return values
void

addSkippedTest()

public addSkippedTest(Test $test, Throwable $t, float $time) : void
Parameters
$test : Test
$t : Throwable
$time : float
Return values
void

addWarning()

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

endTest()

public endTest(Test $test, float $time) : void
Parameters
$test : Test
$time : float
Return values
void

endTestSuite()

public endTestSuite(TestSuite $suite) : void
Parameters
$suite : TestSuite
Return values
void

startTest()

public startTest(Test $test) : void
Parameters
$test : Test
Return values
void

startTestSuite()

public startTestSuite(TestSuite $suite) : void
Parameters
$suite : TestSuite
Return values
void

warning()

public static warning(mixed $message) : WarningTestCase
Parameters
$message : mixed
Return values
WarningTestCase

Search results