use of org.activiti.api.process.runtime.events.listener.ProcessRuntimeEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).hasSize(11);
assertThat(variableEventListeners).hasSize(3);
}
use of org.activiti.api.process.runtime.events.listener.ProcessRuntimeEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).isNotEmpty();
assertThat(variableEventListeners).isNotEmpty();
}
use of org.activiti.api.process.runtime.events.listener.ProcessRuntimeEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).isNotEmpty();
assertThat(variableEventListeners).isNotEmpty();
}
use of org.activiti.api.process.runtime.events.listener.ProcessRuntimeEventListener in project Activiti by Activiti.
the class ConformanceBasicProcessRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
ProcessRuntimeConfiguration configuration = processRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = configuration.processEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
// then
assertThat(processRuntimeEventListeners).hasSize(11);
assertThat(variableEventListeners).hasSize(3);
}
use of org.activiti.api.process.runtime.events.listener.ProcessRuntimeEventListener in project Activiti by Activiti.
the class UserTaskAssigneeRuntimeTest method shouldGetConfiguration.
@Test
public void shouldGetConfiguration() {
securityUtil.logInAs("user1");
// when
TaskRuntimeConfiguration configuration = taskRuntime.configuration();
// then
assertThat(configuration).isNotNull();
// when
List<TaskRuntimeEventListener<?>> taskRuntimeEventListeners = configuration.taskRuntimeEventListeners();
List<VariableEventListener<?>> variableEventListeners = configuration.variableEventListeners();
List<ProcessRuntimeEventListener<?>> processRuntimeEventListeners = processRuntime.configuration().processEventListeners();
// then
assertThat(taskRuntimeEventListeners).hasSize(6);
assertThat(variableEventListeners).hasSize(3);
assertThat(processRuntimeEventListeners).hasSize(11);
}
Aggregations