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

Quick Search    Search Deep

org.apache.struts.mock: Javadoc index of package org.apache.struts.mock.


Package Samples:

org.apache.struts.mock

Classes:

MockHttpServletResponse: Mock HttpServletResponse object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockHttpServletRequest: Mock HttpServletRequest object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockPageContext: Mock ServletContext object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockServletContext: Mock ServletContext object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockServletConfig: Mock ServletConfig object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockActionServlet: Mock ActionServlet object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only getter methods for servletContext and servletConfig are provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockHttpSession: Mock HttpSession object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
MockPrincipal: Mock Principal object for low-level unit tests of Struts controller components. Coarser grained tests should be implemented in terms of the Cactus framework, instead of the mock object classes. WARNING - Only the minimal set of methods needed to create unit tests is provided, plus additional methods to configure this object as necessary. Methods for unsupported operations will throw UnsupportedOperationException . WARNING - Because unit tests operate in a single threaded environment, no synchronization is performed.
TestMockBase: Convenience base class for unit tests of the org.apache.struts.util package, and others that require a runtime environment similar to what the Struts controller servlet sets up. The setUp() method establishes a consistent basic environment for the various tests. The only tests included in this class are simple validations that the basic environment was set up correctly.
MockEnumeration: General purpose Enumeration wrapper around an Iterator specified to our controller.
MockMultipartRequestHandler: Mock MultipartRequestHandler object for unit tests.
MockFormBean: General purpose form bean for unit tests.
MockAction: General purpose Action for unit tests.

Home | Contact Us | Privacy Policy | Terms of Service