PHP Class malkusch\lock\mutex\MemcachedMutexTest

Please provide the environment variable MEMCACHE_HOST.
See also: MemcachedMutex
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: malkusch/lock

Public Methods

Method Description
testFailAcquireLock ( ) Tests failing to acquire the lock.
testFailReleasingLock ( ) Tests failing to release a lock.

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
buildMemcachedMutex ( string $name, &$memcache, integer $timeout = 3 ) : MemcachedMutex Builds a MemcachedMutex.

Method Details

setUp() protected method

protected setUp ( )

testFailAcquireLock() public method

Tests failing to acquire the lock.
public testFailAcquireLock ( )

testFailReleasingLock() public method

Tests failing to release a lock.