Filtering { public boolean includeProperty(String propertyName) { boolean result = false; if (getRepository().getProperties().hasIncludes()) { for (String regex : getRepository().getProperties().getIncludes()) { if (propertyName.matches(regex)) { result = true; } } } return result; } Filtering();  Filtering(Filter filter);  Filtering(Filter filter, String repositoryId); String getRepositoryId(); void setRepositoryId(String repositoryId); void setFilter(Filter filter); Filter getFilter(); boolean ignoreFilename(String fileName); boolean ignorePath(String pathName); boolean ignoreProperty(String propertyName); boolean includeFilename(String fileName); boolean includePath(String pathName); boolean includeProperty(String propertyName); boolean excludeFilename(String fileName); boolean excludePath(String pathName); boolean excludeProperty(String propertyName); final String DEFAULT_REPOSITORY; }
@Test public void propertyIncludeTest() throws FileNotFoundException, IOException, XmlPullParserException { String property = "svn:ignore"; assertEquals(filter.includeProperty(property), true); }