- Timestamp:
- 2011-08-31 15:33:46 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-template/kauri-template-service-impl/src/test/java/org/kauriproject/template/service/test/TemplateConfTest.java
r1526 r1937 58 58 private Response testRequest(String path) throws Exception { 59 59 Response response = runtime.getRestserviceManager().getComponent().getContext().getClientDispatcher().handle(new Request(Method.GET, "http://localhost:" + HTTP_TEST_PORT + path)); 60 61 // start temp-code for checking test failures only @ci.outerthought.org 62 if (response.getStatus().getCode() != 200) { 63 // dump response body before assertion to retrieve some more detail in the logs on hudson 64 System.out.println("Unexpected response code. Dumping BODY:--\n" + response.getEntityAsText() + "\n--"); 65 } 66 // end temp-code 67 60 68 assertEquals(200, response.getStatus().getCode()); 61 69 return response;
Note: See TracChangeset
for help on using the changeset viewer.