vfsStreamDirectoryIssue134TestCase
extends BC_PHPUnit_Framework_TestCase
in package
A modified version of PHPUnit's TestCase to rid ourselves of deprecation warnings since we're using two different versions of PHPUnit in this branch (PHPUnit 4 and 5).
Table of Contents
- $rootDirectory : vfsStreamDirectory
- access to root directory
- bc_expectException() : mixed
- bc_getMock() : mixed
- setUp() : mixed
- set up test environment
- testShouldRenameDirectoryNameAsStringInternal() : mixed
- Test: should rename directory name as string internal
- testShouldSaveDirectoryNameAsStringInternal() : mixed
- Test: should save directory name as string internal
Properties
$rootDirectory
access to root directory
protected
vfsStreamDirectory
$rootDirectory
Methods
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 —setUp()
set up test environment
public
setUp() : mixed
Return values
mixed —testShouldRenameDirectoryNameAsStringInternal()
Test: should rename directory name as string internal
public
testShouldRenameDirectoryNameAsStringInternal() : mixed
Tags
Return values
mixed —testShouldSaveDirectoryNameAsStringInternal()
Test: should save directory name as string internal
public
testShouldSaveDirectoryNameAsStringInternal() : mixed