Unit Test Results

Designed for use with PHPUnit and Phing.

Summary

Tests Failures Errors Success rate Time
249 0 0 100.00% 6.175
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Time(s)
bovigo_vfs 249 0 0 6.175

Package bovigo_vfs

Name Tests Errors Failures Time(s)
vfsStreamAbstractContentTestCase 22 0 0 0.008
vfsStreamContainerIteratorTestCase 1 0 0 0.014
vfsStreamDirectoryIssue18TestCase 4 0 0 0.002
vfsStreamDirectoryTestCase 18 0 0 0.012
vfsStreamFileTestCase 13 0 0 0.006
vfsStreamGlobTestCase 1 0 0 0.001
vfsStreamResolveIncludePathTestCase 2 0 0 0.001
vfsStreamTestCase 39 0 0 0.023
vfsStreamUmaskTestCase 15 0 0 0.009
vfsStreamWrapperAlreadyRegisteredTestCase 1 0 0 0.005
vfsStreamWrapperDirSeparatorTestCase 2 0 0 0.002
vfsStreamWrapperMkDirTestCase 36 0 0 0.020
vfsStreamWrapperFileTestCase 22 0 0 0.016
vfsStreamWrapperFileTimesTestCase 13 0 0 6.014
vfsStreamWrapperFlockTestCase 8 0 0 0.003
vfsStreamWrapperSetOptionTestCase 4 0 0 0.001
vfsStreamWrapperSelectStreamTestCase 1 0 0 0.001
vfsStreamWrapperTestCase 31 0 0 0.022
vfsStreamWrapperWithoutRootTestCase 4 0 0 0.001
vfsStreamZipTestCase 1 0 0 0.000
vfsStreamAbstractVisitorTestCase 3 0 0 0.008
vfsStreamPrintVisitorTestCase 5 0 0 0.002
vfsStreamStructureVisitorTestCase 3 0 0 0.002
Back to top


TestCase vfsStreamAbstractContentTestCase

Name Status Type Time(s)
noPermissionsForEveryone Success 0.001
executePermissionsForUser Success 0.000
executePermissionsForGroup Success 0.000
executePermissionsForOther Success 0.000
writePermissionsForUser Success 0.000
writePermissionsForGroup Success 0.000
writePermissionsForOther Success 0.000
executeAndWritePermissionsForUser Success 0.000
executeAndWritePermissionsForGroup Success 0.000
executeAndWritePermissionsForOther Success 0.000
readPermissionsForUser Success 0.000
readPermissionsForGroup Success 0.000
readPermissionsForOther Success 0.000
readAndExecutePermissionsForUser Success 0.000
readAndExecutePermissionsForGroup Success 0.000
readAndExecutePermissionsForOther Success 0.000
readAndWritePermissionsForUser Success 0.000
readAndWritePermissionsForGroup Success 0.000
readAndWritePermissionsForOther Success 0.000
allPermissionsForUser Success 0.000
allPermissionsForGroup Success 0.000
allPermissionsForOther Success 0.001

Back to top

TestCase vfsStreamAbstractVisitorTestCase

Name Status Type Time(s)
visitThrowsInvalidArgumentExceptionOnUnknownContentType Success 0.002
visitWithFileCallsVisitFile Success 0.004
visitWithDirectoryCallsVisitDirectory Success 0.002

Back to top

TestCase vfsStreamContainerIteratorTestCase

Name Status Type Time(s)
iteration Success 0.014

Back to top

TestCase vfsStreamDirectoryIssue18TestCase

Name Status Type Time(s)
shouldContainThreeSubdirectories Success 0.001
shouldContainSubdirectoryFoo Success 0.001
shouldContainSubdirectoryApp1 Success 0.000
shouldContainSubdirectoryApp2 Success 0.000

Back to top

TestCase vfsStreamDirectoryTestCase

Name Status Type Time(s)
invalidCharacterInName Success 0.000
defaultValues Success 0.000
rename Success 0.000
renameToInvalidNameThrowsvfsStreamException Success 0.000
hasNoChildrenByDefault Success 0.000
hasChildrenReturnsTrueIfAtLeastOneChildPresent Success 0.001
hasChildReturnsFalseForNonExistingChild Success 0.000
getChildReturnsNullForNonExistingChild Success 0.000
removeChildReturnsFalseForNonExistingChild Success 0.000
nonExistingChild Success 0.001
childHandling Success 0.003
childHandlingWithSubdirectory Success 0.001
addChildReplacesChildWithSameName_Bug_5 Success 0.001
explicitTestForSeparatorWithNestedPaths_Bug_24 Success 0.001
permissions Success 0.000
permissionsSet Success 0.000
owner Success 0.000
group Success 0.000

Back to top

TestCase vfsStreamFileTestCase

Name Status Type Time(s)
defaultValues Success 0.000
content Success 0.000
rename Success 0.001
readEmptyFile Success 0.000
read Success 0.001
seekEmptyFile Success 0.000
seekRead Success 0.001
writeEmptyFile Success 0.000
write Success 0.000
permissions Success 0.000
permissionsSet Success 0.000
owner Success 0.000
group Success 0.001

Back to top

TestCase vfsStreamGlobTestCase

Name Status Type Time(s)
globDoesNotWorkWithVfsStreamUrls Success 0.001

Back to top

TestCase vfsStreamPrintVisitorTestCase

Name Status Type Time(s)
constructWithNonResourceThrowsInvalidArgumentException Success 0.000
constructWithNonStreamResourceThrowsInvalidArgumentException Success 0.000
visitFileWritesFileNameToStream Success 0.000
visitDirectoryWritesDirectoryNameToStream Success 0.000
visitRecursiveDirectoryStructure Success 0.001

Back to top

TestCase vfsStreamResolveIncludePathTestCase

Name Status Type Time(s)
knownFileCanBeResolved Success 0.001
unknownFileCanNotBeResolvedYieldsFalse Success 0.001

Back to top

TestCase vfsStreamStructureVisitorTestCase

Name Status Type Time(s)
visitFileCreatesStructureForFile Success 0.000
visitDirectoryCreatesStructureForDirectory Success 0.000
visitRecursiveDirectoryStructure Success 0.001

Back to top

TestCase vfsStreamTestCase

Name Status Type Time(s)
url Success 0.000
path Success 0.000
pathConvertsWindowsDirectorySeparators Success 0.000
pathRemovesTrailingWhitespace Success 0.000
pathRemovesTrailingSlash Success 0.000
pathRemovesTrailingSlashAndWhitespace Success 0.000
pathRemovesDoubleSlashes Success 0.000
newFile Success 0.000
newFileWithDifferentPermissions Success 0.000
newSingleDirectory Success 0.000
newSingleDirectoryWithDifferentPermissions Success 0.000
newDirectoryStructure Success 0.000
newDirectoryWithSlashAtStart Success 0.000
setupRegistersStreamWrapperAndCreatesRootDirectoryWithDefaultNameAndPermissions Success 0.000
setupRegistersStreamWrapperAndCreatesRootDirectoryWithGivenNameAndDefaultPermissions Success 0.000
setupRegistersStreamWrapperAndCreatesRootDirectoryWithGivenNameAndPermissions Success 0.000
setupWithEmptyArrayIsEqualToSetup Success 0.000
setupArraysAreTurnedIntoSubdirectories Success 0.000
setupStringsAreTurnedIntoFilesWithContent Success 0.000
setupWorksRecursively Success 0.001
setupCastsNumericDirectoriesToStrings Success 0.000
createArraysAreTurnedIntoSubdirectories Success 0.001
createArraysAreTurnedIntoSubdirectoriesOfRoot Success 0.001
createThrowsExceptionIfNoBaseDirGivenAndNoRootSet Success 0.001
createWorksRecursively Success 0.001
createWorksRecursivelyWithRoot Success 0.001
createStringsAreTurnedIntoFilesWithContent Success 0.001
createStringsAreTurnedIntoFilesWithContentWithRoot Success 0.001
createCastsNumericDirectoriesToStrings Success 0.001
createCastsNumericDirectoriesToStringsWithRoot Success 0.001
inspectWithContentGivesContentToVisitor Success 0.002
inspectWithoutContentGivesRootToVisitor Success 0.003
inspectWithoutContentAndWithoutRootThrowsInvalidArgumentException Success 0.001
copyFromFileSystemThrowsExceptionIfNoBaseDirGivenAndNoRootSet Success 0.000
copyFromEmptyFolder Success 0.001
copyFromEmptyFolderWithRoot Success 0.000
copyFromWithSubFolders Success 0.001
copyFromWithSubFoldersWithRoot Success 0.001
copyFromPreservesFilePermissions Success 0.001

Back to top

TestCase vfsStreamUmaskTestCase

Name Status Type Time(s)
gettingUmaskSettingDoesNotChangeUmaskSetting Success 0.000
changingUmaskSettingReturnsOldUmaskSetting Success 0.000
createFileWithDefaultUmaskSetting Success 0.001
createFileWithDifferentUmaskSetting Success 0.000
createDirectoryWithDefaultUmaskSetting Success 0.000
createDirectoryWithDifferentUmaskSetting Success 0.000
createFileUsingStreamWithDefaultUmaskSetting Success 0.001
createFileUsingStreamWithDifferentUmaskSetting Success 0.000
createDirectoryUsingStreamWithDefaultUmaskSetting Success 0.001
createDirectoryUsingStreamWithDifferentUmaskSetting Success 0.001
createDirectoryUsingStreamWithExplicit0 Success 0.001
createDirectoryUsingStreamWithDifferentUmaskSettingButExplicit0777 Success 0.001
createDirectoryUsingStreamWithDifferentUmaskSettingButExplicitModeRequestedByCall Success 0.001
defaultUmaskSettingDoesNotInfluenceSetup Success 0.000
umaskSettingShouldBeRespectedBySetup Success 0.000

Back to top

TestCase vfsStreamWrapperAlreadyRegisteredTestCase

Name Status Type Time(s)
registerOverAnotherStreamWrapper Success 0.005

Back to top

TestCase vfsStreamWrapperDirSeparatorTestCase

Name Status Type Time(s)
fileCanBeAccessedUsingWinDirSeparator Success 0.001
directoryCanBeCreatedUsingWinDirSeparator Success 0.001

Back to top

TestCase vfsStreamWrapperFileTestCase

Name Status Type Time(s)
file_get_contents Success 0.001
file_get_contentsNonReadableFile Success 0.001
file_put_contentsExistingFile Success 0.001
file_put_contentsExistingFileNonWritableDirectory Success 0.001
file_put_contentsExistingNonWritableFile Success 0.001
file_put_contentsNonExistingFile Success 0.001
file_put_contentsNonExistingFileNonWritableDirectory Success 0.001
usingFilePointer Success 0.001
is_file Success 0.002
issue13CanNotOverwriteFiles Success 0.001
appendContentIfOpenedWithModeA Success 0.001
canOverwriteNonExistingFileWithModeX Success 0.001
canNotOverwriteExistingFileWithModeX Success 0.001
canNotOpenNonExistingFileReadonly Success 0.000
canNotOpenNonExistingFileReadAndWrite Success 0.001
canNotOpenWithIllegalMode Success 0.000
canNotWriteToReadOnlyFile Success 0.001
canNotReadFromWriteOnlyFileWithModeW Success 0.001
canNotReadFromWriteOnlyFileWithModeA Success 0.001
canNotReadFromWriteOnlyFileWithModeX Success 0.001
canNotRemoveFileWithoutWritePermissions Success 0.001
canNotRemoveFileFromDirectoryWithoutWritePermissions Success 0.001

Back to top

TestCase vfsStreamWrapperFileTimesTestCase

Name Status Type Time(s)
openFileChangesAttributeTimeOnly Success 0.002
fileGetContentsChangesAttributeTimeOnly Success 0.001
openFileWithTruncateChangesAttributeAndModificationTime Success 0.001
readFileChangesAccessTime Success 3.002
writeFileChangesModificationTime Success 3.001
createNewFileSetsAllTimesToCurrentTime Success 0.001
createNewFileChangesAttributeAndModificationTimeOfContainingDirectory Success 0.001
addNewFileNameWithLinkFunctionChangesAttributeTimeOfOriginalFile Success 0.001
addNewFileNameWithLinkFunctionChangesAttributeAndModificationTimeOfDirectoryContainingLink Success 0.001
removeFileChangesAttributeAndModificationTimeOfContainingDirectory Success 0.001
renameFileChangesAttributeAndModificationTimeOfAffectedDirectories Success 0.001
renameFileDoesNotChangeFileTimesOfFileItself Success 0.001
changeFileAttributesChangesAttributeTimeOfFileItself Success 0.000

Back to top

TestCase vfsStreamWrapperFlockTestCase

Name Status Type Time(s)
fileIsNotLockedByDefault Success 0.000
streamIsNotLockedByDefault Success 0.000
canAquireSharedLock Success 0.001
canAquireSharedLockWithNonBlockingFlockCall Success 0.000
canAquireEclusiveLock Success 0.000
canAquireEclusiveLockWithNonBlockingFlockCall Success 0.000
canRemoveLock Success 0.000
canRemoveLockWithNonBlockingFlockCall Success 0.000

Back to top

TestCase vfsStreamWrapperMkDirTestCase

Name Status Type Time(s)
mkdirNoNewRoot Success 0.001
mkdirNoNewRootRecursively Success 0.001
mkdirNonRecursively Success 0.001
mkdirRecursively Success 0.001
mkdirWithDots Success 0.001
mkdirWithoutRootCreatesNewRoot Success 0.001
mkdirOnFileReturnsFalse Success 0.000
mkdirNonRecursivelyDifferentPermissions Success 0.000
mkdirRecursivelyDifferentPermissions Success 0.001
mkdirRecursivelyUsesDefaultPermissions Success 0.001
mkdirWithoutRootCreatesNewRootDifferentPermissions Success 0.000
mkdirWithoutRootCreatesNewRootWithDefaultPermissions Success 0.000
mkdirDirCanNotCreateNewDirInNonWritingDirectory Success 0.001
mkDirShouldNotOverwriteExistingDirectories Success 0.001
mkDirShouldNotOverwriteExistingDirectoriesAndTriggerE_USER_WARNING Success 0.001
mkDirShouldNotOverwriteExistingFiles Success 0.001
mkDirShouldNotOverwriteExistingFilesAndTriggerE_USER_WARNING Success 0.001
canNotIterateOverNonReadableDirectory Success 0.000
directoryIteration Success 0.000
directoryIterationWithDot Success 0.000
directoryIterationWithOpenDir_Bug_2 Success 0.000
directoryIteration_Bug_4 Success 0.001
directoryIterationShouldBeIndependent Success 0.001
is_dir Success 0.001
canNotUnlinkDirectoryWithoutRoot Success 0.000
rmdirCanNotRemoveFiles Success 0.000
rmdirCanNotRemoveNonExistingDirectory Success 0.000
rmdirCanNotRemoveNonEmptyDirectory Success 0.000
rmdirCanRemoveEmptyDirectory Success 0.000
rmdirCanRemoveEmptyDirectoryWithDot Success 0.000
rmdirCanRemoveEmptyRoot Success 0.000
rmdirDirCanNotRemoveDirFromNonWritingDirectory Success 0.000
issue17 Success 0.000
accessWithDoubleDotReturnsCorrectContent Success 0.000
unlinkCanNotRemoveNonEmptyDirectory Success 0.001
unlinkCanNotRemoveEmptyDirectory Success 0.001

Back to top

TestCase vfsStreamWrapperSelectStreamTestCase

Name Status Type Time(s)
selectStream Success 0.001

Back to top

TestCase vfsStreamWrapperSetOptionTestCase

Name Status Type Time(s)
setBlockingDoesNotWork Success 0.000
removeBlockingDoesNotWork Success 0.000
setTimeoutDoesNotWork Success 0.000
setWriteBufferDoesNotWork Success 0.000

Back to top

TestCase vfsStreamWrapperTestCase

Name Status Type Time(s)
resetByRegister Success 0.000
setRootReturnsRoot Success 0.000
filesize Success 0.001
file_exists Success 0.001
filemtime Success 0.001
unlinkRemovesFilesOnly Success 0.001
dirname Success 0.000
basename Success 0.000
is_readable Success 0.001
is_writable Success 0.001
is_executable Success 0.000
directoriesAndNonExistingFilesAreNeverExecutable Success 0.001
chmod Success 0.001
chmodDoesNotWorkOnVfsStreamUrls Success 0.001
chown Success 0.001
chownDoesNotWorkOnVfsStreamUrls Success 0.000
chgrp Success 0.001
chgrpDoesNotWorkOnVfsStreamUrls Success 0.000
renameDirectory Success 0.001
renameDirectoryWithDots Success 0.000
renameDirectoryWithDotsInTarget Success 0.001
renameDirectoryOverwritingExistingFile Success 0.001
renameFileIntoFile Success 0.001
renameFileToDirectory Success 0.001
renameOnSourceFileNotFound Success 0.001
renameOnDestinationDirectoryFileNotFound Success 0.001
statAndFstatReturnSameResult Success 0.001
statReturnsFullDataForFiles Success 0.001
statReturnsFullDataForDirectories Success 0.001
statReturnsFullDataForDirectoriesWithDot Success 0.001
openFileWithoutDirectory Success 0.001

Back to top

TestCase vfsStreamWrapperWithoutRootTestCase

Name Status Type Time(s)
canNotOpenDirectory Success 0.000
canNotUnlink Success 0.000
canNotOpen Success 0.000
canNotRename Success 0.000

Back to top

TestCase vfsStreamZipTestCase

Name Status Type Time(s)
createZipArchive Success 0.000

Back to top

Report generated at 2012-01-14T14:51:52+01:00