Documentation

vfsStreamWrapperFileTestCase extends vfsStreamWrapperBaseTestCase
in package

Test for org\bovigo\vfs\vfsStreamWrapper.

Table of Contents

$bar  : vfsStreamDirectory
sub directory
$barURL  : string
URL of sub directory
$baz1  : vfsStreamFile
a file
$baz1URL  : string
URL of file 1
$baz2  : vfsStreamFile
another file
$baz2URL  : string
URL of file 2
$foo  : vfsStreamDirectory
root directory
$fooURL  : string
URL of root directory
appendContentIfOpenedWithModeA()  : mixed
bc_expectException()  : mixed
bc_getMock()  : mixed
cannotOpenExistingNonwritableFileWithModeA()  : mixed
cannotOpenExistingNonwritableFileWithModeW()  : mixed
canNotOpenNonExistingFileReadAndWrite()  : mixed
canNotOpenNonExistingFileReadonly()  : mixed
cannotOpenNonReadableFileWithModeR()  : mixed
canNotOpenWithIllegalMode()  : mixed
canNotOverwriteExistingFileWithModeX()  : mixed
cannotReadFileFromNonReadableDir()  : mixed
canNotReadFromWriteOnlyFileWithModeA()  : mixed
canNotReadFromWriteOnlyFileWithModeW()  : mixed
canNotReadFromWriteOnlyFileWithModeX()  : mixed
canNotRemoveFileFromDirectoryWithoutWritePermissions()  : mixed
cannotRenameToNonWritableDir()  : mixed
canNotWriteToReadOnlyFile()  : mixed
canOverwriteNonExistingFileWithModeX()  : mixed
createsNonExistingFileWhenOpenedWithModeC()  : mixed
createsNonExistingFileWhenOpenedWithModeCplus()  : mixed
doesNotTruncateFileWhenOpenedWithModeC()  : mixed
doesNotTruncateFileWhenOpenedWithModeCplus()  : mixed
file_get_contents()  : mixed
assert that file_get_contents() delivers correct file contents
file_get_contentsNonReadableFile()  : mixed
file_put_contentsExistingFile()  : mixed
assert that file_put_contents() delivers correct file contents
file_put_contentsExistingFileNonWritableDirectory()  : mixed
file_put_contentsExistingNonWritableFile()  : mixed
file_put_contentsNonExistingFile()  : mixed
assert that file_put_contents() delivers correct file contents
file_put_contentsNonExistingFileNonWritableDirectory()  : mixed
is_file()  : mixed
assert is_file() returns correct result
issue13CanNotOverwriteFiles()  : mixed
setsPointerToStartWhenOpenedWithModeC()  : mixed
setsPointerToStartWhenOpenedWithModeCplus()  : mixed
setUp()  : mixed
set up test environment
truncatesFileWhenOpenedWithModeW()  : mixed
usingFilePointer()  : mixed
using a file pointer should work without any problems

Properties

Methods

appendContentIfOpenedWithModeA()

public appendContentIfOpenedWithModeA() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

bc_expectException()

public bc_expectException(mixed $exception) : mixed
Parameters
$exception : mixed
Return values
mixed

bc_getMock()

public bc_getMock(mixed $originalClassName[, mixed $methods = array() ][, array<string|int, mixed> $arguments = array() ][, mixed $mockClassName = '' ][, mixed $callOriginalConstructor = true ][, mixed $callOriginalClone = true ][, mixed $callAutoload = true ][, mixed $cloneArguments = false ][, mixed $callOriginalMethods = false ][, mixed $proxyTarget = null ]) : mixed
Parameters
$originalClassName : mixed
$methods : mixed = array()
$arguments : array<string|int, mixed> = array()
$mockClassName : mixed = ''
$callOriginalConstructor : mixed = true
$callOriginalClone : mixed = true
$callAutoload : mixed = true
$cloneArguments : mixed = false
$callOriginalMethods : mixed = false
$proxyTarget : mixed = null
Return values
mixed

cannotOpenExistingNonwritableFileWithModeA()

public cannotOpenExistingNonwritableFileWithModeA() : mixed
Tags
test
Return values
mixed

cannotOpenExistingNonwritableFileWithModeW()

public cannotOpenExistingNonwritableFileWithModeW() : mixed
Tags
test
Return values
mixed

canNotOpenNonExistingFileReadAndWrite()

public canNotOpenNonExistingFileReadAndWrite() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canNotOpenNonExistingFileReadonly()

public canNotOpenNonExistingFileReadonly() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

cannotOpenNonReadableFileWithModeR()

public cannotOpenNonReadableFileWithModeR() : mixed
Tags
test
Return values
mixed

canNotOpenWithIllegalMode()

public canNotOpenWithIllegalMode() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canNotOverwriteExistingFileWithModeX()

public canNotOverwriteExistingFileWithModeX() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

cannotReadFileFromNonReadableDir()

public cannotReadFileFromNonReadableDir() : mixed
Tags
test
group

issue_38

Return values
mixed

canNotReadFromWriteOnlyFileWithModeA()

public canNotReadFromWriteOnlyFileWithModeA() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canNotReadFromWriteOnlyFileWithModeW()

public canNotReadFromWriteOnlyFileWithModeW() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canNotReadFromWriteOnlyFileWithModeX()

public canNotReadFromWriteOnlyFileWithModeX() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canNotRemoveFileFromDirectoryWithoutWritePermissions()

public canNotRemoveFileFromDirectoryWithoutWritePermissions() : mixed
Tags
test
group

permissions

group

bug_15

Return values
mixed

canNotWriteToReadOnlyFile()

public canNotWriteToReadOnlyFile() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

canOverwriteNonExistingFileWithModeX()

public canOverwriteNonExistingFileWithModeX() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

createsNonExistingFileWhenOpenedWithModeC()

public createsNonExistingFileWhenOpenedWithModeC() : mixed
Tags
test
group

issue_30

Return values
mixed

createsNonExistingFileWhenOpenedWithModeCplus()

public createsNonExistingFileWhenOpenedWithModeCplus() : mixed
Tags
test
group

issue_30

Return values
mixed

doesNotTruncateFileWhenOpenedWithModeC()

public doesNotTruncateFileWhenOpenedWithModeC() : mixed
Tags
test
group

issue_30

Return values
mixed

doesNotTruncateFileWhenOpenedWithModeCplus()

public doesNotTruncateFileWhenOpenedWithModeCplus() : mixed
Tags
test
group

issue_30

Return values
mixed

file_get_contents()

assert that file_get_contents() delivers correct file contents

public file_get_contents() : mixed
Tags
test
Return values
mixed

file_get_contentsNonReadableFile()

public file_get_contentsNonReadableFile() : mixed
Tags
test
group

permissions

group

bug_15

Return values
mixed

file_put_contentsExistingFile()

assert that file_put_contents() delivers correct file contents

public file_put_contentsExistingFile() : mixed
Tags
test
Return values
mixed

file_put_contentsExistingFileNonWritableDirectory()

public file_put_contentsExistingFileNonWritableDirectory() : mixed
Tags
test
group

permissions

group

bug_15

Return values
mixed

file_put_contentsExistingNonWritableFile()

public file_put_contentsExistingNonWritableFile() : mixed
Tags
test
group

permissions

group

bug_15

Return values
mixed

file_put_contentsNonExistingFile()

assert that file_put_contents() delivers correct file contents

public file_put_contentsNonExistingFile() : mixed
Tags
test
Return values
mixed

file_put_contentsNonExistingFileNonWritableDirectory()

public file_put_contentsNonExistingFileNonWritableDirectory() : mixed
Tags
test
group

permissions

group

bug_15

Return values
mixed

issue13CanNotOverwriteFiles()

public issue13CanNotOverwriteFiles() : mixed
Tags
test
group

issue7

group

issue13

Return values
mixed

setsPointerToStartWhenOpenedWithModeC()

public setsPointerToStartWhenOpenedWithModeC() : mixed
Tags
test
group

issue_30

Return values
mixed

setsPointerToStartWhenOpenedWithModeCplus()

public setsPointerToStartWhenOpenedWithModeCplus() : mixed
Tags
test
group

issue_30

Return values
mixed

truncatesFileWhenOpenedWithModeW()

public truncatesFileWhenOpenedWithModeW() : mixed
Tags
test
group

issue_30

Return values
mixed

usingFilePointer()

using a file pointer should work without any problems

public usingFilePointer() : mixed
Tags
test
Return values
mixed

Search results