PHP Class malkusch\lock\util\LoopTest

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
setUp ( )

Method Details

setUp() protected méthode

protected setUp ( )

testEnd() public méthode

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

testExceedTimeout() public méthode

Tests exceeding the execution timeout.
public testExceedTimeout ( )

testExceedTimeoutWithoutExplicitEnd() public méthode

Tests exceeding the execution timeout without calling end().

testExceptionStopsIteration() public méthode

Tests that an exception would stop any further iteration.

testExecutionWithinTimeout() public méthode

Tests execution within the timeout.

testInvalidTimeout() public méthode

Test an invalid timeout.
public testInvalidTimeout ( )

testIteration() public méthode

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