svn commit: r17086 - trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java

Thomas Neustupny <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2009-04-09 03:59:08-0700
New Revision: 17086

Modified:
   trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java

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

Modified: trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java?view=diff&pathrev=17086&r1=17085&r2=17086
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java	(original)
+++ trunk/src/argouml-app/tests/org/argouml/profile/internal/TestProfileManagerImpl.java	2009-04-09 03:59:08-0700
@@ -59,14 +59,14 @@
      */
     public void testProfileManagerImpl() {
         List<Profile> registeredProfiles = manager.getRegisteredProfiles();
-        assertTrue(2 <= registeredProfiles.size());
+        assertTrue(1 <= registeredProfiles.size());
         Set<String> internalProfileNameSet = new HashSet<String>();
         for (Profile profile : registeredProfiles) {
             if (profile.getDisplayName().equals(ProfileUML.NAME_UML14)) {
                 internalProfileNameSet.add(profile.getDisplayName());
             }
         }
-        assertEquals(2, internalProfileNameSet.size());
+        assertEquals(1, internalProfileNameSet.size());
     }
 
     /**

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

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.