| Home >> All >> com >> meterware >> [ servletunit Javadoc ] |
com.meterware.servletunit: Javadoc index of package com.meterware.servletunit.
Package Samples:
com.meterware.servletunit
Classes:
ServletUnitClient: A client for use with the servlet runner class, allowing the testing of servlets without an actual servlet container. Testing can be done in one of two ways. End-to-end testing works much like the HttpUnit package, except that only servlets actually registered with the ServletRunner will be invoked. It is also possible to test servlets 'from the inside' by creating a ServletInvocationContext and then calling any servlet methods which may be desired. Even in this latter mode, end-to-end testing is supported, but requires a call to this class's getResponse method to update its cookies and frames ...
JUnitServlet: A servlet which can run unit tests inside a servlet context. It may be extended to provide InvocationContext-access to such tests if a container-specific implementation of InvocationContextFactory is provided. Combined with ServletTestCase, this would permit in-container tests of servlets in a fashion similar to that supported by ServletUnit.
ServletTestCase: A base class for test cases to be run via JUnitServlet .
InvocationContextImpl: This class represents the context in which a specific servlet request is being made. It contains the objects needed to unit test the methods of a servlet.
WebApplication: This class represents the information recorded about a single web application. It is usually extracted from web.xml.
BasicAuthenticationRequiredException: Thrown when servletunit wants to indicate that a resource is protected in an application using Basic Authorization.
InvocationContextFactory: An interface for an object which acts as a factory of InvocationContexts
DispatchedRequestWrapper: This class represents a request dispatched via a RequestDispatcherImpl.
ServletUnitWebResponse: A response from to a request from the simulated servlet environment.
ServletUnitServletContext: This class is a private implementation of the ServletContext class.
ServletUnitHttpRequest: This class represents a servlet request created from a WebRequest.
InvocationContext: An interface which represents the invocation of a servlet.
ServletInputStreamImpl: An implementation of the standard servlet input stream
ServletRunner: This class acts as a test environment for servlets.
ServletUnitServletConfig: This class acts as a test environment for servlets.
ParsedPath: A utility class for parsing URLs into paths
JSPServletDescriptor: Describes a servlet used to handle JSPs.
IncludeRequestWrapper
ForwardRequestWrapper
FilterConfigImpl
FilterMetaData
FilterUrlMap
UrlPatternMatcher
ExactUrlPatternMatcher
| Home | Contact Us | Privacy Policy | Terms of Service |