PHP Class malkusch\lock\mutex\CASMutexTest

See also: CASMutex
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
testExceedTimeout ( ) Tests exceeding the execution timeout.
testExceptionStopsIteration ( ) Tests that an exception would stop any further iteration.
testIteration ( ) Tests that the code is executed more times.
testNotify ( ) Tests notify() will stop the iteration and return the result.

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testExceedTimeout() public method

Tests exceeding the execution timeout.
public testExceedTimeout ( )

testExceptionStopsIteration() public method

Tests that an exception would stop any further iteration.

testIteration() public method

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

testNotify() public method

Tests notify() will stop the iteration and return the result.
public testNotify ( )