Author: maartenc
Date: Thu Aug 30 13:08:05 2007
New Revision: 571290
URL: http://svn.apache.org/viewvc?rev=571290&view=rev
Log:
Fixed incorrect code cleanup.
Modified:
incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyCachePathTest.java
Modified:
incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyCachePathTest.java
URL:
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyCachePathTest.java?rev=571290&r1=571289&r2=571290&view=diff
==============================================================================
--- incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyCachePathTest.java
(original)
+++ incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyCachePathTest.java
Thu Aug 30 13:08:05 2007
@@ -186,11 +186,11 @@
}
public void testWithResolveIdWithoutResolve() throws Exception {
- Project project = new Project();
- project.setProperty("ivy.settings.file",
"test/repositories/ivysettings.xml");
+ Project otherProject = new Project();
+ otherProject.setProperty("ivy.settings.file",
"test/repositories/ivysettings.xml");
IvyResolve resolve = new IvyResolve();
- resolve.setProject(project);
+ resolve.setProject(otherProject);
resolve.setCache(cache);
resolve.setFile(new
File("test/java/org/apache/ivy/ant/ivy-simple.xml"));
resolve.setResolveId("withResolveId");
@@ -218,11 +218,11 @@
}
public void testWithResolveIdAndMissingConfs() throws Exception {
- Project project = new Project();
- project.setProperty("ivy.settings.file",
"test/repositories/ivysettings.xml");
+ Project otherProject = new Project();
+ otherProject.setProperty("ivy.settings.file",
"test/repositories/ivysettings.xml");
IvyResolve resolve = new IvyResolve();
- resolve.setProject(project);
+ resolve.setProject(otherProject);
resolve.setCache(cache);
resolve.setFile(new
File("test/java/org/apache/ivy/ant/ivy-multiconf.xml"));
resolve.setResolveId("testWithResolveIdAndMissingConfs");