PHP Class malkusch\lock\mutex\LockMutexTest

See also: LockMutex
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: malkusch/lock

Méthodes publiques

Méthode Description
testLockFails ( ) Tests lock() fails and the code is not executed.
testUnlockAfterCode ( ) Tests unlock() is called after the code was executed.
testUnlockAfterException ( ) Tests unlock() is called after an exception.
testUnlockFailsAfterCode ( ) Tests unlock() fails after the code was executed.
testUnlockFailsAfterException ( ) Tests unlock() fails after the code threw an exception.

Méthodes protégées

Méthode Description
setUp ( )

Method Details

setUp() protected méthode

protected setUp ( )

testLockFails() public méthode

Tests lock() fails and the code is not executed.
public testLockFails ( )

testUnlockAfterCode() public méthode

Tests unlock() is called after the code was executed.
public testUnlockAfterCode ( )

testUnlockAfterException() public méthode

Tests unlock() is called after an exception.

testUnlockFailsAfterCode() public méthode

Tests unlock() fails after the code was executed.

testUnlockFailsAfterException() public méthode

The previous exception should be the code's exception.