CheckListingWithPrecision checks the fs to see if it has the expected contents with the given precision. If expectedDirs is non nil then we check those too. Note that no directories returned is also OK as some remotes don't return directories.
(t *testing.T, f fs.Fs, items []Item, expectedDirs []string, precision time.Duration)
| 335 | // directories returned is also OK as some remotes don't return |
| 336 | // directories. |
| 337 | func CheckListingWithPrecision(t *testing.T, f fs.Fs, items []Item, expectedDirs []string, precision time.Duration) { |
| 338 | CheckListingWithRoot(t, f, "", items, expectedDirs, precision) |
| 339 | } |
| 340 | |
| 341 | // CheckListing checks the fs to see if it has the expected contents |
| 342 | func CheckListing(t *testing.T, f fs.Fs, items []Item) { |
searching dependent graphs…