You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2008/04/17 02:16:55 UTC
svn commit: r648903 -
/commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
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());