svn commit: r13638 - trunk/tests/org/argouml/notation/TestNotationProvider.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-10-03 22:00:43-0700
New Revision: 13638

Modified:
   trunk/tests/org/argouml/notation/TestNotationProvider.java

Log:
Fix setting of root model

Modified: trunk/tests/org/argouml/notation/TestNotationProvider.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/notation/TestNotationProvider.java?view=diff&rev=13638&p1=trunk/tests/org/argouml/notation/TestNotationProvider.java&p2=trunk/tests/org/argouml/notation/TestNotationProvider.java&r1=13637&r2=13638
==============================================================================
--- trunk/tests/org/argouml/notation/TestNotationProvider.java	(original)
+++ trunk/tests/org/argouml/notation/TestNotationProvider.java	2007-10-03 22:00:43-0700
@@ -44,6 +44,7 @@
     /*
      * @see junit.framework.TestCase#setUp()
      */
+    @Override
     public void setUp() throws Exception {
 	super.setUp();
         InitializeModel.initializeDefault();
@@ -55,7 +56,7 @@
     /**
      * Test the existence of the 
      * toString(Object modelElement, HashMap args) method.
-     * TODO: Need to find a more usefull test.
+     * TODO: Need to find a more useful test.
      */
     public void testToString() {
         NotationProvider np = new NPImpl();
@@ -115,7 +116,6 @@
         Object model =
             Model.getModelManagementFactory().createModel();
         Project p = ProjectManager.getManager().getCurrentProject();
-        p.getRoots().clear();
         p.addModel(model);
         aClass = Model.getCoreFactory().buildClass(model);
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.