![]() |
TYPO3
7.6
|
Private Member Functions | |
buildTestData (array $tests) | |
buildFinder (Adapter\AdapterInterface $adapter) | |
getValidAdapters () | |
Additional Inherited Members | |
![]() | |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
![]() | |
assertIterator ($expected,\Traversable $iterator) | |
assertOrderedIterator ($expected,\Traversable $iterator) | |
assertOrderedIteratorForGroups ($expected,\Traversable $iterator) | |
assertIteratorInForeach ($expected,\Traversable $iterator) | |
assertOrderedIteratorInForeach ($expected,\Traversable $iterator) | |
![]() | |
static | toAbsolute ($files=null) |
static | toAbsoluteFixtures ($files) |
![]() | |
static | $tmpDir |
static | $files |
Definition at line 17 of file FinderTest.php.
|
private |
Definition at line 820 of file FinderTest.php.
References Finder\create().
Referenced by FinderTest\testAccessDeniedException(), FinderTest\testAppendDoesNotRequireIn(), FinderTest\testAppendReturnsAFinder(), FinderTest\testAppendWithAFinder(), FinderTest\testAppendWithAnArray(), FinderTest\testContains(), FinderTest\testContainsOnDirectory(), FinderTest\testDate(), FinderTest\testDepth(), FinderTest\testDirectories(), FinderTest\testExclude(), FinderTest\testFiles(), FinderTest\testFilter(), FinderTest\testFollowLinks(), FinderTest\testGetIterator(), FinderTest\testIgnoredAccessDeniedException(), FinderTest\testIgnoreDotFiles(), FinderTest\testIgnoreVCS(), FinderTest\testIn(), FinderTest\testInWithGlob(), FinderTest\testInWithGlobBrace(), FinderTest\testInWithNonDirectoryGlob(), FinderTest\testIteratorKeys(), FinderTest\testMultipleLocations(), FinderTest\testName(), FinderTest\testNotContainsOnDirectory(), FinderTest\testNotName(), FinderTest\testPath(), FinderTest\testRegexName(), FinderTest\testRegexSpecialCharsLocationWithPathRestrictionContainingStartFlag(), FinderTest\testRelativePath(), FinderTest\testRelativePathname(), FinderTest\testSize(), FinderTest\testSort(), FinderTest\testSortByAccessedTime(), FinderTest\testSortByChangedTime(), FinderTest\testSortByModifiedTime(), FinderTest\testSortByName(), and FinderTest\testSortByType().
|
private |
Definition at line 808 of file FinderTest.php.
References FinderTest\getValidAdapters().
Referenced by FinderTest\getContainsTestData(), FinderTest\getRegexNameTestData(), and FinderTest\getTestPathData().
getAdaptersTestData | ( | ) |
Definition at line 629 of file FinderTest.php.
References FinderTest\getValidAdapters().
getContainsTestData | ( | ) |
Definition at line 637 of file FinderTest.php.
References FinderTest\buildTestData().
getRegexNameTestData | ( | ) |
Definition at line 655 of file FinderTest.php.
References FinderTest\buildTestData().
getTestPathData | ( | ) |
Definition at line 693 of file FinderTest.php.
References FinderTest\buildTestData().
|
private |
Definition at line 827 of file FinderTest.php.
Referenced by FinderTest\buildTestData(), and FinderTest\getAdaptersTestData().
testAccessDeniedException | ( | Adapter\AdapterInterface | $adapter | ) |
getAdaptersTestData
Definition at line 743 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testAdaptersChaining | ( | ) |
Definition at line 612 of file FinderTest.php.
References IteratorTestCase\assertIterator(), Finder\create(), and RealIteratorTestCase\toAbsolute().
testAdapterSelection | ( | ) |
Definition at line 678 of file FinderTest.php.
References Finder\create().
testAdaptersOrdering | ( | ) |
Definition at line 594 of file FinderTest.php.
References Finder\create().
testAppendDoesNotRequireIn | ( | $adapter | ) |
getAdaptersTestData
Definition at line 462 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and Finder\create().
testAppendReturnsAFinder | ( | $adapter | ) |
getAdaptersTestData
Definition at line 454 of file FinderTest.php.
References FinderTest\buildFinder().
testAppendWithAFinder | ( | $adapter | ) |
getAdaptersTestData
Definition at line 425 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testAppendWithAnArray | ( | $adapter | ) |
getAdaptersTestData
Definition at line 441 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testContains | ( | $adapter, | |
$matchPatterns, | |||
$noMatchPatterns, | |||
$expected | |||
) |
getContainsTestData
Definition at line 508 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsoluteFixtures().
testContainsOnDirectory | ( | Adapter\AdapterInterface | $adapter | ) |
getAdaptersTestData
Definition at line 522 of file FinderTest.php.
References IteratorTestCase\assertIterator(), and FinderTest\buildFinder().
testCountDirectories | ( | ) |
Definition at line 472 of file FinderTest.php.
References Finder\create().
testCountFiles | ( | ) |
Definition at line 484 of file FinderTest.php.
References RealIteratorTestCase\$files, and Finder\create().
testCountWithoutIn | ( | ) |
Definition at line 499 of file FinderTest.php.
References Finder\create().
testCreate | ( | ) |
Definition at line 19 of file FinderTest.php.
References Finder\create().
testDate | ( | $adapter | ) |
getAdaptersTestData
Definition at line 156 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testDepth | ( | $adapter | ) |
getAdaptersTestData
Definition at line 59 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testDirectories | ( | $adapter | ) |
getAdaptersTestData
Definition at line 27 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testExclude | ( | $adapter | ) |
getAdaptersTestData
Definition at line 166 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testFiles | ( | $adapter | ) |
getAdaptersTestData
Definition at line 43 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testFilter | ( | $adapter | ) |
getAdaptersTestData
Definition at line 272 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), function, and RealIteratorTestCase\toAbsolute().
testFollowLinks | ( | $adapter | ) |
getAdaptersTestData
Definition at line 282 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testGetIterator | ( | $adapter | ) |
getAdaptersTestData
Definition at line 347 of file FinderTest.php.
References FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testIgnoredAccessDeniedException | ( | Adapter\AdapterInterface | $adapter | ) |
getAdaptersTestData
Definition at line 782 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testIgnoreDotFiles | ( | $adapter | ) |
getAdaptersTestData
Definition at line 194 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testIgnoreVCS | ( | $adapter | ) |
getAdaptersTestData
Definition at line 176 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testIn | ( | $adapter | ) |
getAdaptersTestData
Definition at line 296 of file FinderTest.php.
References IteratorTestCase\assertIterator(), and FinderTest\buildFinder().
testInWithGlob | ( | $adapter | ) |
getAdaptersTestData
Definition at line 315 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsoluteFixtures().
testInWithGlobBrace | ( | $adapter | ) |
getAdaptersTestData
Definition at line 336 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsoluteFixtures().
testInWithNonDirectoryGlob | ( | $adapter | ) |
getAdaptersTestData
Definition at line 327 of file FinderTest.php.
References FinderTest\buildFinder().
testIteratorKeys | ( | Adapter\AdapterInterface | $adapter | ) |
Iterator keys must be the file pathname.
getAdaptersTestData
Definition at line 572 of file FinderTest.php.
References FinderTest\buildFinder().
testMultipleLocations | ( | Adapter\AdapterInterface | $adapter | ) |
Searching in multiple locations involves AppendIterator which does an unnecessary rewind which leaves FilterIterator with inner FilesystemIterator in an invalid state.
getAdaptersTestData
Definition at line 553 of file FinderTest.php.
References FinderTest\buildFinder().
testMultipleLocationsWithSubDirectories | ( | ) |
Searching in multiple locations with sub directories involves AppendIterator which does an unnecessary rewind which leaves FilterIterator with inner FilesystemIterator in an invalid state.
Definition at line 848 of file FinderTest.php.
References IteratorTestCase\assertIterator(), and IteratorTestCase\assertIteratorInForeach().
testName | ( | $adapter | ) |
getAdaptersTestData
Definition at line 81 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testNotContainsOnDirectory | ( | Adapter\AdapterInterface | $adapter | ) |
getAdaptersTestData
Definition at line 535 of file FinderTest.php.
References IteratorTestCase\assertIterator(), and FinderTest\buildFinder().
testNotName | ( | $adapter | ) |
getAdaptersTestData
Definition at line 108 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testPath | ( | Adapter\AdapterInterface | $adapter, |
$matchPatterns, | |||
$noMatchPatterns, | |||
array | $expected | ||
) |
getTestPathData
Definition at line 668 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsoluteFixtures().
testRegexName | ( | $adapter, | |
$regex | |||
) |
getRegexNameTestData
Definition at line 136 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testRegexSpecialCharsLocationWithPathRestrictionContainingStartFlag | ( | Adapter\AdapterInterface | $adapter | ) |
getAdaptersTestData
Definition at line 583 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsoluteFixtures().
testRelativePath | ( | $adapter | ) |
getAdaptersTestData
Definition at line 383 of file FinderTest.php.
References FinderTest\buildFinder().
testRelativePathname | ( | $adapter | ) |
getAdaptersTestData
Definition at line 404 of file FinderTest.php.
References FinderTest\buildFinder().
testSize | ( | $adapter | ) |
getAdaptersTestData
Definition at line 146 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testSort | ( | $adapter | ) |
getAdaptersTestData
Definition at line 262 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), function, and RealIteratorTestCase\toAbsolute().
testSortByAccessedTime | ( | $adapter | ) |
getAdaptersTestData
Definition at line 232 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testSortByChangedTime | ( | $adapter | ) |
getAdaptersTestData
Definition at line 242 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testSortByModifiedTime | ( | $adapter | ) |
getAdaptersTestData
Definition at line 252 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testSortByName | ( | $adapter | ) |
getAdaptersTestData
Definition at line 212 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().
testSortByType | ( | $adapter | ) |
getAdaptersTestData
Definition at line 222 of file FinderTest.php.
References IteratorTestCase\assertIterator(), FinderTest\buildFinder(), and RealIteratorTestCase\toAbsolute().