PHP Класс org\bovigo\vfs\vfsStreamDirectoryTestCase

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$dir vfsStreamDirectory instance to test

Открытые методы

Метод Описание
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

Описание методов

addChildReplacesChildWithSameName_Bug_5() публичный Метод

dd

childHandling() публичный Метод

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

childHandlingWithSubdirectory() публичный Метод

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

defaultValues() публичный Метод

test default values and methods
public defaultValues ( )

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
public group ( )

hasChildReturnsFalseForNonExistingChild() публичный Метод

hasChildrenReturnsTrueIfAtLeastOneChildPresent() публичный Метод

С версии: 0.10.0

hasNoChildrenByDefault() публичный Метод

С версии: 0.10.0

invalidCharacterInName() публичный Метод

assure that a directory seperator inside the name throws an exception

nonExistingChild() публичный Метод

public nonExistingChild ( )

owner() публичный Метод

setting and retrieving owner of a file
public owner ( )

permissions() публичный Метод

setting and retrieving permissions for a directory
public permissions ( )

permissionsSet() публичный Метод

setting and retrieving permissions for a directory
public permissionsSet ( )

removeChildReturnsFalseForNonExistingChild() публичный Метод

rename() публичный Метод

test renaming the directory
public rename ( )

renameToInvalidNameThrowsvfsStreamException() публичный Метод

renaming the directory to an invalid name throws a vfsStreamException

setUp() публичный Метод

set up test environment
public setUp ( )

Описание свойств

$dir защищенное свойство

instance to test
protected vfsStreamDirectory,org\bovigo\vfs $dir
Результат vfsStreamDirectory