|
|||||||||
| Home >> All >> servletunit >> struts >> [ tests overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
servletunit.struts.tests
Class NullPointerForm

java.lang.Objectorg.apache.struts.action.ActionForm
servletunit.struts.tests.NullPointerForm
- All Implemented Interfaces:
- java.io.Serializable
- public class NullPointerForm
- extends org.apache.struts.action.ActionForm
An Action Form that always throws a NullPointerAction during validation. Used in unit testing
- Version:
- 1.0
| Field Summary |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
NullPointerForm()
|
|
| Method Summary | |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
NullPointerForm
public NullPointerForm()
| Method Detail |
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Description copied from class:
org.apache.struts.action.ActionForm Validate the properties that have been set for this HTTP request, and return an
ActionErrorsobject that encapsulates any validation errors that have been found. If no errors are found, returnnullor anActionErrorsobject with no recorded error messages.The default implementation performs no validation and returns
null. Subclasses must override this method to provide any validation they wish to perform.
|
|||||||||
| Home >> All >> servletunit >> struts >> [ tests overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC