svn commit: r15367 - trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2008-07-24 14:05:49-0700
New Revision: 15367

Modified:
   trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java

Log:
Do more initialization so that we are closer to the solution.

Modified: trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java?view=diff&rev=15367&p1=trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java&p2=trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java&r1=15366&r2=15367
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java	(original)
+++ trunk/src/argouml-app/tests/org/argouml/uml/ui/GUITestActionSaveGraphics.java	2008-07-24 14:05:49-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2004-2007 The Regents of the University of California. All
+// Copyright (c) 2004-2008 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -27,13 +27,19 @@
 import java.io.File;
 import java.util.ArrayList;
 import java.util.List;
+import javax.swing.JPanel;
 
 import junit.framework.TestCase;
 
+// Test classes
 import org.argouml.model.InitializeModel;
-import org.argouml.profile.init.InitProfileSubsystem;
 import org.argouml.util.CheckMain;
 
+// Real classes
+import org.argouml.notation.providers.uml.InitNotationUml;
+import org.argouml.profile.init.InitProfileSubsystem;
+import org.argouml.ui.ProjectBrowser;
+
 /**
  * @author Linus Tolke
  */
@@ -57,6 +63,8 @@
         super.setUp();
         InitializeModel.initializeDefault();
         new InitProfileSubsystem().init();
+        ProjectBrowser.makeInstance(null, true, new JPanel());
+        new InitNotationUml().init();
     }
 
     /**
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.