svn commit: r13999 - trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java

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

Modified:
   trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java

Log:
Remove obsolete test

Modified: trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java?view=diff&rev=13999&p1=trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java&p2=trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java&r1=13998&r2=13999
==============================================================================
--- trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java	(original)
+++ trunk/src/model-mdr/tests/org/argouml/model/mdr/TestReadCompressedFilesAndHref.java	2007-12-27 09:20:15-0800
@@ -51,9 +51,6 @@
 
     private String testModel = "tests/testmodels/MDASampleModel.xmi";
 
-    //Uncomment if you test the zipfilepersister
-    //private String testModelZip = "tests/testmodels/CarRentalSystem.xml.zip";
-
     public void testReadCompressedFileAndHref() {
         File mdaIsHere = new File (ANDROMDA_HOME);
         if (mdaIsHere.exists()) {
@@ -76,28 +73,6 @@
         }
     }
 
-    /* Commented out until the ZipFilePersister have been committed - notice that it works!
-     TODO: also adapt for Win32/generic, i use /tmp to store the saved file
-    public void testReadAndWriteCompressedFileAndHrefWithZargoFilePersisterAndZip() {
-        LOG.info("Begin testReadCompressedFileAndHrefWithZipFilePersisterAndZip()");
-        org.argouml.persistence.ProjectFilePersister persister = 
-            org.argouml.persistence.PersistenceManager.getInstance().
-                    getPersisterFromFileName(testModelZip);
-        try {
-            File file = new File(testModelZip);
-            LOG.info("File is "+file+", persister is "+persister);
-            Project p = persister.doLoad(file);
-            File saveFile = new File("/tmp/"+file.getName());
-            LOG.info("Saving file " + saveFile.getCanonicalPath() 
-                + ", persister is "+persister);
-            persister.save(p,saveFile);
-        } catch (Exception e) {
-            e.printStackTrace();
-            fail("Exception while loading model");
-        }
-        assertTrue("model is loaded",true);
-    }*/
-
     /*
      * @see org.argouml.model.mdr.AbstractMDRModelImplementationTestCase#setUp()
      */
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.