Documentation

GlobTest extends TestCase
in package

Tags
coversDefaultClass

\Flyfinder\Specification\Glob

covers

::

covers
covers

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
covers
Return values
void

testGlobIsMatching()

public testGlobIsMatching(string $pattern, array<string|int, mixed> $file) : void
Parameters
$pattern : string
$file : array<string|int, mixed>
Tags
dataProvider

matchingPatternFileProvider

dataProvider

matchingPatternFileWithEscapeCharProvider

psalm-param

array{basename: string, path: string, stream: resource, dirname: string, type: string, extension: string} $file

Return values
void

testGlobIsNotMatching()

public testGlobIsNotMatching(string $pattern, array<string|int, mixed> $file) : void
Parameters
$pattern : string
$file : array<string|int, mixed>
Tags
dataProvider

notMatchingPatternFileProvider

psalm-param

array{basename: string, path: string, stream: resource, dirname: string, type: string, extension: string} $file

Return values
void

testInvalidGlobThrows()

public testInvalidGlobThrows(string $pattern) : void
Parameters
$pattern : string
Tags
dataProvider

invalidPatternProvider

Return values
void

toTestData()

private toTestData(array<string|int, mixed> $input) : Generator
Parameters
$input : array<string|int, mixed>
Return values
Generator

Search results