Documentation

DirectoryTest extends TestCase
in package

Tags
covers
uses
DirectoryException

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

Methods

relativePathTestDataProvider()

public static relativePathTestDataProvider() : mixed

testCanBeConvertedToString()

public testCanBeConvertedToString() : mixed

testDirectoryIsCreatedWhenMissing()

public testDirectoryIsCreatedWhenMissing() : mixed

testRequestingChildFromDirectoryReturnsNewDirectoryInstance()

public testRequestingChildFromDirectoryReturnsNewDirectoryInstance() : mixed

testRequestingFileFromDirectoryReturnsFilenameInstance()

public testRequestingFileFromDirectoryReturnsFilenameInstance() : mixed
Tags
uses
Filename

testReturnsExpectedRelativePath()

public testReturnsExpectedRelativePath(mixed $directory, mixed $otherDirectory, mixed $expected) : mixed
Parameters
$directory : mixed
$otherDirectory : mixed
$expected : mixed
Tags
dataProvider

relativePathTestDataProvider

testThrowsExceptionIfGivenPathCannotBeCreated()

public testThrowsExceptionIfGivenPathCannotBeCreated() : mixed

testThrowsExceptionInvalidMode()

public testThrowsExceptionInvalidMode() : mixed

testTryingToInstantiateOnFileThrowsException()

public testTryingToInstantiateOnFileThrowsException() : mixed

        
On this page

Search results