use of io.milton.http.webdav.DefaultPropPatchParser in project lobcder by skoulouzis.
the class DefaultPropPatchParserTest method testGetRequestedFields.
public void testGetRequestedFields() {
System.out.println(XML_list_property);
DefaultPropPatchParser parser = new DefaultPropPatchParser();
ParseResult result = parser.getRequestedFields(new ByteArrayInputStream(XML_list_property.getBytes()));
assertEquals(1, result.getFieldsToSet().size());
String s = result.getFieldsToSet().values().iterator().next();
System.out.println(s);
}
Aggregations