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/vfsStreamWrapperDirTestCase.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\vfsStreamWrapperMkDirTestCase

Package: bovigo\vfs\test
Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().
Parent(s)
\org\bovigo\vfs\vfsStreamWrapperBaseTestCase < \PHPUnit_Framework_TestCase

Methods

method public accessWithDoubleDotReturnsCorrectContent () : void

Details
Group
bug_19
Test
method public canCreateFolderOfSameNameAsParentFolder () : void

Details
Group
issue_32
Test
method public canNotIterateOverNonReadableDirectory () : void

Details
Group
permissions
Group
bug_15
Test
method public canNotUnlinkDirectoryWithoutRoot () : void

can not unlink without root

Details
Test
method public canRetrieveFolderOfSameNameAsParentFolder () : void

Details
Group
issue_32
Test
method public directoryIteration () : void

Details
Test
method public directoryIterationShouldBeIndependent () : void

assure that a directory iteration works as expected

Details
Test
method public directoryIterationWithDot () : void

Details
Test
method public directoryIterationWithOpenDir_Bug_2 () : void

assure that a directory iteration works as expected

Details
Group
regression
Group
bug_2
Test
method public directoryIteration_Bug_4 () : void

assure that a directory iteration works as expected

Details
Author
Christoph Bloemer
Group
regression
Group
bug_4
Test
method public is_dir () : void

assert is_dir() returns correct result

Details
Test
method public issue17 () : void

Details
Group
permissions
Group
bug_17
Test
method public mkDirShouldNotOverwriteExistingDirectories () : void

Details
Group
issue_28
Test
method public mkDirShouldNotOverwriteExistingDirectoriesAndTriggerE_USER_WARNING () : void

Details
ExpectedException
PHPUnit_Framework_Error
ExpectedExceptionMessage
mkdir(): Path vfs://root/dir exists
Group
issue_28
Test
method public mkDirShouldNotOverwriteExistingFiles () : void

Details
Group
issue_28
Test
method public mkDirShouldNotOverwriteExistingFilesAndTriggerE_USER_WARNING () : void

Details
ExpectedException
PHPUnit_Framework_Error
ExpectedExceptionMessage
mkdir(): Path vfs://root/test.txt exists
Group
issue_28
Test
method public mkdirDirCanNotCreateNewDirInNonWritingDirectory () : void

Details
Group
permissions
Group
bug_15
Test
method public mkdirNoNewRoot () : void

mkdir() should not overwrite existing root

Details
Test
method public mkdirNoNewRootRecursively () : void

mkdir() should not overwrite existing root

Details
Test
method public mkdirNonRecursively () : void

assert that mkdir() creates the correct directory structure

Details
Group
permissions
Test
method public mkdirNonRecursivelyDifferentPermissions () : void

assert that mkdir() creates the correct directory structure

Details
Group
permissions
Test
method public mkdirOnFileReturnsFalse () : void

trying to create a subdirectory of a file should not work

Details
Test
method public mkdirRecursively () : void

assert that mkdir() creates the correct directory structure

Details
Group
permissions
Test
method public mkdirRecursivelyDifferentPermissions () : void

assert that mkdir() creates the correct directory structure

Details
Group
permissions
Test
method public mkdirRecursivelyUsesDefaultPermissions () : void

assert that mkdir() creates the correct directory structure

Details
Group
permissions
Test
method public mkdirWithDots () : void

Details
Group
issue_9
Since
0.9.0
Test
method public mkdirWithoutRootCreatesNewRoot () : void

no root > new directory becomes root

Details
Group
permissions
Test
method public mkdirWithoutRootCreatesNewRootDifferentPermissions () : void

no root > new directory becomes root

Details
Group
permissions
Test
method public mkdirWithoutRootCreatesNewRootWithDefaultPermissions () : void

no root > new directory becomes root

Details
Group
permissions
Test
method public rmdirCanNotRemoveFiles () : void

rmdir() can not remove files

Details
Test
method public rmdirCanNotRemoveNonEmptyDirectory () : void

rmdir() can not remove non-empty directories

Details
Test
method public rmdirCanNotRemoveNonExistingDirectory () : void

rmdir() can not remove a non-existing directory

Details
Test
method public rmdirCanRemoveEmptyDirectory () : void

Details
Test
method public rmdirCanRemoveEmptyDirectoryWithDot () : void

Details
Test
method public rmdirCanRemoveEmptyRoot () : void

rmdir() can remove empty directories

Details
Test
method public rmdirDirCanNotRemoveDirFromNonWritingDirectory () : void

Details
Group
permissions
Group
bug_15
Test
method public setUp () : void
inherited

set up test environment

Inherited from: \org\bovigo\vfs\vfsStreamWrapperBaseTestCase::setUp()
method public unlinkCanNotRemoveEmptyDirectory () : void

Details
Group
issue_23
Since
0.11.0
Test
method public unlinkCanNotRemoveNonEmptyDirectory () : void

Details
Group
issue_23
Since
0.11.0
Test
Documentation was generated by phpDocumentor 2.0.0a12 .