PHP Class org\bovigo\vfs\vfsStreamDirectoryTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: mikey179/vfsstream

Protected Properties

Свойство Type Description
$dir vfsStreamDirectory instance to test

Méthodes publiques

Méthode 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 méthode

dd

childHandling() public méthode

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

childHandlingWithSubdirectory() public méthode

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

defaultValues() public méthode

test default values and methods
public defaultValues ( )

explicitTestForSeparatorWithNestedPaths_Bug_24() public méthode

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 méthode

group() public méthode

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

hasChildReturnsFalseForNonExistingChild() public méthode

hasChildrenReturnsTrueIfAtLeastOneChildPresent() public méthode

Since: 0.10.0

hasNoChildrenByDefault() public méthode

Since: 0.10.0

invalidCharacterInName() public méthode

assure that a directory seperator inside the name throws an exception

nonExistingChild() public méthode

public nonExistingChild ( )

owner() public méthode

setting and retrieving owner of a file
public owner ( )

permissions() public méthode

setting and retrieving permissions for a directory
public permissions ( )

permissionsSet() public méthode

setting and retrieving permissions for a directory
public permissionsSet ( )

removeChildReturnsFalseForNonExistingChild() public méthode

rename() public méthode

test renaming the directory
public rename ( )

renameToInvalidNameThrowsvfsStreamException() public méthode

renaming the directory to an invalid name throws a vfsStreamException

setUp() public méthode

set up test environment
public setUp ( )

Property Details

$dir protected_oe property

instance to test
protected vfsStreamDirectory,org\bovigo\vfs $dir
Résultat vfsStreamDirectory