svn commit: r17063 - trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java

Thomas Neustupny <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2009-04-07 03:02:00-0700
New Revision: 17063

Modified:
   trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java

Log:
fixing another JUnit test that failed due to the absence of the Java profile

Modified: trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java?view=diff&pathrev=17063&r1=17062&r2=17063
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java	(original)
+++ trunk/src/argouml-app/tests/org/argouml/persistence/TestProfileConfigurationFilePersister.java	2009-04-07 03:02:00-0700
@@ -118,12 +118,6 @@
         + "\t\t<plugin>\n"
         + "\t\t\tUML 1.4\n"
         + "\t\t</plugin>\n"
-        
-        // Standard Java profile
-        + "\t\t<plugin>\n"
-        + "\t\t\tJava\n"
-        + "\t\t</plugin>\n"
-
 
         // TODO: User defined profile support untested currently
 //        + "\t\t<userDefined>\n"
@@ -152,7 +146,7 @@
         ProfileConfigurationParser parser = new ProfileConfigurationParser();
         parser.parse(new InputSource(inStream));
         Collection<Profile> profiles = parser.getProfiles();
-        assertEquals("Wrong number of profiles", 2, profiles.size());
+        assertEquals("Wrong number of profiles", 1, profiles.size());
         Iterator<Profile> profileIter = profiles.iterator();
         assertTrue("Didn't get expected UML profile", 
                 profileIter.next() instanceof ProfileUML);

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

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.