PHP Class org\bovigo\vfs\vfsStreamWrapperFileTimesTestCase

Since: 0.9.0
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: mikey179/vfsstream

Protected Properties

Свойство Type Description
$barUrl string URL of bar directory
$bazUrl string URL of baz.txt file
$fooUrl string URL of foo.txt file

Méthodes publiques

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

Méthodes protégées

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

Method Details

addNewFileNameWithLinkFunctionChangesAttributeTimeOfOriginalFile() public méthode

assertFileTimesEqualStreamTimes() protected méthode

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 méthode

createNewFileChangesAttributeAndModificationTimeOfContainingDirectory() public méthode

createNewFileSetsAllTimesToCurrentTime() public méthode

fileGetContentsChangesAttributeTimeOnly() public méthode

openFileChangesAttributeTimeOnly() public méthode

openFileWithTruncateChangesAttributeAndModificationTime() public méthode

readFileChangesAccessTime() public méthode

removeFileChangesAttributeAndModificationTimeOfContainingDirectory() public méthode

renameFileChangesAttributeAndModificationTimeOfAffectedDirectories() public méthode

renameFileDoesNotChangeFileTimesOfFileItself() public méthode

setUp() public méthode

set up test environment
public setUp ( )

writeFileChangesModificationTime() public méthode

Property Details

$barUrl protected_oe property

URL of bar directory
protected string $barUrl
Résultat string

$bazUrl protected_oe property

URL of baz.txt file
protected string $bazUrl
Résultat string

$fooUrl protected_oe property

URL of foo.txt file
protected string $fooUrl
Résultat string