Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-645

JBPM Tools Reference Guide JUnit problem with assertNotNull

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial Trivial
    • 2.1.0
    • None
    • None

      6.1. Creating a Hello World Action

      They JUnit test shown in "Figure 6.2. A Simple Hello Action"

      assertNotNull(
      "The greeting variable should not exist ",
      instance.getContextInstance().getVariable("greeting"));

      always seems to fail as there is no "greeting" variable before it is created in the "transition" from the "start" to the "auction" state. Is this not true? The JUnit succeeds if changed to assertNull

              OChikvina OLga Chikvina (Inactive)
              skoussou Stelios Koussouris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h