svn commit: r13939 - trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: euluis
Date: 2007-12-17 15:35:06-0800
New Revision: 13939

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

Log:
Issue #4885: removing fragile assertion that breaks with user configuration.

Modified: trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java?view=diff&rev=13939&p1=trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java&p2=trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java&r1=13938&r2=13939
==============================================================================
--- trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java	(original)
+++ trunk/tests/org/argouml/profile/internal/TestProfileManagerImpl.java	2007-12-17 15:35:06-0800
@@ -51,12 +51,6 @@
     }
 
     public void testProfileManagerImpl() {
-        List<Profile> defaultProfiles = manager.getDefaultProfiles();
-        // FIXME: this is prone to failures because it depends on the user's 
-        // configuration.
-        assertEquals(1, defaultProfiles.size());
-        assertEquals(ProfileUML.NAME, 
-                defaultProfiles.iterator().next().getDisplayName());
         List<Profile> registeredProfiles = manager.getRegisteredProfiles();
         assertEquals(2, registeredProfiles.size());
         Set<String> profileNameSet = new HashSet<String>();
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.