PHP Class malkusch\lock\util\LoopTest

See also: Loop
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase, use trait phpmock\phpunit\PHPMock
Datei anzeigen Open project: malkusch/lock

Public Methods

Method Description
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.

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testEnd() public method

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

testExceedTimeout() public method

Tests exceeding the execution timeout.
public testExceedTimeout ( )

testExceedTimeoutWithoutExplicitEnd() public method

Tests exceeding the execution timeout without calling end().

testExceptionStopsIteration() public method

Tests that an exception would stop any further iteration.

testExecutionWithinTimeout() public method

Tests execution within the timeout.

testInvalidTimeout() public method

Test an invalid timeout.
public testInvalidTimeout ( )

testIteration() public method

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