Trait TestListenerTrait
Implements empty default methods for PHPUnit\Framework\TestListener.
Namespace: Cake\TestSuite
Method Summary
-
addError() public
-
addFailure() public
-
addIncompleteTest() public
-
addRiskyTest() public
-
addSkippedTest() public
-
addWarning() public
-
endTest() public
-
endTestSuite() public
-
startTest() public
-
startTestSuite() public
Method Detail
addError() ¶ public
addError(Test $test, Throwable $t, float $time): void
Parameters
-
Test
$test -
Throwable
$t -
float
$time
Returns
void
addFailure() ¶ public
addFailure(Test $test, AssertionFailedError $e, float $time): void
Parameters
-
Test
$test -
AssertionFailedError
$e -
float
$time
Returns
void
addIncompleteTest() ¶ public
addIncompleteTest(Test $test, Throwable $e, float $time): void
Parameters
-
Test
$test -
Throwable
$e -
float
$time
Returns
void
addRiskyTest() ¶ public
addRiskyTest(Test $test, Throwable $e, float $time): void
Parameters
-
Test
$test -
Throwable
$e -
float
$time
Returns
void
addSkippedTest() ¶ public
addSkippedTest(Test $test, Throwable $t, float $time): void
Parameters
-
Test
$test -
Throwable
$t -
float
$time
Returns
void
addWarning() ¶ public
addWarning(Test $test, Warning $e, float $time): void
Parameters
-
Test
$test -
Warning
$e -
float
$time
Returns
void
endTest() ¶ public
endTest(Test $test, float $time): void
Parameters
-
Test
$test -
float
$time
Returns
void
endTestSuite() ¶ public
endTestSuite(TestSuite $suite): void
Parameters
-
TestSuite
$suite
Returns
void
startTestSuite() ¶ public
startTestSuite(TestSuite $suite): void
Parameters
-
TestSuite
$suite
Returns
void