public static class MockDirectoryWrapper.Failure extends Object
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
doFail |
Constructor | Description |
---|---|
Failure() |
Modifier and Type | Method | 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
IOException
public MockDirectoryWrapper.Failure reset()
public void setDoFail()
public void clearDoFail()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.