GlobTest
extends TestCase
in package
Tags
Table of Contents
- invalidPatternProvider() : Generator
- matchingPatternFileProvider() : Generator
- matchingPatternFileWithEscapeCharProvider() : Generator
- notMatchingPatternFileProvider() : Generator
- testCanBeSatisfiedBySomethingBelow() : void
- testGlobIsMatching() : void
- testGlobIsNotMatching() : void
- testInvalidGlobThrows() : void
- toTestData() : Generator
Methods
invalidPatternProvider()
public
invalidPatternProvider() : Generator
Return values
Generator —matchingPatternFileProvider()
public
matchingPatternFileProvider() : Generator
Return values
Generator —matchingPatternFileWithEscapeCharProvider()
public
matchingPatternFileWithEscapeCharProvider() : Generator
Return values
Generator —notMatchingPatternFileProvider()
public
notMatchingPatternFileProvider() : Generator
Return values
Generator —testCanBeSatisfiedBySomethingBelow()
public
testCanBeSatisfiedBySomethingBelow() : void
Tags
Return values
void —testGlobIsMatching()
public
testGlobIsMatching(string $pattern, array<string|int, mixed> $file) : void
Parameters
- $pattern : string
- $file : array<string|int, mixed>
Tags
Return values
void —testGlobIsNotMatching()
public
testGlobIsNotMatching(string $pattern, array<string|int, mixed> $file) : void
Parameters
- $pattern : string
- $file : array<string|int, mixed>
Tags
Return values
void —testInvalidGlobThrows()
public
testInvalidGlobThrows(string $pattern) : void
Parameters
- $pattern : string
Tags
Return values
void —toTestData()
private
toTestData(array<string|int, mixed> $input) : Generator
Parameters
- $input : array<string|int, mixed>