| |
|
| org.apache.commons.validator.TestCommon org.apache.commons.validator.ExceptionTest
ExceptionTest | public class ExceptionTest extends TestCommon (Code) | | Performs Validation Test for exception handling.
version: $Revision: 478334 $ $Date: 2006-11-22 21:31:54 +0000 (Wed, 22 Nov 2006) $ |
Field Summary | |
protected static String | ACTION The key used to retrieve the validator action. | protected static String | FORM_KEY The key used to retrieve the set of validation
rules from the xml file. |
Method Summary | |
public void | XtestCheckedException() Tests handling of checked exceptions - should become
ValidatorExceptions.
N.B. | public void | XtestRuntimeException() Tests handling of runtime exceptions.
N.B. | protected void | setUp() Load ValidatorResources from
validator-exception.xml. | public void | testValidatorException() Tests handling of checked exceptions - should become
ValidatorExceptions. |
ACTION | protected static String ACTION(Code) | | The key used to retrieve the validator action.
|
FORM_KEY | protected static String FORM_KEY(Code) | | The key used to retrieve the set of validation
rules from the xml file.
|
XtestCheckedException | public void XtestCheckedException()(Code) | | Tests handling of checked exceptions - should become
ValidatorExceptions.
N.B. This test has been removed (renamed) as it currently
serves no purpose. If/When exception handling
is changed in Validator 2.0 it can be reconsidered
then.
|
XtestRuntimeException | public void XtestRuntimeException() throws ValidatorException(Code) | | Tests handling of runtime exceptions.
N.B. This test has been removed (renamed) as it currently
serves no purpose. If/When exception handling
is changed in Validator 2.0 it can be reconsidered
then.
|
testValidatorException | public void testValidatorException()(Code) | | Tests handling of checked exceptions - should become
ValidatorExceptions.
|
|
|
|