antoine 2003/12/03 13:58:08
Modified: src/testcases/org/apache/tools/ant BuildFileTest.java
Log:
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
Revision Changes Path
1.25 +1 -5 ant/src/testcases/org/apache/tools/ant/BuildFileTest.java
Index: BuildFileTest.java
===================================================================
RCS file:
/home/cvs/ant/src/testcases/org/apache/tools/ant/BuildFileTest.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- BuildFileTest.java 17 Jul 2003 10:39:07 -0000 1.24
+++ BuildFileTest.java 3 Dec 2003 21:58:08 -0000 1.25
@@ -215,11 +215,7 @@
if (!cr) {
cleanedBuffer.append(ch);
} else {
- if (ch == '\n') {
- cleanedBuffer.append(ch);
- } else {
- cleanedBuffer.append('\r').append(ch);
- }
+ cleanedBuffer.append(ch);
}
}
return cleanedBuffer.toString();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]