PHP Класс malkusch\lock\mutex\LockMutexTest

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

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

Метод Описание
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.

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

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

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

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

protected setUp ( )

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

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

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

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

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

Tests unlock() is called after an exception.

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

Tests unlock() fails after the code was executed.

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

The previous exception should be the code's exception.