[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3846) JBPM Tools Reference Guide JUnit problem with assertNotNull

Stelios Koussouris (JIRA) jira-events at lists.jboss.org
Sun Feb 22 06:18:44 EST 2009


JBPM Tools Reference Guide JUnit problem with assertNotNull
-----------------------------------------------------------

                 Key: JBIDE-3846
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3846
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: project-examples
            Reporter: Stelios Koussouris
            Priority: Trivial


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list