use of com.twitter.common.io.FileUtils.Temporary in project commons by twitter.
the class FileUtilsTest method setUp.
@Before
public void setUp() {
final File tmpDir = FileUtils.createTempDir();
addTearDown(new TearDown() {
@Override
public void tearDown() throws Exception {
org.apache.commons.io.FileUtils.deleteDirectory(tmpDir);
}
});
assertEmptyDir(tmpDir);
temporary = new Temporary(tmpDir);
}
Aggregations