svn commit: r17048 - trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2009-04-06 03:03:56-0700
New Revision: 17048

Modified:
   trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java

Log:
Fix failing test.

Modified: trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java?view=diff&pathrev=17048&r1=17047&r2=17048
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java	(original)
+++ trunk/src/argouml-app/tests/org/argouml/uml/diagram/state/ui/TestFigClonable.java	2009-04-06 03:03:56-0700
@@ -28,8 +28,11 @@
 
 import junit.framework.TestCase;
 
+import org.argouml.kernel.ProjectManager;
 import org.argouml.model.InitializeModel;
 import org.argouml.model.Model;
+import org.argouml.notation.InitNotation;
+import org.argouml.notation.providers.uml.InitNotationUml;
 import org.argouml.profile.init.InitProfileSubsystem;
 import org.argouml.uml.diagram.DiagramSettings;
 
@@ -59,6 +62,9 @@
 	super.setUp();
         InitializeModel.initializeDefault();
         new InitProfileSubsystem().init();
+        ProjectManager.getManager().makeEmptyProject();
+        new InitNotation().init();
+        new InitNotationUml().init();
     }
 
     /**

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1560368

To unsubscribe from this discussion, e-mail: [[email protected]].
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.