Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.mapdb;
 
 import org.junit.After;
 
 import java.io.File;
provides temporarily test files which are deleted after JVM exits.
abstract public class TestFile {
    protected final File index = UtilsTest.tempDbFile();
    protected final File data = new File(.getPath()+ .);
    protected final File log = new File(.getPath()+ .);
    protected Volume.Factory fac = Volume.fileFactory(false, 0, 0L, false);
    @After public void after() throws IOException {
        if(!=null)
            .delete();
        if(!=null)
            .delete();
        if(!=null)
            .delete();
    }
New to GrepCode? Check out our FAQ X