PHP Class org\bovigo\vfs\vfsStreamWrapperFlockTestCase

See also: https://github.com/mikey179/vfsStream/issues/6
Since: 0.10.0
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: mikey179/vfsstream

Protected Properties

Property Type Description
$root org\bovigo\vfs\vfsStreamContainer root directory

Public Methods

Method Description
canAquireEclusiveLock ( )
canAquireEclusiveLockWithNonBlockingFlockCall ( )
canAquireExclusiveLockIfAlreadySelfExclusivelyLocked ( )
canAquireExclusiveLockIfAlreadySelfSharedLocked ( )
canAquireSharedLock ( )
canAquireSharedLockIfAlreadySelfExclusivelyLocked ( )
canAquireSharedLockIfAlreadySelfSharedLocked ( )
canAquireSharedLockIfAlreadySharedLockedOnOtherFileHandler ( )
canAquireSharedLockWithNonBlockingFlockCall ( )
canNotAquireExclusiveLockIfAlreadyExclusivelyLockedOnOtherFileHandler ( )
canNotAquireExclusiveLockIfAlreadySharedLockedOnOtherFileHandler ( )
canNotAquireSharedLockIfAlreadyExclusivelyLockedOnOtherFileHandler ( )
canNotRemoveExlusiveLockAcquiredOnOtherFileHandler ( )
canNotRemoveSharedLockAcquiredOnOtherFileHandler ( )
canRemoveLock ( )
canRemoveLockWhenNotLocked ( )
canRemoveLockWithNonBlockingFlockCall ( )
canRemoveSharedLockWithoutRemovingSharedLockOnOtherFileHandler ( )
fileIsNotLockedByDefault ( )
notRemovesExclusiveLockOnStreamCloseIfExclusiveLockAcquiredOnOtherFileHandler ( )
notRemovesSharedLockOnStreamCloseIfSharedLockAcquiredOnOtherFileHandler ( )
removesExclusiveLockOnStreamClose ( )
removesSharedLockOnStreamClose ( )
setUp ( ) set up test environment
streamIsNotLockedByDefault ( )

Method Details

canAquireEclusiveLock() public method

canAquireEclusiveLockWithNonBlockingFlockCall() public method

canAquireExclusiveLockIfAlreadySelfExclusivelyLocked() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canAquireExclusiveLockIfAlreadySelfSharedLocked() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canAquireSharedLock() public method

public canAquireSharedLock ( )

canAquireSharedLockIfAlreadySelfExclusivelyLocked() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canAquireSharedLockIfAlreadySelfSharedLocked() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canAquireSharedLockIfAlreadySharedLockedOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canAquireSharedLockWithNonBlockingFlockCall() public method

canNotAquireExclusiveLockIfAlreadyExclusivelyLockedOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canNotAquireExclusiveLockIfAlreadySharedLockedOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canNotAquireSharedLockIfAlreadyExclusivelyLockedOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canNotRemoveExlusiveLockAcquiredOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canNotRemoveSharedLockAcquiredOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canRemoveLock() public method

public canRemoveLock ( )

canRemoveLockWhenNotLocked() public method

See also: https://github.com/mikey179/vfsStream/issues/40

canRemoveLockWithNonBlockingFlockCall() public method

canRemoveSharedLockWithoutRemovingSharedLockOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

fileIsNotLockedByDefault() public method

notRemovesExclusiveLockOnStreamCloseIfExclusiveLockAcquiredOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

notRemovesSharedLockOnStreamCloseIfSharedLockAcquiredOnOtherFileHandler() public method

See also: https://github.com/mikey179/vfsStream/issues/40

removesExclusiveLockOnStreamClose() public method

See also: https://github.com/mikey179/vfsStream/issues/31
See also: https://github.com/mikey179/vfsStream/issues/40

removesSharedLockOnStreamClose() public method

See also: https://github.com/mikey179/vfsStream/issues/31
See also: https://github.com/mikey179/vfsStream/issues/40

setUp() public method

set up test environment
public setUp ( )

streamIsNotLockedByDefault() public method

Property Details

$root protected_oe property

root directory
protected vfsStreamContainer,org\bovigo\vfs $root
return org\bovigo\vfs\vfsStreamContainer