svn commit: r14555 - trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-04-30 21:53:18-0700
New Revision: 14555

Modified:
   trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java

Log:
Increase test coverage. From [Lines=85%, Conditionals=50%] to [...?].

Modified: trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java?view=diff&rev=14555&p1=trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java&p2=trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java&r1=14554&r2=14555
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java	(original)
+++ trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestActionStateNotationUml.java	2008-04-30 21:53:18-0700
@@ -133,6 +133,10 @@
         String notationStr = notation.toString(aActionState, null);
         assertEquals("Notation not correctly generated", "testRoundTrip",
                 notationStr);
+        
+        notation.parse(aActionState, "otherExpression");
+        assertEquals("Entry Action not reused", entry, 
+                Model.getFacade().getEntry(aActionState));
     }
 
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.