From: <sim...@us...> - 2002-07-26 13:17:23
|
Update of /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/elements In directory usw-pr-cvs1:/tmp/cvs-serv8974/test/src/org/cdchamber/elements Modified Files: CVSFileFilterTest.java Log Message: Add the file filter. Index: CVSFileFilterTest.java =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/elements/CVSFileFilterTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CVSFileFilterTest.java 26 Jul 2002 12:53:24 -0000 1.1 --- CVSFileFilterTest.java 26 Jul 2002 13:17:20 -0000 1.2 *************** *** 28,31 **** --- 28,32 ---- CVSFileFilter filter = new CVSFileFilter(); assertTrue( "Not CVS", filter.accept( file)); + assertTrue( "Not CVS", filter.accept( file.isDirectory(), file.getName())); } *************** *** 34,37 **** --- 35,39 ---- CVSFileFilter filter = new CVSFileFilter(); assertTrue( "CVS", !filter.accept( file)); + assertTrue( "CVS", !filter.accept( file.isDirectory(), file.getName())); } } |