You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by ma...@apache.org on 2007/03/23 22:53:17 UTC
svn commit: r521930 -
/incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java
Author: maartenc
Date: Fri Mar 23 15:53:16 2007
New Revision: 521930
URL: http://svn.apache.org/viewvc?view=rev&rev=521930
Log:
Improved junit test
Modified:
incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java
Modified: incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java?view=diff&rev=521930&r1=521929&r2=521930
==============================================================================
--- incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java (original)
+++ incubator/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyArtifactPropertyTest.java Fri Mar 23 15:53:16 2007
@@ -74,6 +74,13 @@
resolve.setResolveId("abc");
resolve.execute();
+ // resolve another ivy file
+ resolve = new IvyResolve();
+ resolve.setProject(_project);
+ resolve.setCache(_cache);
+ resolve.setFile(new File("test/java/org/apache/ivy/ant/ivy-latest.xml"));
+ resolve.execute();
+
_prop.setName("[module].[artifact]-[revision]");
_prop.setValue("${cache.dir}/[module]/[artifact]-[revision].[type]");
_prop.setResolveId("abc");