public static class MockDirectoryWrapper.Failure extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
doFail |
| Constructor and Description |
|---|
MockDirectoryWrapper.Failure() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDoFail() |
void |
eval(MockDirectoryWrapper dir)
eval is called on the first write of every new file.
|
MockDirectoryWrapper.Failure |
reset()
reset should set the state of the failure to its default
(freshly constructed) state.
|
void |
setDoFail() |
public void eval(MockDirectoryWrapper dir) throws IOException
IOExceptionpublic MockDirectoryWrapper.Failure reset()
public void setDoFail()
public void clearDoFail()