Interface DiskCheckUtil.DiskChecks
- Enclosing class:
DiskCheckUtil
public static interface DiskCheckUtil.DiskChecks
Defines operations that must be implemented by a class injecting
failures into this class. Default implementations return true so that
tests only need to override methods for the failures they want to test.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancheckExistence(File storageDir) default booleancheckPermissions(File storageDir) default booleancheckReadWrite(File storageDir, File testFileDir, int numBytesToWrite)
-
Method Details
-
checkExistence
-
checkPermissions
-
checkReadWrite
-