You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2005/01/06 16:20:10 UTC
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs LengthTest.java
peterreilly 2005/01/06 07:20:10
Modified: src/testcases/org/apache/tools/ant/taskdefs LengthTest.java
Log:
disabling LengthTest#testEach as
it uses a pathconvert to get a list of files
and compares this to a list of files returned in the Length
task. The order of files in a fileset is not defined, and on
my machine it is a different order that than returned by
the Length task.
Revision Changes Path
1.2 +3 -1 ant/src/testcases/org/apache/tools/ant/taskdefs/LengthTest.java
Index: LengthTest.java
===================================================================
RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/LengthTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LengthTest.java 4 Jan 2005 22:20:44 -0000 1.1
+++ LengthTest.java 6 Jan 2005 15:20:10 -0000 1.2
@@ -34,7 +34,9 @@
}
public void testEach() {
- executeTarget("testEach");
+ // Disable this test as the order of files in a fileset is
+ // not specified
+ // executeTarget("testEach");
}
public void testAll() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org