ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gscok...@apache.org
Subject svn commit: r683187 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java
Date Wed, 06 Aug 2008 09:10:10 GMT
Author: gscokart
Date: Wed Aug  6 02:10:07 2008
New Revision: 683187

URL: http://svn.apache.org/viewvc?rev=683187&view=rev
Log:
fix unit test on IBM JVM (probably broken by IVY-868)

Modified:
    ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java?rev=683187&r1=683186&r2=683187&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java Wed Aug  6 02:10:07 2008
@@ -50,7 +50,7 @@
         assertEquals(new File("test/repositories/ivysettings.xml").getAbsolutePath().toUpperCase(),
             new File((String) settings.getVariables().getVariable("ivy.settings.file")).getAbsolutePath()
                     .toUpperCase());
-        assertEquals(new File("test/repositories/ivysettings.xml").toURL().toExternalForm()
+        assertEquals(new File("test/repositories/ivysettings.xml").toURI().toURL().toExternalForm()
                 .toUpperCase(), ((String) settings.getVariables().getVariable("ivy.settings.url"))
                 .toUpperCase());
         assertEquals(new File("test/repositories").getAbsolutePath().toUpperCase(),
@@ -82,7 +82,7 @@
         assertEquals(new File("build/cache"), settings.getDefaultCache());
         assertEquals(new File("test/repositories/ivysettings.xml").getAbsolutePath(), settings
                 .getVariables().getVariable("ivy.settings.file"));
-        assertEquals(new File("test/repositories/ivysettings.xml").toURL().toExternalForm(),
+        assertEquals(new File("test/repositories/ivysettings.xml").toURI().toURL().toExternalForm(),
             settings.getVariables().getVariable("ivy.settings.url"));
         assertEquals(new File("test/repositories").getAbsolutePath(), settings.getVariables().getVariable(
             "ivy.settings.dir"));



Mime
View raw message