ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: svn commit: r683187 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java
Date Wed, 06 Aug 2008 20:33:45 GMT
The tests are still running ok for me on Windows

Maarten




----- Original Message ----
From: Gilles Scokart <gscokart@gmail.com>
To: dev@ant.apache.org
Sent: Wednesday, August 6, 2008 11:38:57 AM
Subject: Re: svn commit: r683187 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java

Could someone retest that in an other environment (I only have access
to an IBM JVM).

Other fix will follow.

Gilles


2008/8/6  <gscokart@apache.org>:
> 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"));
>
>
>



-- 
Gilles Scokart

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message