| |
|
| org.apache.cocoon.core.container.ContainerTestCase org.apache.cocoon.forms.formmodel.FieldTestCase
FieldTestCase | public class FieldTestCase extends ContainerTestCase (Code) | | Test case for CForm's Field widget
version: $Id: FieldTestCase.java 449149 2006-09-23 03:58:05Z crossley $ |
VALIDATION_PATH | final public static String VALIDATION_PATH(Code) | | |
testOldValuePresentInEventEvenIfNotParsed | public void testOldValuePresentInEventEvenIfNotParsed() throws Exception(Code) | | Test that the previous field value is correctly passed to event listeners
even if it was not already parsed.
|
testParameterNotReadWhenDisabled | public void testParameterNotReadWhenDisabled() throws Exception(Code) | | Request parameters are not read when a field is not in active state
|
testSetEmptyValueWhenValueChangedOnRequest | public void testSetEmptyValueWhenValueChangedOnRequest() throws Exception(Code) | | Test that a field's value is properly set by a call to setValue("") with an
empty string when the field is in unparsed state (there used to be a bug in
that case)
|
testValueDoesNotParse | public void testValueDoesNotParse() throws Exception(Code) | | Request data is not syntactically correct
|
testValueDoesNotValidate | public void testValueDoesNotValidate() throws Exception(Code) | | Request data is syntactically correct but doesn't validate
|
testValueDoesParseAndValidate | public void testValueDoesParseAndValidate() throws Exception(Code) | | Nominal test where the request data is syntactically correct and validates
|
|
|
|