You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/03/04 13:42:48 UTC
svn commit: r633454 -
/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
Author: bodewig
Date: Tue Mar 4 04:42:46 2008
New Revision: 633454
URL: http://svn.apache.org/viewvc?rev=633454&view=rev
Log:
Test failed on Windows since the file has never been created (and thus never had the wrong case)
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java?rev=633454&r1=633453&r2=633454&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java Tue Mar 4 04:42:46 2008
@@ -575,7 +575,8 @@
public void testHasErrorInCase() {
File tempFolder = new File(System.getProperty("java.io.tmpdir"));
- File wellcased = FILE_UTILS.createTempFile("alpha", "beta", tempFolder);
+ File wellcased = FILE_UTILS.createTempFile("alpha", "beta", tempFolder,
+ true, true);
String s = wellcased.getName().toUpperCase();
File wrongcased = new File(tempFolder, s);
if (Os.isFamily("dos")) {