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/vfsStreamWrapperTestCase.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\vfsStreamWrapperTestCase

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

Methods

method public basename () : void

assert basename() returns correct file name

Details
Test
method public chgrp () : void

Details
Group
issue_11
Group
permissions
Test
method public chgrpDoesNotWorkOnVfsStreamUrls () : void

Details
Group
issue_11
Group
permissions
Test
method public chmod () : void

file permissions

Details
Group
permissions
Test
method public chmodModifiesPermissions () : void

Details
Group
issue_11
Group
permissions
Test
method public chownChangesUser () : void

Details
Group
issue_11
Group
permissions
Test
method public chownDoesNotWorkOnVfsStreamUrls () : void

Details
Group
issue_11
Group
permissions
Test
method public directoriesAndNonExistingFilesAreNeverExecutable () : void

assert is_executable() works correct

Details
Test
method public dirname () : void

assert dirname() returns correct directory name

Details
Test
method public file_exists () : void

assert that file_exists() delivers correct result

Details
Test
method public filemtime () : void

assert that filemtime() delivers correct result

Details
Test
method public fileownerIsCurrentUserByDefault () : void

Details
Group
permissions
Test
method public filesize () : void

assure that filesize is returned correct

Details
Test
method public groupIsCurrentGroupByDefault () : void

Details
Group
issue_11
Group
permissions
Test
method public is_executable () : void

assert is_executable() works correct

Details
Test
method public is_readable () : void

assert is_readable() works correct

Details
Test
method public is_writable () : void

assert is_writable() works correct

Details
Test
method public openFileWithoutDirectory () : void

Details
ExpectedException
PHPUnit_Framework_Error
Test
method public pathIsUpdatedAfterMove () : void

Details
Group
issue_34
Since
1.2.0
Test
method public pathesAreCorrectlySet () : void

Details
Group
issue_34
Since
1.2.0
Test
method public renameDirectory () : void

Details
Author
Benoit Aubuchon
Test
method public renameDirectoryOverwritingExistingFile () : void

Details
Author
Benoit Aubuchon
Test
method public renameDirectoryWithDots () : void

Details
Test
method public renameDirectoryWithDotsInTarget () : void

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

Details
ExpectedException
PHPUnit_Framework_Error
Test
method public renameFileToDirectory () : void

Details
Author
Benoit Aubuchon
Test
method public renameOnDestinationDirectoryFileNotFound () : void

assert that trying to rename to a directory that is not found trigger a warning

Details
ExpectedException
PHPUnit_Framework_Error
Test
method public renameOnSourceFileNotFound () : void

assert that trying to rename from a non existing file trigger a warning

Details
ExpectedException
PHPUnit_Framework_Error
Test
method public resetByRegister () : void

ensure that a call to vfsStreamWrapper::register() resets the stream

Implemented after a request by David Zülke.

Details
Test
method public setRootReturnsRoot () : void

Details
Since
0.11.0
Test
method public setUp () : void
inherited

set up test environment

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

stat() and fstat() should return the same result

Details
Test
method public statReturnsFullDataForDirectories () : void

Details
Test
method public statReturnsFullDataForDirectoriesWithDot () : void

Details
Test
method public statReturnsFullDataForFiles () : void

stat() returns full data

Details
Test
method public touchChangesAccessAndModificationTimeForDirectory () : void

Details
Group
issue_11
Test
method public touchChangesAccessAndModificationTimeForFile () : void

Details
Group
issue_11
Test
method public touchCreatesNonExistingFile () : void

Details
Group
issue_11
Test
method public touchDoesNotChangeTimesWhenNoTimesGiven () : void

Details
Group
issue_11
Test
method public touchWithModifiedTimeChangesAccessAndModifiedTime () : void

Details
Group
issue_11
Test
method public truncateRemovesSuperflouosContent () : void

Details
Group
issue_33
Since
1.1.0
Test
method public truncateToGreaterSizeAddsZeroBytes () : void

Details
Group
issue_33
Since
1.1.0
Test
method public unlinkRemovesFilesOnly () : void

Details
Group
issue_23
Test
method public unlinkReturnsFalseWhenFileDoesNotExist () : void

Details
Group
issue_49
Test
method public unlinkReturnsFalseWhenFileDoesNotExistAndFileWithSameNameExistsInRoot () : void

Details
Group
issue_49
Test
method public urlIsUpdatedAfterMove () : void

Details
Group
issue_34
Since
1.2.0
Test
method public urlsAreCorrectlySet () : void

Details
Group
issue_34
Since
1.2.0
Test
Documentation was generated by phpDocumentor 2.0.0a12 .