commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r648903 - /commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
Date Thu, 17 Apr 2008 00:16:55 GMT
Author: niallp
Date: Wed Apr 16 17:16:53 2008
New Revision: 648903

URL: http://svn.apache.org/viewvc?rev=648903&view=rev
Log:
Provide more info for tests failing in Continuum

Modified:
    commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java?rev=648903&r1=648902&r2=648903&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
Wed Apr 16 17:16:53 2008
@@ -414,6 +414,12 @@
      * Check all the Collections have the expected sizes.
      */
     private void checkCollectionSizes(String label, int dirCreate, int dirChange, int dirDelete,
int fileCreate, int fileChange, int fileDelete) {
+        label = label + "[" + listener.getCreatedDirectories().size() +
+                        " " + listener.getChangedDirectories().size() +
+                        " " + listener.getDeletedDirectories().size() +
+                        " " + listener.getCreatedFiles().size() +
+                        " " + listener.getChangedFiles().size() +
+                        " " + listener.getDeletedFiles().size() + "]";
         assertEquals(label + ": No. of directories created",  dirCreate,  listener.getCreatedDirectories().size());
         assertEquals(label + ": No. of directories changed",  dirChange,  listener.getChangedDirectories().size());
         assertEquals(label + ": No. of directories deleted",  dirDelete,  listener.getDeletedDirectories().size());



Mime
View raw message