Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mockobjects.helpers
Class FilterTestHelper  view FilterTestHelper download FilterTestHelper.java

java.lang.Object
  extended bycom.mockobjects.helpers.AbstractServletTestHelper
      extended bycom.mockobjects.helpers.FilterTestHelper

public class FilterTestHelper
extends AbstractServletTestHelper

$Revision: 1.1 $


Field Summary
private  javax.servlet.Filter filter
           
private  com.mockobjects.servlet.MockFilterChain filterChain
           
private  com.mockobjects.servlet.MockFilterConfig filterConfig
           
 
Fields inherited from class com.mockobjects.helpers.AbstractServletTestHelper
httpSession, request, requestDispatcher, response, servletConfig, servletContext
 
Constructor Summary
FilterTestHelper(javax.servlet.Filter filter)
           
 
Method Summary
 com.mockobjects.servlet.MockFilterChain getFilterChain()
           
 com.mockobjects.servlet.MockFilterConfig getFilterConfig()
           
 void testDoFilter()
           
 void testInit()
           
 
Methods inherited from class com.mockobjects.helpers.AbstractServletTestHelper
getHttpSession, getRequest, getRequestDispatcher, getResponse, getServletConfig, getServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

private final javax.servlet.Filter filter

filterChain

private final com.mockobjects.servlet.MockFilterChain filterChain

filterConfig

private final com.mockobjects.servlet.MockFilterConfig filterConfig
Constructor Detail

FilterTestHelper

public FilterTestHelper(javax.servlet.Filter filter)
Method Detail

getFilterChain

public com.mockobjects.servlet.MockFilterChain getFilterChain()

getFilterConfig

public com.mockobjects.servlet.MockFilterConfig getFilterConfig()

testInit

public void testInit()
              throws javax.servlet.ServletException

testDoFilter

public void testDoFilter()
                  throws javax.servlet.ServletException,
                         java.io.IOException