SUNILathulya opened a new pull request, #6874: URL: https://github.com/apache/incubator-kie/pull/6874
closes https://github.com/apache/incubator-kie-issues/issues/2386 Migrated testProcessFactory and testSignalEvent in ProcessFactoryTest from the legacy v7 runtime-based API to the v9 StaticApplicationAssembler approach. The test file can be identified by referring to ProcessFactoryTest.java: https://github.com/apache/incubator-kie-drools/blob/main/kogito-jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ProcessFactoryTest.java ## Tests Migrated **testProcessFactory()** — Line 66 -Validates that a process built entirely viaRuleFlowProcessFactory(start → action → end) can be created and started -Converts from v7createKogitoProcessRuntime()+ XML round-trip to v9StaticApplicationAssemblerwith directRuleFlowProcess -No assertions existed in the original test; none were added **testSignalEvent()** — Line 290 -Validates signal event routing: process starts, waits at an intermediate event node, receives a signal, then completes -Converts from v7createKogitoProcessRuntime()+ XML round-trip to v9StaticApplicationAssemblerwith directRuleFlowProcess -Tests two state assertions —STATE_ACTIVEbefore signal,STATE_COMPLETEDafter — both preserved exactly -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
