ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r633454 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
Date Tue, 04 Mar 2008 12:42:48 GMT
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")) {



Mime
View raw message