• Home
  • Raw
  • Download

Lines Matching refs:T

37 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {  argument
41 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea… argument
49 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) … argument
62 func finderWithSameParams(t *testing.T, original *Finder) *Finder { argument
70 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) { argument
81 func write(t *testing.T, path string, content string, filesystem *fs.MockFs) { argument
90 func create(t *testing.T, path string, filesystem *fs.MockFs) { argument
94 func delete(t *testing.T, path string, filesystem *fs.MockFs) { argument
101 func removeAll(t *testing.T, path string, filesystem *fs.MockFs) { argument
108 func move(t *testing.T, oldPath string, newPath string, filesystem *fs.MockFs) { argument
115 func link(t *testing.T, newPath string, oldPath string, filesystem *fs.MockFs) { argument
126 func read(t *testing.T, path string, filesystem *fs.MockFs) string { argument
137 func modTime(t *testing.T, path string, filesystem *fs.MockFs) time.Time { argument
144 func setReadable(t *testing.T, path string, readable bool, filesystem *fs.MockFs) { argument
151 func setReadErr(t *testing.T, path string, readErr error, filesystem *fs.MockFs) { argument
158 func fatal(t *testing.T, message string) { argument
164 func assertSameResponse(t *testing.T, actual []string, expected []string) { argument
177 func assertSameStatCalls(t *testing.T, actual []string, expected []string) { argument
195 func assertSameReadDirCalls(t *testing.T, actual []string, expected []string) { argument
215 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) { argument
244 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) { argument
252 t.Run(testName, func(t *testing.T) {
260 func TestSingleFile(t *testing.T) { argument
267 func TestIncludeFiles(t *testing.T) { argument
274 func TestNestedDirectories(t *testing.T) { argument
281 func TestEmptyDirectory(t *testing.T) { argument
288 func TestEmptyPath(t *testing.T) { argument
308 func TestFilesystemRoot(t *testing.T) { argument
310 testWithNumThreads := func(t *testing.T, numThreads int) {
335 func TestNonexistentDir(t *testing.T) { argument
353 func TestExcludeDirs(t *testing.T) { argument
381 func TestPruneFiles(t *testing.T) { argument
413 func TestRootDir(t *testing.T) { argument
437 func TestUncachedDir(t *testing.T) { argument
464 func TestSearchingForFilesExcludedFromCache(t *testing.T) { argument
491 func TestRelativeFilePaths(t *testing.T) { argument
535 func TestRootDirsContainedInOtherRootDirs(t *testing.T) { argument
556 func TestFindFirst(t *testing.T) { argument
580 func TestConcurrentFindSameDirectory(t *testing.T) { argument
582 testWithNumThreads := func(t *testing.T, numThreads int) {
631 func TestConcurrentFindDifferentDirectories(t *testing.T) { argument
694 func TestStrangelyFormattedPaths(t *testing.T) { argument
719 func TestCorruptedCacheHeader(t *testing.T) { argument
743 func TestCanUseCache(t *testing.T) { argument
789 func TestCorruptedCacheBody(t *testing.T) { argument
853 func TestStatCalls(t *testing.T) { argument
876 func TestFileAdded(t *testing.T) { argument
918 func TestDirectoriesAdded(t *testing.T) { argument
962 func TestDirectoryAndSubdirectoryBothUpdated(t *testing.T) { argument
1002 func TestFileDeleted(t *testing.T) { argument
1042 func TestDirectoriesDeleted(t *testing.T) { argument
1097 func TestDirectoriesMoved(t *testing.T) { argument
1155 func TestDirectoriesSwapped(t *testing.T) { argument
1218 func runFsReplacementTest(t *testing.T, fs1 *fs.MockFs, fs2 *fs.MockFs) { argument
1270 func TestChangeOfDevice(t *testing.T) { argument
1281 func TestChangeOfUserOrHost(t *testing.T) { argument
1291 func TestConsistentCacheOrdering(t *testing.T) { argument
1343 func TestNumSyscallsOfSecondFind(t *testing.T) { argument
1373 func TestChangingParamsOfSecondFind(t *testing.T) { argument
1403 func TestSymlinkPointingToFile(t *testing.T) { argument
1439 func TestSymlinkPointingToDirectory(t *testing.T) { argument
1472 func TestAddPruneFile(t *testing.T) { argument
1510 func TestUpdatingDbIffChanged(t *testing.T) { argument
1569 func TestDirectoryNotPermitted(t *testing.T) { argument
1617 func TestFileNotPermitted(t *testing.T) { argument
1639 func TestCacheEntryPathUnexpectedError(t *testing.T) { argument