use of org.apache.tomcat.util.buf.ByteChunk in project tomcat by apache.
the class TestELInJsp method testBug42565.
@Test
public void testBug42565() throws Exception {
getTomcatInstanceTestWebapp(false, true);
ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug42565.jsp");
String result = res.toString();
assertEcho(result, "00-false");
assertEcho(result, "01-false");
assertEcho(result, "02-false");
assertEcho(result, "03-false");
assertEcho(result, "04-false");
assertEcho(result, "05-false");
assertEcho(result, "06-false");
assertEcho(result, "07-false");
assertEcho(result, "08-false");
assertEcho(result, "09-false");
assertEcho(result, "10-false");
assertEcho(result, "11-false");
assertEcho(result, "12-false");
assertEcho(result, "13-false");
assertEcho(result, "14-false");
assertEcho(result, "15-false");
}
use of org.apache.tomcat.util.buf.ByteChunk in project tomcat by apache.
the class TestELInJsp method testBug44994.
@Test
public void testBug44994() throws Exception {
getTomcatInstanceTestWebapp(false, true);
ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug44994.jsp");
String result = res.toString();
assertEcho(result, "00-none");
assertEcho(result, "01-one");
assertEcho(result, "02-many");
}
use of org.apache.tomcat.util.buf.ByteChunk in project tomcat by apache.
the class TestELInJsp method testBug48112.
@Test
public void testBug48112() throws Exception {
getTomcatInstanceTestWebapp(false, true);
ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug48nnn/bug48112.jsp");
String result = res.toString();
assertEcho(result, "{OK}");
}
use of org.apache.tomcat.util.buf.ByteChunk in project tomcat by apache.
the class TestELInJsp method testBug47413.
@Test
public void testBug47413() throws Exception {
getTomcatInstanceTestWebapp(false, true);
ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug47413.jsp");
String result = res.toString();
assertEcho(result, "00-hello world");
assertEcho(result, "01-hello world");
assertEcho(result, "02-3.22");
assertEcho(result, "03-3.22");
assertEcho(result, "04-17");
assertEcho(result, "05-17");
assertEcho(result, "06-hello world");
assertEcho(result, "07-hello world");
assertEcho(result, "08-0.0");
assertEcho(result, "09-0.0");
assertEcho(result, "10-0");
assertEcho(result, "11-0");
}
use of org.apache.tomcat.util.buf.ByteChunk in project tomcat by apache.
the class TestELInJsp method testBug36923.
@Test
public void testBug36923() throws Exception {
getTomcatInstanceTestWebapp(false, true);
ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/bug36923.jsp");
String result = res.toString();
assertEcho(result, "00-${hello world}");
}
Aggregations