geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r1092460 - /geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java
Date Thu, 14 Apr 2011 19:38:11 GMT
Author: kevan
Date: Thu Apr 14 19:38:11 2011
New Revision: 1092460

URL: http://svn.apache.org/viewvc?rev=1092460&view=rev
Log:
Fix unit test failures caused by revision number 1091414

Modified:
    geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java

Modified: geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java?rev=1092460&r1=1092459&r2=1092460&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java
(original)
+++ geronimo/server/trunk/plugins/openjpa2/geronimo-persistence-jpa20/src/test/java/org/apache/geronimo/persistence/PersistenceUnitGBeanTest.java
Thu Apr 14 19:38:11 2011
@@ -64,7 +64,7 @@ public class PersistenceUnitGBeanTest ex
         assertNotNull(gbean.getManagedClassNames());
         assertNotNull(gbean.getProperties());
         assertNotNull(gbean.getJarFileUrls());
-        assertEquals(Arrays.asList(new URL(base + "foo.jar")), gbean.getJarFileUrls());
+        assertEquals(Arrays.asList(new URL("jar:" + base + "foo.jar"+"!/")), gbean.getJarFileUrls());
         assertEquals(new URL(base), gbean.getPersistenceUnitRootUrl());
         assertNotNull(gbean.getPersistenceProviderClassName());
     }



Mime
View raw message