org.camunda.bpm.engine.test.mock.MockExpressionManager Java Examples

The following examples show how to use org.camunda.bpm.engine.test.mock.MockExpressionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReactorProcessEngineConfiguration.java    From camunda-bpm-reactor with Apache License 2.0 5 votes vote down vote up
public ReactorProcessEngineConfiguration(final CamundaEventBus camundaEventBus) {
  this.history = HISTORY_FULL;
  this.databaseSchemaUpdate = DB_SCHEMA_UPDATE_DROP_CREATE;

  this.jobExecutorActivate = false;
  this.expressionManager = new MockExpressionManager();

  this.getProcessEnginePlugins().add(new ReactorProcessEnginePlugin(camundaEventBus));
}
 
Example #2
Source File: ReactorProcessEngineConfiguration.java    From camunda-bpm-reactor with Apache License 2.0 5 votes vote down vote up
public ReactorProcessEngineConfiguration(final CamundaEventBus camundaEventBus, final boolean reactorListenerFirstOnUserTask) {
  this.history = HISTORY_FULL;
  this.databaseSchemaUpdate = DB_SCHEMA_UPDATE_DROP_CREATE;

  this.jobExecutorActivate = false;
  this.expressionManager = new MockExpressionManager();

  this.getProcessEnginePlugins().add(new ReactorProcessEnginePlugin(camundaEventBus, reactorListenerFirstOnUserTask));
}
 
Example #3
Source File: StandaloneInMemoryTestConfiguration.java    From camunda-bpm-spring-boot-starter with Apache License 2.0 5 votes vote down vote up
public StandaloneInMemoryTestConfiguration(List<ProcessEnginePlugin> plugins) {
  jobExecutorActivate = false;
  expressionManager = new MockExpressionManager();
  databaseSchemaUpdate = DB_SCHEMA_UPDATE_DROP_CREATE;
  isDbMetricsReporterActivate = false;
  historyLevel = HistoryLevel.HISTORY_LEVEL_FULL;

  getProcessEnginePlugins().addAll(plugins);
}
 
Example #4
Source File: MostUsefulProcessEngineConfiguration.java    From camunda-bpm-mockito with Apache License 2.0 5 votes vote down vote up
public MostUsefulProcessEngineConfiguration() {
  this.history = HISTORY_FULL;
  this.databaseSchemaUpdate = DB_SCHEMA_UPDATE_TRUE;
  this.jobExecutorActivate = false;
  this.expressionManager = new MockExpressionManager();
  this.setCustomPostBPMNParseListeners(new ArrayList<>());
  this.setCustomJobHandlers(new ArrayList<>());
}
 
Example #5
Source File: StandaloneInMemoryTestConfiguration.java    From camunda-bpm-platform with Apache License 2.0 5 votes vote down vote up
public StandaloneInMemoryTestConfiguration(List<ProcessEnginePlugin> plugins) {
  jobExecutorActivate = false;
  expressionManager = new MockExpressionManager();
  databaseSchemaUpdate = DB_SCHEMA_UPDATE_DROP_CREATE;
  isDbMetricsReporterActivate = false;
  historyLevel = HistoryLevel.HISTORY_LEVEL_FULL;

  getProcessEnginePlugins().addAll(plugins);
}