Java Collections.checkOws10Exception Examples

Java Collections.checkOws10Exception - 2 examples found. These are the top rated real world Java examples of java.util.Collections.checkOws10Exception extracted from open source projects. You can rate examples to help us improve the quality of examples.
Example #1
0
 /**
  * Checks we properly report back that revision is not known
  *
  * @throws Exception
  */
 public void testFutureRevision() throws Exception {
   MockHttpServletResponse response =
       postAsServletResponse(root(true), loadTextResource("GetDiffFuture.xml"));
   validate(response);
   Document dom = dom(response);
   // print(dom);
   checkOws10Exception(dom, "InvalidParameterValue", "fromVersion");
 }
Example #2
0
 /**
  * Checks we properly report back the layer is not known to the service
  *
  * @throws Exception
  */
 public void testUnknownLayer() throws Exception {
   MockHttpServletResponse response =
       postAsServletResponse(root(true), loadTextResource("GetDiffUnknown.xml"));
   validate(response);
   Document dom = dom(response);
   // print(dom);
   checkOws10Exception(dom, "InvalidParameterValue", "typeName");
 }