svn commit: r14000 - trunk/tests/org/argouml/persistence/TestZargoFilePersister.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-12-27 09:21:40-0800
New Revision: 14000

Modified:
   trunk/tests/org/argouml/persistence/TestZargoFilePersister.java

Log:
Javadoc and style cleanup

Modified: trunk/tests/org/argouml/persistence/TestZargoFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/persistence/TestZargoFilePersister.java?view=diff&rev=14000&p1=trunk/tests/org/argouml/persistence/TestZargoFilePersister.java&p2=trunk/tests/org/argouml/persistence/TestZargoFilePersister.java&r1=13999&r2=14000
==============================================================================
--- trunk/tests/org/argouml/persistence/TestZargoFilePersister.java	(original)
+++ trunk/tests/org/argouml/persistence/TestZargoFilePersister.java	2007-12-27 09:21:40-0800
@@ -185,13 +185,15 @@
      * Test loading a project which contains external links to a profile.
      * 
      * @throws OpenException
+     *                 if there was an error opening the project
      * @throws InterruptedException
+     *                 if interrupted - should never occur in test environment
      */
     public void testLoadLinkedProfile() throws OpenException,
             InterruptedException {
      
         // Load a project which contains links to it
-        Project p = doLoad("/testmodels/uml14/LinkedProfile.zargo");
+        doLoad("/testmodels/uml14/LinkedProfile.zargo");
         
         // Make sure the contents match what we expect
         final Facade f = Model.getFacade();
@@ -205,8 +207,9 @@
                 Collection generalizations = f.getGeneralizations(element);
                 Object generalization = generalizations.iterator().next();
                 Object parent = f.getGeneral(generalization);
-                assertEquals("superclass has wrong name", "BigDecimal", f.getName(parent));
-                }
+                assertEquals("superclass has wrong name", "BigDecimal", 
+                        f.getName(parent));
+            }
         }
     }
 }
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.