[jbosstools-issues] [JBoss JIRA] Reopened: (JBDS-645) JBPM Tools Reference Guide JUnit problem with assertNotNull

Svetlana mukhina (JIRA) jira-events at lists.jboss.org
Thu May 7 13:33:58 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBDS-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svetlana mukhina reopened JBDS-645:
-----------------------------------



> JBPM Tools Reference Guide JUnit problem with assertNotNull
> -----------------------------------------------------------
>
>                 Key: JBDS-645
>                 URL: https://jira.jboss.org/jira/browse/JBDS-645
>             Project: Developer Studio
>          Issue Type: Bug
>          Components: Doc - jbpm
>            Reporter: Stelios Koussouris
>            Assignee: OLga Chikvina
>            Priority: Trivial
>             Fix For: 2.0.1, 2.1.0
>
>          Time Spent: 5 hours
>  Remaining Estimate: 0 minutes
>
> 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