当前位置: 首页>>代码示例>>Java>>正文


Java ProcessEngineRule类代码示例

本文整理汇总了Java中org.camunda.bpm.engine.test.ProcessEngineRule的典型用法代码示例。如果您正苦于以下问题:Java ProcessEngineRule类的具体用法?Java ProcessEngineRule怎么用?Java ProcessEngineRule使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ProcessEngineRule类属于org.camunda.bpm.engine.test包,在下文中一共展示了ProcessEngineRule类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getTestRules

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
@Override
protected List<TestRule> getTestRules(Object target) {
  List<TestRule> testRules = super.getTestRules(target);

  testRules.stream()
    .filter(t -> t instanceof ProcessEngineRule)
    .map(t -> (ProcessEngineRule)t)
    .forEach(processEngineRules::add);

  return testRules;
}
 
开发者ID:camunda,项目名称:camunda-bpm-spring-boot-starter,代码行数:12,代码来源:ProcessEngineRuleRunner.java

示例2: run

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
@Override
public void run(RunNotifier notifier) {
  super.run(notifier);
  for (ProcessEngineRule processEngineRule : processEngineRules) {
    try {
      processEngineRule.getProcessEngine().close();
    } catch (Exception e) {
      // close quietly
    }
  }
}
 
开发者ID:camunda,项目名称:camunda-bpm-spring-boot-starter,代码行数:12,代码来源:ProcessEngineRuleRunner.java

示例3: buildRule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public static ProcessEngineRule buildRule() {
  return buildRule(new CamundaEventBus());
}
 
开发者ID:camunda,项目名称:camunda-bpm-reactor,代码行数:4,代码来源:ReactorProcessEngineConfiguration.java

示例4: rule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public ProcessEngineRule rule() {
  return new ProcessEngineRule(buildProcessEngine());
}
 
开发者ID:camunda,项目名称:camunda-bpm-spring-boot-starter,代码行数:4,代码来源:StandaloneInMemoryTestConfiguration.java

示例5: AuthorizationTestRule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public AuthorizationTestRule(ProcessEngineRule engineRule) {
  super(engineRule);
  this.interceptor = new AuthorizationExceptionInterceptor();
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:5,代码来源:AuthorizationTestRule.java

示例6: AuthorizationTestBaseRule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public AuthorizationTestBaseRule(ProcessEngineRule engineRule) {
  this.engineRule = engineRule;
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:AuthorizationTestBaseRule.java

示例7: MigrationTestRule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public MigrationTestRule(ProcessEngineRule processEngineRule) {
  super(processEngineRule);
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:MigrationTestRule.java

示例8: BatchMigrationHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchMigrationHelper(ProcessEngineRule engineRule, MigrationTestRule migrationRule) {
  super(engineRule);
  this.migrationRule = migrationRule;
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:5,代码来源:BatchMigrationHelper.java

示例9: BatchRestartHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchRestartHelper(ProcessEngineRule engineRule) {
  super(engineRule);
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:BatchRestartHelper.java

示例10: BatchHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchHelper(ProcessEngineRule engineRule) {
  this.engineRule = engineRule;
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:BatchHelper.java

示例11: BatchModificationHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchModificationHelper(ProcessEngineRule engineRule) {
  super(engineRule);
  this.testRule = new ProcessEngineTestRule(engineRule);
  currentProcessInstances = new ArrayList<String>();
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:6,代码来源:BatchModificationHelper.java

示例12: BatchSuspensionHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchSuspensionHelper(ProcessEngineRule engineRule) {
  super(engineRule);
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:BatchSuspensionHelper.java

示例13: BatchDeletionHelper

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchDeletionHelper(ProcessEngineRule engineRule) {
  super(engineRule);
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:BatchHistoricDecisionInstanceDeletionTest.java

示例14: ProcessEngineTestRule

import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public ProcessEngineTestRule(ProcessEngineRule processEngineRule) {
  this.processEngineRule = processEngineRule;
}
 
开发者ID:camunda,项目名称:camunda-bpm-platform,代码行数:4,代码来源:ProcessEngineTestRule.java


注:本文中的org.camunda.bpm.engine.test.ProcessEngineRule类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。