package test.ajah.util.io.file;
import java.io.File;
import java.io.IOException;
import java.util.UUID;
import lombok.extern.java.Log;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.ajah.util.io.file.FileScan;
import com.ajah.util.log.Report;
@Log
File file = null;
@Before
public void setup()
throws IOException {
this.file = new File("/tmp/.ajah/" + UUID.randomUUID().toString());
this.file.mkdirs();
new File(this.file, UUID.randomUUID().toString()).createNewFile();
new File(this.file, UUID.randomUUID().toString()).mkdirs();
}
@Test
public void runScan()
throws IOException {
Report report = new Report();
report.set(log);
new FileScan(this.file, report).scan();
}
@After
}
}