Lines Matching defs:MockFs
37 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder {
41 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea…
49 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) …
81 func write(t *testing.T, path string, content string, filesystem *fs.MockFs) {
90 func create(t *testing.T, path string, filesystem *fs.MockFs) {
94 func delete(t *testing.T, path string, filesystem *fs.MockFs) {
101 func removeAll(t *testing.T, path string, filesystem *fs.MockFs) {
108 func move(t *testing.T, oldPath string, newPath string, filesystem *fs.MockFs) {
115 func link(t *testing.T, newPath string, oldPath string, filesystem *fs.MockFs) {
126 func read(t *testing.T, path string, filesystem *fs.MockFs) string {
137 func modTime(t *testing.T, path string, filesystem *fs.MockFs) time.Time {
144 func setReadable(t *testing.T, path string, readable bool, filesystem *fs.MockFs) {
151 func setReadErr(t *testing.T, path string, readErr error, filesystem *fs.MockFs) {
1218 func runFsReplacementTest(t *testing.T, fs1 *fs.MockFs, fs2 *fs.MockFs) {