[
https://jira.jboss.org/jira/browse/JBDS-645?page=com.atlassian.jira.plugi...
]
OLga Chikvina commented on JBDS-645:
------------------------------------
Yes, you are right. It should be assertNull there. Sorry for misleading.
The wrong screens are updated.
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
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