20 package net.sf.gridarta.utils;
23 import javax.swing.filechooser.FileFilter;
24 import net.
sf.japi.util.filter.file.AbstractFileFilter;
25 import org.junit.Assert;
26 import org.junit.Ignore;
27 import org.junit.Test;
50 Assert.assertEquals(
"MOCK", oUT.getDescription());
56 @Ignore(
"Tests fail because filtered directories do not exist")
60 Assert.assertTrue(oUT1.accept(
new File(
"foobar")));
61 Assert.assertFalse(oUT1.accept(
new File(
"CVS")));
62 Assert.assertFalse(oUT1.accept(
new File(
".git")));
63 Assert.assertFalse(oUT1.accept(
new File(
".svn")));
66 Assert.assertFalse(oUT2.accept(
new File(
"foobar")));
67 Assert.assertFalse(oUT2.accept(
new File(
"CVS")));
68 Assert.assertFalse(oUT2.accept(
new File(
".git")));
69 Assert.assertFalse(oUT2.accept(
new File(
".svn")));
93 public boolean accept(
final File f) {