logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1583368 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
Date Mon, 31 Mar 2014 16:23:11 GMT
Author: ggregory
Date: Mon Mar 31 16:23:10 2014
New Revision: 1583368

URL: http://svn.apache.org/r1583368
Log:
Show why the test clean up is failing in the JUnit assert message.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java?rev=1583368&r1=1583367&r2=1583368&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/junit/CleanFiles.java
Mon Mar 31 16:23:10 2014
@@ -45,7 +45,7 @@ public class CleanFiles extends External
     private void clean() {
         for (final File file : files) {
             if (file.exists()) {
-                assertTrue(file.delete());
+                assertTrue(file.toString(), file.delete());
             }
         }
     }



Mime
View raw message