ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r643139 - in /ant/ivy/core/trunk/test/java/org/apache/ivy: IvyTest.java MainTest.java
Date Mon, 31 Mar 2008 20:38:10 GMT
Author: maartenc
Date: Mon Mar 31 13:38:07 2008
New Revision: 643139

URL: http://svn.apache.org/viewvc?rev=643139&view=rev
Log:
A little code cleanup

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

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/IvyTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/IvyTest.java?rev=643139&r1=643138&r2=643139&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/IvyTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/IvyTest.java Mon Mar 31 13:38:07 2008
@@ -20,12 +20,9 @@
 import java.io.File;
 
 import org.apache.ivy.core.IvyContext;
-import org.apache.ivy.core.cache.DefaultResolutionCacheManager;
 import org.apache.ivy.core.report.ResolveReport;
 import org.apache.ivy.core.resolve.ResolveOptions;
-import org.apache.ivy.core.resolve.ResolveTest;
 import org.apache.ivy.core.settings.IvySettings;
-import org.apache.ivy.util.Message;
 import org.apache.ivy.util.MockMessageLogger;
 
 import junit.framework.TestCase;
@@ -43,7 +40,6 @@
         assertFalse("IvyContext should be cleared and return a default Ivy instance", 
             IvyContext.getContext().getIvy() == ivy);
         
-        File cache = new File("build/cache");
         ResolveReport report = ivy.resolve(new File(
             "test/repositories/1/org1/mod1.1/ivys/ivy-1.0.xml").toURL(),
             getResolveOptions(ivy, new String[] {"*"}));

Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/MainTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/MainTest.java?rev=643139&r1=643138&r2=643139&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/MainTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/MainTest.java Mon Mar 31 13:38:07 2008
@@ -19,8 +19,6 @@
 
 import java.io.File;
 
-import org.apache.ivy.core.cache.DefaultRepositoryCacheManager;
-import org.apache.ivy.core.module.id.ModuleRevisionId;
 import org.apache.ivy.util.CacheCleaner;
 import org.apache.ivy.util.cli.ParseException;
 



Mime
View raw message