Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gclaussn committed May 12, 2024
1 parent a2912ed commit 310db21
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
import org.camunda.community.bpmndt.strategy.UserTaskStrategy;

/**
* Builds a new test case context, used for code generation. An instance of this class needs to be
* reused for all test cases of one BPMN process.
* Builds a new test case context, used for code generation. An instance of this class needs to be reused for all test cases of one BPMN process.
*/
public class BuildTestCaseContext implements Function<TestCase, TestCaseContext> {

Expand Down Expand Up @@ -78,7 +77,7 @@ public TestCaseContext apply(TestCase testCase) {
GeneratorStrategy strategy = createStrategy(activity);
if (activity.isMultiInstance()) {
strategy = new MultiInstanceStrategy(strategy, ctx);
ctx.addMultiInstanceActivity(activity);
ctx.addMultiInstance(activity);
}

ctx.addStrategy(strategy);
Expand Down

0 comments on commit 310db21

Please sign in to comment.