Documentation

vfsStreamWrapperFlockTestCase extends BC_PHPUnit_Framework_TestCase
in package

Test for flock() implementation.

Tags
subpackage

test

since
0.10.0
see
https://github.com/mikey179/vfsStream/issues/6
group

issue_6

Table of Contents

$root  : vfsStreamContainer
root directory
bc_expectException()  : mixed
bc_getMock()  : mixed
canAquireEclusiveLock()  : mixed
canAquireEclusiveLockWithNonBlockingFlockCall()  : mixed
canAquireExclusiveLockIfAlreadySelfExclusivelyLocked()  : mixed
canAquireExclusiveLockIfAlreadySelfSharedLocked()  : mixed
canAquireSharedLock()  : mixed
canAquireSharedLockIfAlreadySelfExclusivelyLocked()  : mixed
canAquireSharedLockIfAlreadySelfSharedLocked()  : mixed
canAquireSharedLockIfAlreadySharedLockedOnOtherFileHandler()  : mixed
canAquireSharedLockWithNonBlockingFlockCall()  : mixed
canNotAquireExclusiveLockIfAlreadyExclusivelyLockedOnOtherFileHandler()  : mixed
canNotAquireExclusiveLockIfAlreadySharedLockedOnOtherFileHandler()  : mixed
canNotAquireSharedLockIfAlreadyExclusivelyLockedOnOtherFileHandler()  : mixed
canNotRemoveExlusiveLockAcquiredOnOtherFileHandler()  : mixed
canNotRemoveSharedLockAcquiredOnOtherFileHandler()  : mixed
canRemoveLock()  : mixed
canRemoveLockWhenNotLocked()  : mixed
canRemoveLockWithNonBlockingFlockCall()  : mixed
canRemoveSharedLockWithoutRemovingSharedLockOnOtherFileHandler()  : mixed
fileIsNotLockedByDefault()  : mixed
notRemovesExclusiveLockOnStreamCloseIfExclusiveLockAcquiredOnOtherFileHandler()  : mixed
notRemovesSharedLockOnStreamCloseIfSharedLockAcquiredOnOtherFileHandler()  : mixed
removesExclusiveLockOnStreamClose()  : mixed
removesSharedLockOnStreamClose()  : mixed
setUp()  : mixed
set up test environment
streamIsNotLockedByDefault()  : mixed

Properties

Methods

bc_expectException()

public bc_expectException(mixed $exception) : mixed
Parameters
$exception : mixed
Return values
mixed

bc_getMock()

public bc_getMock(mixed $originalClassName[, mixed $methods = array() ][, array<string|int, mixed> $arguments = array() ][, mixed $mockClassName = '' ][, mixed $callOriginalConstructor = true ][, mixed $callOriginalClone = true ][, mixed $callAutoload = true ][, mixed $cloneArguments = false ][, mixed $callOriginalMethods = false ][, mixed $proxyTarget = null ]) : mixed
Parameters
$originalClassName : mixed
$methods : mixed = array()
$arguments : array<string|int, mixed> = array()
$mockClassName : mixed = ''
$callOriginalConstructor : mixed = true
$callOriginalClone : mixed = true
$callAutoload : mixed = true
$cloneArguments : mixed = false
$callOriginalMethods : mixed = false
$proxyTarget : mixed = null
Return values
mixed

canAquireEclusiveLockWithNonBlockingFlockCall()

public canAquireEclusiveLockWithNonBlockingFlockCall() : mixed
Tags
test
Return values
mixed

canAquireSharedLockWithNonBlockingFlockCall()

public canAquireSharedLockWithNonBlockingFlockCall() : mixed
Tags
test
Return values
mixed

canRemoveLockWithNonBlockingFlockCall()

public canRemoveLockWithNonBlockingFlockCall() : mixed
Tags
test
Return values
mixed

Search results