()
| 51 | } |
| 52 | |
| 53 | @Test |
| 54 | public void testBug49726b() throws Exception { |
| 55 | getTomcatInstanceTestWebapp(false, true); |
| 56 | |
| 57 | ByteChunk res = new ByteChunk(); |
| 58 | Map<String,List<String>> headers = new HashMap<>(); |
| 59 | |
| 60 | getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49726b.jsp", res, headers); |
| 61 | |
| 62 | // Check request completed |
| 63 | String result = res.toString(); |
| 64 | assertEcho(result, "OK"); |
| 65 | |
| 66 | // Check content type |
| 67 | String contentType = getSingleHeader("Content-Type", headers); |
| 68 | Assert.assertTrue(contentType.startsWith("text/plain")); |
| 69 | } |
| 70 | |
| 71 | @Test |
| 72 | public void testBug53257a() throws Exception { |
nothing calls this directly
no test coverage detected