use of com.evolveum.midpoint.repo.sqale.SqaleRepositoryService in project midpoint by Evolveum.
the class TestTriggerTask method initSystem.
@Override
public void initSystem(Task initTask, OperationResult initResult) throws Exception {
super.initSystem(initTask, initResult);
// Some tests differ for new and old repo for good reasons, so we need this switch.
isNewRepo = plainRepositoryService instanceof SqaleRepositoryService;
testTriggerHandler = new MockTriggerHandler();
triggerHandlerRegistry.register(MockTriggerHandler.HANDLER_URI, testTriggerHandler);
testMultipleTriggersHandler = new MockMultipleTriggersHandler();
triggerHandlerRegistry.register(MockMultipleTriggersHandler.HANDLER_URI, testMultipleTriggersHandler);
}
Aggregations