Documentation

vfsStreamBlockTestCase extends BC_PHPUnit_Framework_TestCase
in package

Test for org\bovigo\vfs\vfsStreamBlock.

Table of Contents

$block  : vfsStreamBlock
The block device being tested.
addStructure()  : mixed
tests adding a complex structure
bc_expectException()  : mixed
bc_getMock()  : mixed
createWithEmptyName()  : mixed
tests that a blank name for a block device throws an exception
defaultValues()  : mixed
test default values and methods
external()  : mixed
tests how external functions see this object
setUp()  : mixed

Properties

Methods

addStructure()

tests adding a complex structure

public addStructure() : mixed
Tags
test
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

createWithEmptyName()

tests that a blank name for a block device throws an exception

public createWithEmptyName() : mixed
Tags
test
expectedException

org\bovigo\vfs\vfsStreamException

Return values
mixed

defaultValues()

test default values and methods

public defaultValues() : mixed
Tags
test
Return values
mixed

external()

tests how external functions see this object

public external() : mixed
Tags
test
Return values
mixed

Search results