(t *testing.T)
| 261 | } |
| 262 | |
| 263 | func TestFileRemoveAll(t *testing.T) { |
| 264 | r, vfs, file, _ := fileCreate(t, vfscommon.CacheModeOff) |
| 265 | |
| 266 | err := file.RemoveAll() |
| 267 | require.NoError(t, err) |
| 268 | |
| 269 | r.CheckRemoteItems(t) |
| 270 | |
| 271 | vfs.Opt.ReadOnly = true |
| 272 | err = file.RemoveAll() |
| 273 | assert.Equal(t, EROFS, err) |
| 274 | } |
| 275 | |
| 276 | func TestFileOpen(t *testing.T) { |
| 277 | _, _, file, _ := fileCreate(t, vfscommon.CacheModeOff) |
nothing calls this directly
no test coverage detected
searching dependent graphs…