Lines Matching defs:T

34 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
38 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
46 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
59 func finderWithSameParams(t *testing.T, original *Finder) *Finder {
67 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) {
79 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) {
108 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) {
124 func TestSingleFile(t *testing.T) {
131 func TestIncludeFiles(t *testing.T) {
138 func TestNestedDirectories(t *testing.T) {
145 func TestEmptyDirectory(t *testing.T) {
152 func TestEmptyPath(t *testing.T) {
172 func TestFilesystemRoot(t *testing.T) {
199 func TestNonexistentDir(t *testing.T) {
217 func TestExcludeDirs(t *testing.T) {
245 func TestPruneFiles(t *testing.T) {
277 func TestRootDir(t *testing.T) {
301 func TestUncachedDir(t *testing.T) {
328 func TestSearchingForFilesExcludedFromCache(t *testing.T) {
355 func TestRelativeFilePaths(t *testing.T) {
399 func TestRootDirsContainedInOtherRootDirs(t *testing.T) {
420 func TestFindFirst(t *testing.T) {
444 func TestConcurrentFindSameDirectory(t *testing.T) {
495 func TestConcurrentFindDifferentDirectories(t *testing.T) {
558 func TestStrangelyFormattedPaths(t *testing.T) {
583 func TestCorruptedCacheHeader(t *testing.T) {
607 func TestCanUseCache(t *testing.T) {
653 func TestCorruptedCacheBody(t *testing.T) {
717 func TestStatCalls(t *testing.T) {
740 func TestFileAdded(t *testing.T) {
782 func TestDirectoriesAdded(t *testing.T) {
826 func TestDirectoryAndSubdirectoryBothUpdated(t *testing.T) {
866 func TestFileDeleted(t *testing.T) {
906 func TestDirectoriesDeleted(t *testing.T) {
961 func TestDirectoriesMoved(t *testing.T) {
1019 func TestDirectoriesSwapped(t *testing.T) {
1082 func runFsReplacementTest(t *testing.T, fs1 *fs.MockFs, fs2 *fs.MockFs) {
1134 func TestChangeOfDevice(t *testing.T) {
1145 func TestChangeOfUserOrHost(t *testing.T) {
1155 func TestConsistentCacheOrdering(t *testing.T) {
1207 func TestNumSyscallsOfSecondFind(t *testing.T) {
1237 func TestChangingParamsOfSecondFind(t *testing.T) {
1267 func TestSymlinkPointingToFile(t *testing.T) {
1303 func TestSymlinkPointingToDirectory(t *testing.T) {
1337 func TestAddPruneFile(t *testing.T) {
1375 func TestUpdatingDbIffChanged(t *testing.T) {
1434 func TestDirectoryNotPermitted(t *testing.T) {
1482 func TestFileNotPermitted(t *testing.T) {
1504 func TestCacheEntryPathUnexpectedError(t *testing.T) {