()
| 86 | } |
| 87 | |
| 88 | @Test |
| 89 | public void testBug45427() throws Exception { |
| 90 | getTomcatInstanceTestWebapp(false, true); |
| 91 | |
| 92 | ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug45nnn/bug45427.jsp"); |
| 93 | |
| 94 | String result = res.toString(); |
| 95 | // Warning: JSP attribute escaping != Java String escaping |
| 96 | assertEcho(result, "00-hello world"); |
| 97 | assertEcho(result, "01-hello 'world"); |
| 98 | assertEcho(result, "02-hello \"world"); |
| 99 | assertEcho(result, "03-hello \"world"); |
| 100 | assertEcho(result, "04-hello world"); |
| 101 | assertEcho(result, "05-hello 'world"); |
| 102 | assertEcho(result, "06-hello 'world"); |
| 103 | assertEcho(result, "07-hello \"world"); |
| 104 | assertEcho(result, "08-hello world"); |
| 105 | assertEcho(result, "09-hello 'world"); |
| 106 | assertEcho(result, "10-hello \"world"); |
| 107 | assertEcho(result, "11-hello \"world"); |
| 108 | assertEcho(result, "12-hello world"); |
| 109 | assertEcho(result, "13-hello 'world"); |
| 110 | assertEcho(result, "14-hello 'world"); |
| 111 | assertEcho(result, "15-hello \"world"); |
| 112 | } |
| 113 | |
| 114 | @Test |
| 115 | public void testBug45451() throws Exception { |
nothing calls this directly
no test coverage detected