Lines Matching defs:T

35 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
39 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
47 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
60 func finderWithSameParams(t *testing.T, original *Finder) *Finder {
68 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) {
80 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) {
112 func runTestWithSuffixes(t *testing.T, existentPaths []string, expectedMatches []string) {
152 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) {
168 func TestSingleFile(t *testing.T) {
175 func TestIncludeFiles(t *testing.T) {
182 func TestIncludeFilesAndSuffixes(t *testing.T) {
189 func TestNestedDirectories(t *testing.T) {
196 func TestNestedDirectoriesWithSuffixes(t *testing.T) {
203 func TestEmptyDirectory(t *testing.T) {
210 func TestEmptyPath(t *testing.T) {
230 func TestFilesystemRoot(t *testing.T) {
257 func TestNonexistentDir(t *testing.T) {
275 func TestExcludeDirs(t *testing.T) {
303 func TestPruneFiles(t *testing.T) {
335 func TestRootDir(t *testing.T) {
359 func TestUncachedDir(t *testing.T) {
386 func TestSearchingForFilesExcludedFromCache(t *testing.T) {
413 func TestRelativeFilePaths(t *testing.T) {
457 func TestRootDirsContainedInOtherRootDirs(t *testing.T) {
478 func TestFindFirst(t *testing.T) {
502 func TestConcurrentFindSameDirectory(t *testing.T) {
553 func TestConcurrentFindDifferentDirectories(t *testing.T) {
616 func TestStrangelyFormattedPaths(t *testing.T) {
641 func TestCorruptedCacheHeader(t *testing.T) {
665 func TestCanUseCache(t *testing.T) {
711 func TestCorruptedCacheBody(t *testing.T) {
775 func TestStatCalls(t *testing.T) {
798 func TestFileAdded(t *testing.T) {
841 func TestDirectoriesAdded(t *testing.T) {
885 func TestDirectoryAndSubdirectoryBothUpdated(t *testing.T) {
925 func TestFileDeleted(t *testing.T) {
965 func TestDirectoriesDeleted(t *testing.T) {
1020 func TestDirectoriesMoved(t *testing.T) {
1078 func TestDirectoriesSwapped(t *testing.T) {
1141 func runFsReplacementTest(t *testing.T, fs1 *fs.MockFs, fs2 *fs.MockFs) {
1193 func TestChangeOfDevice(t *testing.T) {
1204 func TestChangeOfUserOrHost(t *testing.T) {
1214 func TestConsistentCacheOrdering(t *testing.T) {
1266 func TestNumSyscallsOfSecondFind(t *testing.T) {
1296 func TestChangingParamsOfSecondFind(t *testing.T) {
1326 func TestSymlinkPointingToFile(t *testing.T) {
1362 func TestSymlinkPointingToDirectory(t *testing.T) {
1396 func TestAddPruneFile(t *testing.T) {
1434 func TestUpdatingDbIffChanged(t *testing.T) {
1494 func TestDirectoryNotPermitted(t *testing.T) {
1543 func TestFileNotPermitted(t *testing.T) {
1566 func TestCacheEntryPathUnexpectedError(t *testing.T) {