use of org.apache.jackrabbit.webdav.property.DavPropertyName in project jackrabbit by apache.
the class DavPropertyTest method assertPropertyNames.
private static void assertPropertyNames(DavPropertyNameSet expected, DavPropertyNameSet result) {
assertEquals(expected.getContentSize(), result.getContentSize());
if (!(expected.getContent().containsAll(result.getContent()))) {
StringBuilder missing = new StringBuilder();
for (DavPropertyName name : expected.getContent()) {
if (!result.contains(name)) {
missing.append("- ").append(name.toString()).append('\n');
}
}
fail("Missing properties : \n" + missing);
}
}
Aggregations