PHP Class org\bovigo\vfs\vfsStreamDirectoryTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: mikey179/vfsstream

Protected Properties

Property Type Description
$dir vfsStreamDirectory instance to test

Public Methods

Method Description
addChildReplacesChildWithSameName_Bug_5 ( ) dd
childHandling ( ) test that adding, handling and removing of a child works as expected
childHandlingWithSubdirectory ( ) test that adding, handling and removing of a child works as expected
defaultValues ( ) test default values and methods
explicitTestForSeparatorWithNestedPaths_Bug_24 ( ) When testing for a nested path, verify that directory separators are respected properly so that subdir1/subdir2 is not considered equal to subdir1Xsubdir2.
getChildReturnsNullForNonExistingChild ( )
group ( ) setting and retrieving owner group of a file
hasChildReturnsFalseForNonExistingChild ( )
hasChildrenReturnsTrueIfAtLeastOneChildPresent ( )
hasNoChildrenByDefault ( )
invalidCharacterInName ( ) assure that a directory seperator inside the name throws an exception
nonExistingChild ( )
owner ( ) setting and retrieving owner of a file
permissions ( ) setting and retrieving permissions for a directory
permissionsSet ( ) setting and retrieving permissions for a directory
removeChildReturnsFalseForNonExistingChild ( )
rename ( ) test renaming the directory
renameToInvalidNameThrowsvfsStreamException ( ) renaming the directory to an invalid name throws a vfsStreamException
setUp ( ) set up test environment

Method Details

addChildReplacesChildWithSameName_Bug_5() public method

dd

childHandling() public method

test that adding, handling and removing of a child works as expected
public childHandling ( )

childHandlingWithSubdirectory() public method

test that adding, handling and removing of a child works as expected

defaultValues() public method

test default values and methods
public defaultValues ( )

explicitTestForSeparatorWithNestedPaths_Bug_24() public method

When testing for a nested path, verify that directory separators are respected properly so that subdir1/subdir2 is not considered equal to subdir1Xsubdir2.

getChildReturnsNullForNonExistingChild() public method

group() public method

setting and retrieving owner group of a file
public group ( )

hasChildReturnsFalseForNonExistingChild() public method

hasChildrenReturnsTrueIfAtLeastOneChildPresent() public method

Since: 0.10.0

hasNoChildrenByDefault() public method

Since: 0.10.0

invalidCharacterInName() public method

assure that a directory seperator inside the name throws an exception

nonExistingChild() public method

public nonExistingChild ( )

owner() public method

setting and retrieving owner of a file
public owner ( )

permissions() public method

setting and retrieving permissions for a directory
public permissions ( )

permissionsSet() public method

setting and retrieving permissions for a directory
public permissionsSet ( )

removeChildReturnsFalseForNonExistingChild() public method

rename() public method

test renaming the directory
public rename ( )

renameToInvalidNameThrowsvfsStreamException() public method

renaming the directory to an invalid name throws a vfsStreamException

setUp() public method

set up test environment
public setUp ( )

Property Details

$dir protected_oe property

instance to test
protected vfsStreamDirectory,org\bovigo\vfs $dir
return vfsStreamDirectory