PHP Класс malkusch\lock\util\LoopTest

См. также: Loop
Автор: Markus Malkusch ([email protected])
Наследование: extends PHPUnit_Framework_TestCase, use trait phpmock\phpunit\PHPMock
Показать файл Открыть проект

Открытые методы

Метод Описание
testEnd ( ) Tests end() will stop the iteration and return the result.
testExceedTimeout ( ) Tests exceeding the execution timeout.
testExceedTimeoutWithoutExplicitEnd ( ) Tests exceeding the execution timeout without calling end().
testExceptionStopsIteration ( ) Tests that an exception would stop any further iteration.
testExecutionWithinTimeout ( ) Tests execution within the timeout.
testInvalidTimeout ( ) Test an invalid timeout.
testIteration ( ) Tests that the code is executed more times.

Защищенные методы

Метод Описание
setUp ( )

Описание методов

setUp() защищенный Метод

protected setUp ( )

testEnd() публичный Метод

Tests end() will stop the iteration and return the result.
public testEnd ( )

testExceedTimeout() публичный Метод

Tests exceeding the execution timeout.
public testExceedTimeout ( )

testExceedTimeoutWithoutExplicitEnd() публичный Метод

Tests exceeding the execution timeout without calling end().

testExceptionStopsIteration() публичный Метод

Tests that an exception would stop any further iteration.

testExecutionWithinTimeout() публичный Метод

Tests execution within the timeout.

testInvalidTimeout() публичный Метод

Test an invalid timeout.
public testInvalidTimeout ( )

testIteration() публичный Метод

Tests that the code is executed more times.
public testIteration ( )