1 20 package org.apache.cactus; 21 22 import javax.servlet.jsp.JspWriter ; 23 24 import junit.framework.Test; 25 26 import org.apache.cactus.internal.client.connector.http.HttpProtocolHandler; 27 import org.apache.cactus.internal.configuration.DefaultJspConfiguration; 28 import org.apache.cactus.server.PageContextWrapper; 29 import org.apache.cactus.spi.client.connector.ProtocolHandler; 30 31 38 public class JspTestCase extends ServletTestCase 39 { 40 47 public PageContextWrapper pageContext; 48 49 56 public JspWriter out; 57 58 61 public JspTestCase() 62 { 63 super(); 64 } 65 66 69 public JspTestCase(String theName) 70 { 71 super(theName); 72 } 73 74 77 public JspTestCase(String theName, Test theTest) 78 { 79 super(theName, theTest); 80 } 81 82 85 protected ProtocolHandler createProtocolHandler() 86 { 87 return new HttpProtocolHandler(new DefaultJspConfiguration()); 88 } 89 } 90 | Popular Tags |