()
| 33 | public class TestCompiler extends TomcatBaseTest { |
| 34 | |
| 35 | @Test |
| 36 | public void testBug49726a() throws Exception { |
| 37 | getTomcatInstanceTestWebapp(false, true); |
| 38 | |
| 39 | ByteChunk res = new ByteChunk(); |
| 40 | Map<String,List<String>> headers = new HashMap<>(); |
| 41 | |
| 42 | getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49726a.jsp", res, headers); |
| 43 | |
| 44 | // Check request completed |
| 45 | String result = res.toString(); |
| 46 | assertEcho(result, "OK"); |
| 47 | |
| 48 | // Check content type |
| 49 | String contentType = getSingleHeader("Content-Type", headers); |
| 50 | Assert.assertTrue(contentType.startsWith("text/html")); |
| 51 | } |
| 52 | |
| 53 | @Test |
| 54 | public void testBug49726b() throws Exception { |
nothing calls this directly
no test coverage detected