use of org.commonjava.indy.core.data.testutil.StoreEventDispatcherStub in project indy by Commonjava.
the class DataFileStoreDataManagerTest method setup.
@Before
public void setup() throws Exception {
fileCfg = new DataFileConfiguration(temp.newFolder("data"), temp.newFolder("work"));
final DataFileManager fileMgr = new DataFileManager(fileCfg, new DataFileEventManager());
mgr = new DataFileStoreDataManager(fileMgr, new IndyObjectMapper(false), new StoreEventDispatcherStub(), new DefaultIndyConfiguration());
}
use of org.commonjava.indy.core.data.testutil.StoreEventDispatcherStub in project indy by Commonjava.
the class LegacyDataMigrationActionTest method setup.
@Before
public void setup() throws Exception {
dfm = new DataFileManager(temp.newFolder("stores"), new DataFileEventManager());
IndyObjectMapper mapper = new IndyObjectMapper(true);
final StoreEventDispatcher sed = new StoreEventDispatcherStub();
action = new LegacyDataMigrationAction(dfm, new DataFileStoreDataManager(dfm, mapper, sed, new DefaultIndyConfiguration()), mapper);
}
Aggregations