| Home >> All |
| | servletunit.struts.* (72) | | servletunit.struts.tests.* (63) |
| | servletunit.struts.tests.cactus.* (23) | | servletunit.tests.* (6) |
servlet: Javadoc index of package servlet.
Package Samples:
servletunit.tests
servletunit.struts.tests.cactus
servletunit.struts.tests
servletunit.struts
Classes:
MockStrutsTestCase: MockStrutsTestCase is an extension of the base JUnit testcase that provides additional methods to aid in testing Struts Action objects. It uses a mock object approach to simulate a servlet container, and tests the execution of Action objects as they are actually run through the Struts ActionServlet. MockStrutsTestCase provides methods that set up the request path, request parameters for ActionForm subclasses, as well as methods that can verify that the correct ActionForward was used and that the proper ActionError messages were supplied. NOTE: By default, the Struts ActionServlet will look for ...
CactusStrutsTestCase: CactusStrutsTestCase is an extension of the Cactus ServletTestCase base class that provides additional methods to aid in testing Struts Action objects. It uses an in-container approach to run the servlet container, and tests the execution of Action objects as they are actually run through the Struts ActionServlet. CactusStrutsTestCase provides methods that set up the request path, request parameters for ActionForm subclasses, as well as methods that can verify that the correct ActionForward was used and that the proper ActionError messages were supplied. Please note that this class is meant to ...
StrutsServletContextWrapper: A wrapper for the ServletContext class. This is used in CactusStrutsTestCase so that we can retrieve the forward processed by the ActionServlet and use absolute paths for Struts resources. This allows us to to use the ActionServlet as a black box, rather than mimic its behavior as was previously the case.
StrutsRequestWrapper: A wrapper for the HttpServletRequest class. This is used in CactusStrutsTestCase so that we can add our own request parameters outside of the beginXXX and endXXX methods. This allows us to to use the ActionServlet as a black box, rather than mimic its behavior as was previously the case.
StrutsResponseWrapper: A wrapper for the HttpServletResponse class. This is used in CactusStrutsTestCase so that we can retrieve the redirect URL set by the ActionServlet in processing an action. This allows us to use the ActionServlet as a black box, rather than mimic its behavior as was previously the case.
OrderedProps: Stores the keys and values from a file (similar to a properties file) and can return the first value which has a key contained in its string. File can have comment lines starting with '#" and for each line the entries are separated by tabs and '=' char.
StrutsServletConfigWrapper: A wrapper for the ServletConfig class. This is used in CactusStrutsTestCase so that we can use out own ServletContext wrapper class. This allows us to to use the ActionServlet as a black box, rather than mimic its behavior as was previously the case.
DefaultApplyXSLTProperties: DefaultApplyXSLTProperties contains operational parameters for DefaultApplyXSLT based on program defaults and configuration. This class is also used to return values for request-time parameters.
ApplyXSLTListener: ApplyXSLTListener provides a buffered listener essential for capturing, and then subsequently reporting, XML and XSL processor messages which may be of use in debugging XML+XSL processed at the server.
ApplyXSLTProperties: ApplyXSLTProperties contains operational parameters for ApplyXSLT based on program defaults and configuration. This class is also used to return values for request-time parameters.
TestNoRequestPathInfo: Title: TestNoRequestPathInfo Description: Confirms correct behavior if actionPerfoem() is called prior to calling setRequestPathInfo(). Copyright: Copyright (c) 2003
TestNullPointerAction: Title: NullPointerActionTest Description: Tests to confirm a NullPointerException thrown from a misbehaving action reaches the test. Copyright: Copyright (c) 2003
TestNullPointerAction: Title: NullPointerActionTest Description: Tests to confirm a NullPointerException thrown from a misbehaving action reaches the test. Copyright: Copyright (c) 2003
TestUserAction: This class is reserved for quickly testing out other user's actions, to help in debugging their problems. It is deliberately checked in empty, as it is a place- holder.
TestUserAction: This class is reserved for quickly testing out other user's actions, to help in debugging their problems. It is deliberately checked in empty, as it is a place- holder.
ExceptionDuringTestError: Title: ExceptionDuringTestError Description: An error indicating an uncaught exception occurred during testing Copyright: Copyright (c) 2003
HttpSessionSimulator: This class simulates an HttpSession object. You can actually work with sessions. The simulation is done using a static session object inside HttpServletRequest.
TestNullAction: Created by IntelliJ IDEA. User: deryl Date: Apr 13, 2003 Time: 12:07:32 PM To change this template use Options | File Templates.
NullAction: Created by IntelliJ IDEA. User: deryl Date: Apr 13, 2003 Time: 12:05:58 PM To change this template use Options | File Templates.
TestNullAction: Created by IntelliJ IDEA. User: deryl Date: Apr 13, 2003 Time: 12:07:32 PM To change this template use Options | File Templates.
TestResponseStatus: Created by IntelliJ IDEA. User: deryl Date: May 20, 2003 Time: 5:16:57 PM To change this template use Options | File Templates.
TestGetMockObjects: Created by IntelliJ IDEA. User: deryl Date: May 21, 2003 Time: 2:25:53 PM To change this template use Options | File Templates.
TestClearParameters: Created by IntelliJ IDEA. User: deryl Date: Apr 12, 2003 Time: 8:53:11 PM To change this template use Options | File Templates.
TestBadModuleName: Created by IntelliJ IDEA. User: deryl Date: Apr 28, 2003 Time: 9:26:32 AM To change this template use Options | File Templates.
TestClearParameters: Created by IntelliJ IDEA. User: deryl Date: Apr 12, 2003 Time: 8:53:11 PM To change this template use Options | File Templates.
| Home | Contact Us | Privacy Policy | Terms of Service |