The Spring Framework

Package org.springframework.mock.web

A comprehensive set of Servlet API mock objects, targeted at usage with Spring's web MVC framework.

See:
          Description

Class Summary
DelegatingServletInputStream Delegating implementation of ServletInputStream.
DelegatingServletOutputStream Delegating implementation of ServletOutputStream.
MockExpressionEvaluator Mock implementation of the JSP 2.0 ExpressionEvaluator interface, delegating to the Jakarta JSTL ExpressionEvaluatorManager.
MockFilterConfig Mock implementation of the FilterConfig interface.
MockHttpServletRequest Mock implementation of the HttpServletRequest interface.
MockHttpServletResponse Mock implementation of the HttpServletResponse interface.
MockHttpSession Mock implementation of the HttpSession interface.
MockMultipartFile Mock implementation of the MultipartFile interface.
MockMultipartHttpServletRequest Mock implementation of the MultipartHttpServletRequest interface.
MockPageContext Mock implementation of the PageContext interface.
MockRequestDispatcher Mock implementation of the RequestDispatcher interface.
MockServletConfig Mock implementation of the ServletConfig interface.
MockServletContext Mock implementation of the ServletContext interface.
 

Package org.springframework.mock.web Description

A comprehensive set of Servlet API mock objects, targeted at usage with Spring's web MVC framework. Useful for testing web contexts and controllers.

More convenient to use than dynamic mock objects (EasyMock) or existing Servlet API mock objects (MockObjects).


The Spring Framework

Copyright © 2002-2007 The Spring Framework.