commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r376392 - /jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java
Date Thu, 09 Feb 2006 19:13:23 GMT
Author: rahul
Date: Thu Feb  9 11:13:22 2006
New Revision: 376392

URL: http://svn.apache.org/viewcvs?rev=376392&view=rev
Log:
This is probably Peter's intent behind instantiating state1.

Modified:
    jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java

Modified: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java?rev=376392&r1=376391&r2=376392&view=diff
==============================================================================
--- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java
(original)
+++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/StateTest.java
Thu Feb  9 11:13:22 2006
@@ -124,7 +124,7 @@
     public void testIsSimpleHasChildren() {
         State state1 = new State();
         
-        state.addChild(state);
+        state.addChild(state1);
         
         assertFalse(state.isSimple());
     }
@@ -144,7 +144,7 @@
     public void testIsCompositeHasChildren() {
         State state1 = new State();
         
-        state.addChild(state);
+        state.addChild(state1);
         
         assertTrue(state.isComposite());
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message