Searched defs:MockFs (Results 1 – 3 of 3) sorted by relevance
/build/soong/finder/fs/ |
D | fs.go | 172 type MockFs struct { struct 174 viewId string // 175 deviceNumber uint64 178 root mockDir 179 Clock *Clock 180 workDir string 181 nextInodeNumber uint64 184 StatCalls []string 185 ReadDirCalls []string 186 aggregatesLock sync.Mutex [all …]
|
/build/soong/finder/ |
D | finder_test.go | 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 { [all …]
|
/build/blueprint/pathtools/ |
D | fs.go | 41 func MockFs(files map[string][]byte) FileSystem { func
|