PHP Class org\bovigo\vfs\vfsStreamWrapperFileTimesTestCase

Since: 0.9.0
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: mikey179/vfsstream

Protected Properties

Property Type Description
$barUrl string URL of bar directory
$bazUrl string URL of baz.txt file
$fooUrl string URL of foo.txt file

Public Methods

Method Description
addNewFileNameWithLinkFunctionChangesAttributeAndModificationTimeOfDirectoryContainingLink ( )
addNewFileNameWithLinkFunctionChangesAttributeTimeOfOriginalFile ( )
changeFileAttributesChangesAttributeTimeOfFileItself ( )
createNewFileChangesAttributeAndModificationTimeOfContainingDirectory ( )
createNewFileSetsAllTimesToCurrentTime ( )
fileGetContentsChangesAttributeTimeOnly ( )
openFileChangesAttributeTimeOnly ( )
openFileWithTruncateChangesAttributeAndModificationTime ( )
readFileChangesAccessTime ( )
removeFileChangesAttributeAndModificationTimeOfContainingDirectory ( )
renameFileChangesAttributeAndModificationTimeOfAffectedDirectories ( )
renameFileDoesNotChangeFileTimesOfFileItself ( )
setUp ( ) set up test environment
writeFileChangesModificationTime ( )

Protected Methods

Method Description
assertFileTimesEqualStreamTimes ( string $url, org\bovigo\vfs\vfsStreamContent $content ) helper assertion for the tests

Method Details

addNewFileNameWithLinkFunctionChangesAttributeTimeOfOriginalFile() public method

assertFileTimesEqualStreamTimes() protected method

helper assertion for the tests
protected assertFileTimesEqualStreamTimes ( string $url, org\bovigo\vfs\vfsStreamContent $content )
$url string url to check
$content org\bovigo\vfs\vfsStreamContent content to compare

changeFileAttributesChangesAttributeTimeOfFileItself() public method

createNewFileChangesAttributeAndModificationTimeOfContainingDirectory() public method

createNewFileSetsAllTimesToCurrentTime() public method

fileGetContentsChangesAttributeTimeOnly() public method

openFileChangesAttributeTimeOnly() public method

openFileWithTruncateChangesAttributeAndModificationTime() public method

readFileChangesAccessTime() public method

removeFileChangesAttributeAndModificationTimeOfContainingDirectory() public method

renameFileChangesAttributeAndModificationTimeOfAffectedDirectories() public method

renameFileDoesNotChangeFileTimesOfFileItself() public method

setUp() public method

set up test environment
public setUp ( )

writeFileChangesModificationTime() public method

Property Details

$barUrl protected_oe property

URL of bar directory
protected string $barUrl
return string

$bazUrl protected_oe property

URL of baz.txt file
protected string $bazUrl
return string

$fooUrl protected_oe property

URL of foo.txt file
protected string $fooUrl
return string