DirectoryTest
extends TestCase
in package
Tags
Table of Contents
Properties
- $testDir : mixed
Methods
- relativePathTestDataProvider() : mixed
- testCanBeConvertedToString() : mixed
- testDirectoryIsCreatedWhenMissing() : mixed
- testRequestingChildFromDirectoryReturnsNewDirectoryInstance() : mixed
- testRequestingFileFromDirectoryReturnsFilenameInstance() : mixed
- testReturnsExpectedRelativePath() : mixed
- testThrowsExceptionIfGivenPathCannotBeCreated() : mixed
- testThrowsExceptionInvalidMode() : mixed
- testTryingToInstantiateOnFileThrowsException() : mixed
- setUp() : void
Properties
$testDir
private
mixed
$testDir
Methods
relativePathTestDataProvider()
public
static relativePathTestDataProvider() : mixed
testCanBeConvertedToString()
public
testCanBeConvertedToString() : mixed
testDirectoryIsCreatedWhenMissing()
public
testDirectoryIsCreatedWhenMissing() : mixed
testRequestingChildFromDirectoryReturnsNewDirectoryInstance()
public
testRequestingChildFromDirectoryReturnsNewDirectoryInstance() : mixed
testRequestingFileFromDirectoryReturnsFilenameInstance()
public
testRequestingFileFromDirectoryReturnsFilenameInstance() : mixed
Tags
testReturnsExpectedRelativePath()
public
testReturnsExpectedRelativePath(mixed $directory, mixed $otherDirectory, mixed $expected) : mixed
Parameters
- $directory : mixed
- $otherDirectory : mixed
- $expected : mixed
Tags
testThrowsExceptionIfGivenPathCannotBeCreated()
public
testThrowsExceptionIfGivenPathCannotBeCreated() : mixed
testThrowsExceptionInvalidMode()
public
testThrowsExceptionInvalidMode() : mixed
testTryingToInstantiateOnFileThrowsException()
public
testTryingToInstantiateOnFileThrowsException() : mixed
setUp()
protected
setUp() : void