vfsStreamWrapperQuotaTestCase
extends BC_PHPUnit_Framework_TestCase
in package
Test for quota related functionality of org\bovigo\vfs\vfsStreamWrapper.
Tags
Table of Contents
- $root : mixed
- access to root
- bc_expectException() : mixed
- bc_getMock() : mixed
- canNotTruncateToGreaterLengthWhenDiscQuotaReached() : mixed
- considersAllFilesForQuota() : mixed
- setUp() : mixed
- set up test environment
- truncateConsidersAllFilesForQuota() : mixed
- truncateToLessThanQuotaWritesEverything() : mixed
- truncateToMoreThanQotaWritesOnlyUpToQuota() : mixed
- truncateUpToQotaWritesEverything() : mixed
- writeLessThanQuotaWritesEverything() : mixed
- writeMoreThanQotaWritesOnlyUpToQuota() : mixed
- writeUpToQotaWritesEverything() : mixed
Properties
$root
access to root
private
mixed
$root
Tags
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 —canNotTruncateToGreaterLengthWhenDiscQuotaReached()
public
canNotTruncateToGreaterLengthWhenDiscQuotaReached() : mixed
Tags
Return values
mixed —considersAllFilesForQuota()
public
considersAllFilesForQuota() : mixed
Tags
Return values
mixed —setUp()
set up test environment
public
setUp() : mixed
Return values
mixed —truncateConsidersAllFilesForQuota()
public
truncateConsidersAllFilesForQuota() : mixed
Tags
Return values
mixed —truncateToLessThanQuotaWritesEverything()
public
truncateToLessThanQuotaWritesEverything() : mixed
Tags
Return values
mixed —truncateToMoreThanQotaWritesOnlyUpToQuota()
public
truncateToMoreThanQotaWritesOnlyUpToQuota() : mixed
Tags
Return values
mixed —truncateUpToQotaWritesEverything()
public
truncateUpToQotaWritesEverything() : mixed
Tags
Return values
mixed —writeLessThanQuotaWritesEverything()
public
writeLessThanQuotaWritesEverything() : mixed
Tags
Return values
mixed —writeMoreThanQotaWritesOnlyUpToQuota()
public
writeMoreThanQotaWritesOnlyUpToQuota() : mixed
Tags
Return values
mixed —writeUpToQotaWritesEverything()
public
writeUpToQotaWritesEverything() : mixed