use of org.commonjava.indy.setback.conf.SetbackConfig in project indy by Commonjava.
the class SetBackSettingsManagerTest method setup.
@Before
public void setup() throws Exception {
storeManager = new MemoryStoreDataManager(true);
final File dataSrc = new File("./src/main/data");
final File data = temp.newFolder("data");
FileUtils.copyDirectory(dataSrc, data);
final DataFileConfiguration config = new DataFileConfiguration(data, temp.newFolder("work"));
final DataFileManager fileManager = new DataFileManager(config, new DataFileEventManager());
final TemplatingEngine templates = new TemplatingEngine(new GStringTemplateEngine(), fileManager);
manager = new SetBackSettingsManager(storeManager, templates, fileManager, new SetbackConfig(true));
}
Aggregations