-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event Based Gateway error #84
Comments
I have fixed the bug by adding a special handling for event based gateways - please see 602ccf7. If you want to try it out/test it with your process definition and test cases:
Until now I had no tests, which included an event based gateway. Moreover I used the extension only for pretty simple processes so far - sorry for the issue. But thanks for reporting the bug! I plan to release version |
fyi: the bugfix has been merged to master - if you still want to try it out. |
Just tested it on the bug fix branch and it works perfectly fine. Thank you for the fast reply and fix. |
If an event based gateway is part of a selected test, the generation fails with the following error " Unexpected error occurred: 'asyncAfter' is not supported for 'Event Based Gateway' ".
Here is a part of the stack trace :
Caused by: java.lang.UnsupportedOperationException: 'asyncAfter' is not supported for 'Event Based Gateway' at org.camunda.bpm.model.bpmn.impl.instance.EventBasedGatewayImpl.isCamundaAsyncAfter (EventBasedGatewayImpl.java:90) at org.camunda.community.bpmndt.TestCaseActivity.isAsyncAfter (TestCaseActivity.java:124) at org.camunda.community.bpmndt.cmd.GenerateJUnit4TestCase.addHandlerFields (GenerateJUnit4TestCase.java:96) at org.camunda.community.bpmndt.cmd.GenerateJUnit4TestCase.accept (GenerateJUnit4TestCase.java:53) at org.camunda.community.bpmndt.cmd.GenerateJUnit4TestCase.accept (GenerateJUnit4TestCase.java:32) at org.camunda.community.bpmndt.Generator.generateTestCases (Generator.java:159) at org.camunda.community.bpmndt.Generator.generate (Generator.java:68)
The
isAsyncAfter()
method of TestCaseActivity which callsflowNode.isCamundaAsyncAfter()
throws anUnsupportedOperationException
due toEventBasedGatewayImpl.isCamundaAsyncAfter()
implementation :The text was updated successfully, but these errors were encountered: