Documentation

PermissionsTestCase extends BC_PHPUnit_Framework_TestCase
in package

Test for permissions related functionality.

Tags
group

permissions

Table of Contents

$root  : mixed
bc_expectException()  : mixed
bc_getMock()  : mixed
canNotChangeGroupWhenDirectoryNotWriteable()  : mixed
canNotChangeGroupWhenFileNotOwned()  : mixed
canNotChangeOwnerWhenDirectoryNotWriteable()  : mixed
canNotChangeOwnerWhenFileNotOwned()  : mixed
canNotChangePermissionWhenDirectoryNotWriteable()  : mixed
canNotChangePermissionWhenFileNotOwned()  : mixed
setup()  : mixed
set up test environment
touchOnNonWriteableDirectoryDoesNotCreateFile()  : mixed
touchOnNonWriteableDirectoryTriggersError()  : mixed

Properties

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

canNotChangeGroupWhenDirectoryNotWriteable()

public canNotChangeGroupWhenDirectoryNotWriteable() : mixed
Tags
test
group

issue_52

Return values
mixed

canNotChangeGroupWhenFileNotOwned()

public canNotChangeGroupWhenFileNotOwned() : mixed
Tags
test
group

issue_53

Return values
mixed

canNotChangeOwnerWhenDirectoryNotWriteable()

public canNotChangeOwnerWhenDirectoryNotWriteable() : mixed
Tags
test
group

issue_52

Return values
mixed

canNotChangeOwnerWhenFileNotOwned()

public canNotChangeOwnerWhenFileNotOwned() : mixed
Tags
test
group

issue_53

Return values
mixed

canNotChangePermissionWhenDirectoryNotWriteable()

public canNotChangePermissionWhenDirectoryNotWriteable() : mixed
Tags
test
group

issue_52

Return values
mixed

canNotChangePermissionWhenFileNotOwned()

public canNotChangePermissionWhenFileNotOwned() : mixed
Tags
test
group

issue_53

Return values
mixed

touchOnNonWriteableDirectoryDoesNotCreateFile()

public touchOnNonWriteableDirectoryDoesNotCreateFile() : mixed
Tags
test
group

issue_107

requires

PHP 5.4

since
1.5.0
Return values
mixed

touchOnNonWriteableDirectoryTriggersError()

public touchOnNonWriteableDirectoryTriggersError() : mixed
Tags
test
group

issue_107

expectedException

PHPUnit_Framework_Error

expectedExceptionMessage

Can not create new file in non-writable path root

requires

PHP 5.4

since
1.5.0
Return values
mixed

Search results