You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2011/03/14 09:40:09 UTC

svn commit: r1081283 - /karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java

Author: jbonofre
Date: Mon Mar 14 08:40:09 2011
New Revision: 1081283

URL: http://svn.apache.org/viewvc?rev=1081283&view=rev
Log:
Fix KAR deployer unit test failure.

Modified:
    karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java

Modified: karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java
URL: http://svn.apache.org/viewvc/karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java?rev=1081283&r1=1081282&r2=1081283&view=diff
==============================================================================
--- karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java (original)
+++ karaf/trunk/deployer/kar/src/test/java/org/apache/karaf/deployer/kar/KarArtifactInstallerTest.java Mon Mar 14 08:40:09 2011
@@ -201,8 +201,9 @@ public class KarArtifactInstallerTest {
 
     @Test
     public void testPathToMvnUri() throws Exception {
-        URI uri = KarArtifactInstaller.pathToMvnUri("org/apache/geronimo/features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/org.apache.geronimo.transaction.kar-3.1.1-SNAPSHOT-feature.xml");
-        assert "mvn:org.apache.geronimo.features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/xml/feature".equals(uri.toString());
+        URI uri = KarArtifactInstaller.pathToMvnUri("org/apache/geronimo/features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/org.apache.geronimo.transaction.kar-3.1.1-SNAPSHOT-features.xml");
+        System.out.println(uri.toString());
+        assert "mvn:org.apache.geronimo.features/org.apache.geronimo.transaction.kar/3.1.1-SNAPSHOT/xml/features".equals(uri.toString());
     }
 			
 }