Search in sources :

Example 1 with SqaleRepositoryService

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);
}
Also used : MockTriggerHandler(com.evolveum.midpoint.model.intest.util.MockTriggerHandler) SqaleRepositoryService(com.evolveum.midpoint.repo.sqale.SqaleRepositoryService) MockMultipleTriggersHandler(com.evolveum.midpoint.model.intest.util.MockMultipleTriggersHandler)

Aggregations

MockMultipleTriggersHandler (com.evolveum.midpoint.model.intest.util.MockMultipleTriggersHandler)1 MockTriggerHandler (com.evolveum.midpoint.model.intest.util.MockTriggerHandler)1 SqaleRepositoryService (com.evolveum.midpoint.repo.sqale.SqaleRepositoryService)1