Package org.chwf.servlet.mock

Package containing utility classes and servlet and JSP mock objects to facilitate unit testing Chrysalis controllers.

See:
          Description

Class Summary
ControllerTestCase A test case for controllers that sets up mock objects for servlets and initializes and releases data in the ServletData class.
MockFilterChain Mock filter chain.
MockFilterConfig Mock filter chain.
MockJspWriter Also serves as mock BodyContent.
MockPageContext Mock page context.
MockRequestDispatcher Mock request dispatcher.
MockServletConfig Mock servlet config.
MockServletContext Mock servlet context.
MockServletRequest Mock servlet request.
MockServletResponse Mock servlet response.
MockSession Mock servlet session.
ReflectingTestCase A test case using reflection to verify that all public methods of a class are tested.
ServletTestCase A test case that sets up mock objects for servlets.
 

Package org.chwf.servlet.mock Description

Package containing utility classes and servlet and JSP mock objects to facilitate unit testing Chrysalis controllers. Not all mock object methods are fully implemented. Those that are not will throw a UnsupportedOperationException.

With the exception of the ControllerTestCase, everything in this package is currently expiremental.



Copyright © 2002-2004, Paul Strack. All Rights Reserved.