svn commit: r13366 - branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2007-08-15 08:07:48-0700
New Revision: 13366

Modified:
   branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java

Log:
solving bug when saving project

Modified: branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java?view=diff&rev=13366&p1=branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java&p2=branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java&r1=13365&r2=13366
==============================================================================
--- branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java	(original)
+++ branches/gsoc2007/maurelio1234/branch2/tests/org/argouml/persistence/TestZargoFilePersister.java	2007-08-15 08:07:48-0700
@@ -39,9 +39,9 @@
 import org.argouml.notation.InitNotation;
 import org.argouml.notation.providers.java.InitNotationJava;
 import org.argouml.notation.providers.uml.InitNotationUml;
-import org.argouml.uml.Profile;
-import org.argouml.uml.ProfileException;
-import org.argouml.uml.ProfileJava;
+import org.argouml.uml.profile.Profile;
+import org.argouml.uml.profile.ProfileException;
+import org.argouml.uml.profile.ProfileJava;
 
 /**
  * Testcase to load projects without exception.
@@ -181,7 +181,7 @@
     public void testLoadLinkedProfile() throws OpenException,
             InterruptedException, ProfileException {
         // Make sure our profile is loaded
-        Profile profile = new ProfileJava();
+        Profile profile = ProfileJava.getInstance();
         Collection profileModel = profile.getProfilePackages();
         
         // Load a project which contains links to it
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.