Search in sources :

Example 1 with ProcessAdminRuntimeImpl

use of org.activiti.runtime.api.impl.ProcessAdminRuntimeImpl in project Activiti by Activiti.

the class HistoryConfigurationTest method init.

@BeforeEach
public void init() {
    ApplicationEventPublisher eventPublisher = spy(applicationEventPublisher);
    spy(new ProcessRuntimeImpl(repositoryService, processDefinitionConverter, runtimeService, securityPoliciesManager, processInstanceConverter, variableInstanceConverter, deploymentConverter, configuration, eventPublisher, processVariablesValidator));
    spy(new ProcessAdminRuntimeImpl(repositoryService, processDefinitionConverter, runtimeService, processInstanceConverter, eventPublisher, processVariablesValidator));
    // Reset test variables
    RuntimeTestConfiguration.processImageConnectorExecuted = false;
    RuntimeTestConfiguration.tagImageConnectorExecuted = false;
    RuntimeTestConfiguration.discardImageConnectorExecuted = false;
}
Also used : ProcessAdminRuntimeImpl(org.activiti.runtime.api.impl.ProcessAdminRuntimeImpl) ApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher) ProcessRuntimeImpl(org.activiti.runtime.api.impl.ProcessRuntimeImpl) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ProcessAdminRuntimeImpl (org.activiti.runtime.api.impl.ProcessAdminRuntimeImpl)1 ProcessRuntimeImpl (org.activiti.runtime.api.impl.ProcessRuntimeImpl)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1 ApplicationEventPublisher (org.springframework.context.ApplicationEventPublisher)1