Trait TestListenerTrait

Implements empty default methods for PHPUnit\Framework\TestListener.

Namespace: Cake\TestSuite

Method Summary

Method Detail

addError() public

addError(\PHPUnit\Framework\Test $test, \Throwable $t, float $time)

Parameters

\PHPUnit\Framework\Test $test
\Throwable $t
float $time

addFailure() public

addFailure(\PHPUnit\Framework\Test $test, \PHPUnit\Framework\AssertionFailedError $e, float $time)

Parameters

\PHPUnit\Framework\Test $test
\PHPUnit\Framework\AssertionFailedError $e
float $time

addIncompleteTest() public

addIncompleteTest(\PHPUnit\Framework\Test $test, \Throwable $t, float $time)

Parameters

\PHPUnit\Framework\Test $test
\Throwable $t
float $time

addRiskyTest() public

addRiskyTest(\PHPUnit\Framework\Test $test, \Throwable $t, float $time)

Parameters

\PHPUnit\Framework\Test $test
\Throwable $t
float $time

addSkippedTest() public

addSkippedTest(\PHPUnit\Framework\Test $test, \Throwable $t, float $time)

Parameters

\PHPUnit\Framework\Test $test
\Throwable $t
float $time

addWarning() public

addWarning(\PHPUnit\Framework\Test $test, \PHPUnit\Framework\Warning $e, float $time)

Parameters

\PHPUnit\Framework\Test $test
\PHPUnit\Framework\Warning $e
float $time

endTest() public

endTest(\PHPUnit\Framework\Test $test, float $time)

Parameters

\PHPUnit\Framework\Test $test
float $time

endTestSuite() public

endTestSuite(\PHPUnit\Framework\TestSuite $suite)

Parameters

\PHPUnit\Framework\TestSuite $suite

startTest() public

startTest(\PHPUnit\Framework\Test $test)

Parameters

\PHPUnit\Framework\Test $test

startTestSuite() public

startTestSuite(\PHPUnit\Framework\TestSuite $suite)

Parameters

\PHPUnit\Framework\TestSuite $suite

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/trait-Cake.TestSuite.TestListenerTrait.html