Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8152

Add method to jBPM JUnit support to retrieve active nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.19.0.Final
    • 7.16.0.Final
    • Runtime Engine
    • None
    • NEW
    • NEW

    Description

      The JbpmUnitBaseTestCase class is nice because it provides some useful methods like:

      public void assertProcessInstanceActive(ProcessName processName)

      public void assertNodeActive(long processId, String nodeName)

      etc… However, what would be nice is to have a method to get what process/node IS active. If you’re coding a junit test and asserting that the processes/nodes you EXPECT to be active, then if they’re NOT active, then .. .what IS active? Right now, there’s no way to easily determine that.

      Attachments

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: