• Home
  • Raw
  • Download

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) {
111 func runTestWithSuffixes(t *testing.T, existentPaths []string, expectedMatches []string) {
150 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) {
166 func TestSingleFile(t *testing.T) {
173 func TestIncludeFiles(t *testing.T) {
180 func TestIncludeFilesAndSuffixes(t *testing.T) {
187 func TestNestedDirectories(t *testing.T) {
194 func TestNestedDirectoriesWithSuffixes(t *testing.T) {
201 func TestEmptyDirectory(t *testing.T) {
208 func TestEmptyPath(t *testing.T) {
228 func TestFilesystemRoot(t *testing.T) {
255 func TestNonexistentDir(t *testing.T) {
273 func TestExcludeDirs(t *testing.T) {
301 func TestPruneFiles(t *testing.T) {
333 func TestRootDir(t *testing.T) {
357 func TestUncachedDir(t *testing.T) {
384 func TestSearchingForFilesExcludedFromCache(t *testing.T) {
411 func TestRelativeFilePaths(t *testing.T) {
455 func TestRootDirsContainedInOtherRootDirs(t *testing.T) {
476 func TestFindFirst(t *testing.T) {
500 func TestConcurrentFindSameDirectory(t *testing.T) {
551 func TestConcurrentFindDifferentDirectories(t *testing.T) {
614 func TestStrangelyFormattedPaths(t *testing.T) {
639 func TestCorruptedCacheHeader(t *testing.T) {
663 func TestCanUseCache(t *testing.T) {
709 func TestCorruptedCacheBody(t *testing.T) {
773 func TestStatCalls(t *testing.T) {
796 func TestFileAdded(t *testing.T) {
838 func TestDirectoriesAdded(t *testing.T) {
882 func TestDirectoryAndSubdirectoryBothUpdated(t *testing.T) {
922 func TestFileDeleted(t *testing.T) {
962 func TestDirectoriesDeleted(t *testing.T) {
1017 func TestDirectoriesMoved(t *testing.T) {
1075 func TestDirectoriesSwapped(t *testing.T) {
1138 func runFsReplacementTest(t *testing.T, fs1 *fs.MockFs, fs2 *fs.MockFs) {
1190 func TestChangeOfDevice(t *testing.T) {
1201 func TestChangeOfUserOrHost(t *testing.T) {
1211 func TestConsistentCacheOrdering(t *testing.T) {
1263 func TestNumSyscallsOfSecondFind(t *testing.T) {
1293 func TestChangingParamsOfSecondFind(t *testing.T) {
1323 func TestSymlinkPointingToFile(t *testing.T) {
1359 func TestSymlinkPointingToDirectory(t *testing.T) {
1393 func TestAddPruneFile(t *testing.T) {
1431 func TestUpdatingDbIffChanged(t *testing.T) {
1490 func TestDirectoryNotPermitted(t *testing.T) {
1538 func TestFileNotPermitted(t *testing.T) {
1560 func TestCacheEntryPathUnexpectedError(t *testing.T) {