svn commit: r13011 - branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: maurelio1234
Date: 2007-07-09 18:33:44-0700
New Revision: 13011

Modified:
   branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java

Log:
Cpp, Java and UML profiles are now singleton

Modified: branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java?view=diff&rev=13011&p1=branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java&p2=branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java&r1=13010&r2=13011
==============================================================================
--- branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java	(original)
+++ branches/gsoc2007/maurelio1234/tests/org/argouml/uml/profile/TestProfileJava.java	2007-07-09 18:33:44-0700
@@ -30,7 +30,6 @@
 
 import org.argouml.model.InitializeModel;
 import org.argouml.model.Model;
-import org.argouml.uml.profile.ProfileJava;
 
 /**
  * 
@@ -63,7 +62,7 @@
      * exist.
      */
     public void testLoadProfileModel() {
-        ProfileJava profile = new ProfileJava();
+        ProfileJava profile = ProfileJava.getInstance();
         Object model = profile.getModel();
         Collection stereos = Model.getModelManagementHelper()
                 .getAllModelElementsOfKind(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.