assertXpathEvaluatesTo("-111.0", "/AggregationResults/Sum", dom);
assertXpathEvaluatesTo("-900.0", "/AggregationResults/Min", dom);
assertXpathEvaluatesTo("300.0", "/AggregationResults/Max", dom);
assertXpathEvaluatesTo("-22.2", "/AggregationResults/Average", dom);
XpathEngine xpath = XMLUnit.newXpathEngine();
assertTrue(xpath.evaluate("/AggregationResults/StandardDeviation", dom).matches("442\\.19380.*"));
}
private String callAll(boolean singlePass) {
return "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ "<wps:Execute version=\"1.0.0\" service=\"WPS\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.opengis.net/wps/1.0.0\" xmlns:wfs=\"http://www.opengis.net/wfs\" xmlns:wps=\"http://www.opengis.net/wps/1.0.0\" xmlns:ows=\"http://www.opengis.net/ows/1.1\" xmlns:gml=\"http://www.opengis.net/gml\" xmlns:ogc=\"http://www.opengis.net/ogc\" xmlns:wcs=\"http://www.opengis.net/wcs/1.1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xsi:schemaLocation=\"http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd\">\n"