String startsWith = System.getProperty("fop.fotree.starts-with");
if (single != null) {
filter = new NameFileFilter(single);
} else if (startsWith != null) {
filter = new PrefixFileFilter(startsWith);
filter = new AndFileFilter(filter, new SuffixFileFilter(".fo"));
} else {
filter = new SuffixFileFilter(".fo");
filter = LayoutEngineTestSuite.decorateWithDisabledList(filter);
}
Collection files = FileUtils.listFiles(new File(mainDir, "testcases"),
filter, TrueFileFilter.INSTANCE);
String privateTests = System.getProperty("fop.fotree.private");