use of org.commonjava.indy.subsys.datafile.conf.DataFileConfiguration in project indy by Commonjava.
the class LegacyQuartzDBMigrationActionTest method prepare.
@Before
public void prepare() throws Exception {
File file = temp.getRoot();
data = new File(file, INDY_HOME + "/" + DataFileConfiguration.DEFAULT_DATA_SUBDIR);
System.setProperty("indy.home", file.getAbsolutePath() + "/" + INDY_HOME);
data.mkdirs();
new File(data, "scheduler.mv.db").createNewFile();
new File(data, "scheduler.trace.db").createNewFile();
new File(data, "content-index").mkdir();
new File(data, "indy").mkdir();
new File(data, "promote").mkdir();
new File(data, "schedule.mv.db").createNewFile();
config = new DataFileConfiguration();
action = new LegacyQuartzDBMigrationAction(config);
}
Aggregations