本文整理汇总了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;
}
示例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
}
}
}
示例3: buildRule
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public static ProcessEngineRule buildRule() {
return buildRule(new CamundaEventBus());
}
示例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();
}
示例6: AuthorizationTestBaseRule
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public AuthorizationTestBaseRule(ProcessEngineRule engineRule) {
this.engineRule = engineRule;
}
示例7: MigrationTestRule
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public MigrationTestRule(ProcessEngineRule processEngineRule) {
super(processEngineRule);
}
示例8: BatchMigrationHelper
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchMigrationHelper(ProcessEngineRule engineRule, MigrationTestRule migrationRule) {
super(engineRule);
this.migrationRule = migrationRule;
}
示例9: BatchRestartHelper
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchRestartHelper(ProcessEngineRule engineRule) {
super(engineRule);
}
示例10: BatchHelper
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchHelper(ProcessEngineRule engineRule) {
this.engineRule = engineRule;
}
示例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>();
}
示例12: BatchSuspensionHelper
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchSuspensionHelper(ProcessEngineRule engineRule) {
super(engineRule);
}
示例13: BatchDeletionHelper
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public BatchDeletionHelper(ProcessEngineRule engineRule) {
super(engineRule);
}
示例14: ProcessEngineTestRule
import org.camunda.bpm.engine.test.ProcessEngineRule; //导入依赖的package包/类
public ProcessEngineTestRule(ProcessEngineRule processEngineRule) {
this.processEngineRule = processEngineRule;
}