Skip to content

Commit 9a4e82e

Browse files
author
Niall Pemberton
committed
Provide more info for tests failing in Continuum
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@648903 13f79535-47bb-0310-9956-ffa450edef68
1 parent 30c073a commit 9a4e82e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,12 @@ private void checkCollectionsEmpty(String label) {
414414
* Check all the Collections have the expected sizes.
415415
*/
416416
private void checkCollectionSizes(String label, int dirCreate, int dirChange, int dirDelete, int fileCreate, int fileChange, int fileDelete) {
417+
label = label + "[" + listener.getCreatedDirectories().size() +
418+
" " + listener.getChangedDirectories().size() +
419+
" " + listener.getDeletedDirectories().size() +
420+
" " + listener.getCreatedFiles().size() +
421+
" " + listener.getChangedFiles().size() +
422+
" " + listener.getDeletedFiles().size() + "]";
417423
assertEquals(label + ": No. of directories created", dirCreate, listener.getCreatedDirectories().size());
418424
assertEquals(label + ": No. of directories changed", dirChange, listener.getChangedDirectories().size());
419425
assertEquals(label + ": No. of directories deleted", dirDelete, listener.getDeletedDirectories().size());

0 commit comments

Comments
 (0)