Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



third_party/vfsstream/vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php

Table of Contents
This file is part of vfsStream.

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Package
org\bovigo\vfs

\org\bovigo\vfs\vfsStreamDirectoryTestCase

Package: Default
Test for org\bovigo\vfs\vfsStreamDirectory.
Parent(s)
\PHPUnit_Framework_TestCase

Methods

method public addChildReplacesChildWithSameName_Bug_5 () : void

dd

Details
Group
regression
Group
bug_5
Test
method public childHandling () : void

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

Details
Test
method public childHandlingWithSubdirectory () : void

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

Details
Test
method public defaultValues () : void

test default values and methods

Details
Test
method public explicitTestForSeparatorWithNestedPaths_Bug_24 () : void

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

Details
Group
bug_24
Group
regression
Test
method public getChildReturnsNullForNonExistingChild () : void

Details
Test
method public group () : void

setting and retrieving owner group of a file

Details
Group
permissions
Test
method public hasChildReturnsFalseForNonExistingChild () : void

Details
Test
method public hasChildrenReturnsTrueIfAtLeastOneChildPresent () : void

Details
Since
0.10.0
Test
method public hasNoChildrenByDefault () : void

Details
Since
0.10.0
Test
method public invalidCharacterInName () : void

assure that a directory seperator inside the name throws an exception

Details
ExpectedException
org\bovigo\vfs\vfsStreamException
Test
method public nonExistingChild () : void

Details
Test
method public owner () : void

setting and retrieving owner of a file

Details
Group
permissions
Test
method public permissions () : void

setting and retrieving permissions for a directory

Details
Group
permissions
Test
method public permissionsSet () : void

setting and retrieving permissions for a directory

Details
Group
permissions
Test
method public removeChildReturnsFalseForNonExistingChild () : void

Details
Test
method public rename () : void

test renaming the directory

Details
Test
method public renameToInvalidNameThrowsvfsStreamException () : void

renaming the directory to an invalid name throws a vfsStreamException

Details
ExpectedException
org\bovigo\vfs\vfsStreamException
Test
method public setUp () : void

set up test environment

Documentation was generated by phpDocumentor 2.0.0a12 .