MCPcopy Create free account
hub / github.com/apache/tomcat / testBug47413

Method testBug47413

test/org/apache/el/TestELInJsp.java:242–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240 }
241
242 @Test
243 public void testBug47413() throws Exception {
244 getTomcatInstanceTestWebapp(false, true);
245
246 ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug47413.jsp");
247
248 String result = res.toString();
249 assertEcho(result, "00-hello world");
250 assertEcho(result, "01-hello world");
251 assertEcho(result, "02-3.22");
252 assertEcho(result, "03-3.22");
253 assertEcho(result, "04-17");
254 assertEcho(result, "05-17");
255 assertEcho(result, "06-hello world");
256 assertEcho(result, "07-hello world");
257 assertEcho(result, "08-0.0");
258 assertEcho(result, "09-0.0");
259 assertEcho(result, "10-0");
260 assertEcho(result, "11-0");
261 }
262
263 @Test
264 public void testBug48112() throws Exception {

Callers

nothing calls this directly

Calls 5

toStringMethod · 0.95
assertEchoMethod · 0.95
getUrlMethod · 0.65
getPortMethod · 0.65

Tested by

no test coverage detected