ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r618035 - /ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java
Date Sun, 03 Feb 2008 17:30:16 GMT
Author: xavier
Date: Sun Feb  3 09:30:12 2008
New Revision: 618035

URL: http://svn.apache.org/viewvc?rev=618035&view=rev
Log:
clean cache after test

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

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java?rev=618035&r1=618034&r2=618035&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java Sun Feb  3 09:30:12
2008
@@ -2573,9 +2573,13 @@
         Ivy ivy = new Ivy();
         ivy.configure(new File("test/repositories/bugIVY-56/ivysettings.xml"));
 
-        ResolveReport report = ivy.resolve(ResolveTest.class.getResource("ivy-56.xml"),
-            getResolveOptions(new String[] {"default"}));
-        assertNotNull(report);
+        try {
+            ResolveReport report = ivy.resolve(ResolveTest.class.getResource("ivy-56.xml"),
+                getResolveOptions(new String[] {"default"}));
+            assertNotNull(report);
+        } finally {
+            FileUtil.forceDelete(ivy.getSettings().getDefaultCache());
+        }
     }
 
     public void testIVY214() throws Exception {



Mime
View raw message