InPathTest
extends TestCase
in package
Test case for InPath
Tags
Table of Contents
- $fixture : InPath
- invalidDirnames() : array<string|int, array<string|int, string>>
- Data provider for testIfSpecificationIsNotSatisfied. Contains a few invalid directory names
- tearDown() : void
- testExactMatch() : void
- testIfSpecificationIsNotSatisfied() : void
- testIfSpecificationIsSatisfied() : void
- testNoFalsePositiveWithLongerDirName() : void
- testWithCurrentDirSpec() : void
- testWithSingleDotSpec() : void
- validDirnames() : array<string|int, array<string|int, string>>
- Data provider for testIfSpecificationIsSatisfied. Contains a few valid directory names
- useWildcardPath() : void
Properties
$fixture
private
InPath
$fixture
Methods
invalidDirnames()
Data provider for testIfSpecificationIsNotSatisfied. Contains a few invalid directory names
public
invalidDirnames() : array<string|int, array<string|int, string>>
Return values
array<string|int, array<string|int, string>> —tearDown()
public
tearDown() : void
Return values
void —testExactMatch()
public
testExactMatch() : void
Tags
Return values
void —testIfSpecificationIsNotSatisfied()
public
testIfSpecificationIsNotSatisfied(string $dirname) : void
Parameters
- $dirname : string
Tags
Return values
void —testIfSpecificationIsSatisfied()
public
testIfSpecificationIsSatisfied(string $dirname) : void
Parameters
- $dirname : string
Tags
Return values
void —testNoFalsePositiveWithLongerDirName()
public
testNoFalsePositiveWithLongerDirName() : void
Tags
Return values
void —testWithCurrentDirSpec()
public
testWithCurrentDirSpec(string $dirname) : void
Parameters
- $dirname : string
Tags
Return values
void —testWithSingleDotSpec()
public
testWithSingleDotSpec(string $dirname) : void
Parameters
- $dirname : string
Tags
Return values
void —validDirnames()
Data provider for testIfSpecificationIsSatisfied. Contains a few valid directory names
public
validDirnames() : array<string|int, array<string|int, string>>
Return values
array<string|int, array<string|int, string>> —useWildcardPath()
private
useWildcardPath() : void