cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r577108 - /cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java
Date Tue, 18 Sep 2007 23:40:52 GMT
Author: joerg
Date: Tue Sep 18 16:40:51 2007
New Revision: 577108

URL: http://svn.apache.org/viewvc?rev=577108&view=rev
Log:
back to the original version though it fails at the moment as well (http://marc.info/?l=xml-cocoon-dev&m=119015848312204&w=4);
hoping for a fast sourceresolve 2.2.4 release

Modified:
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java?rev=577108&r1=577107&r2=577108&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/components/source/impl/ZipSourceTestCase.java
Tue Sep 18 16:40:51 2007
@@ -27,7 +27,7 @@
 public class ZipSourceTestCase extends ContainerTestCase {
 
     public void testURIHandling() throws Exception {
-        final String zipSourceUri = "zip:file:///test.zip!/test.xml";
+        final String zipSourceUri = "zip:file://test.zip!/test.xml";
         Source zipSource;
         SourceResolver resolver = null;
         try {
@@ -41,8 +41,7 @@
         assertTrue("Resolved Source is not an instance of ZipSource.",
                    zipSource instanceof ZipSource);
         assertEquals("Scheme/protocol is wrong.", "zip", zipSource.getScheme());
-        String actualZipSourceUri = zipSource.getURI();
-        assertEquals("Uri is wrong.", zipSourceUri, actualZipSourceUri);
+        assertEquals("Uri is wrong.", zipSourceUri, zipSource.getURI());
     }
 
 }



Mime
View raw message