| org.apache.commons.validator.TestCommon org.apache.commons.validator.VarTest
VarTest | public class VarTest extends TestCommon (Code) | | Test that the new Var attributes and the
digester rule changes work.
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 static void | main(String[] theArgs) Start the tests.
Parameters: theArgs - the arguments. | protected void | setUp() Load ValidatorResources from
validator-multipletest.xml. | public static Test | suite() | protected void | tearDown() | public void | testVars() With nothing provided, we should fail both because both are required. |
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.
|
main | public static void main(String[] theArgs)(Code) | | Start the tests.
Parameters: theArgs - the arguments. Not used |
suite | public static Test suite()(Code) | | a test suite (TestSuite ) that includes all methodsstarting with "test" |
tearDown | protected void tearDown()(Code) | | |
testVars | public void testVars() throws ValidatorException(Code) | | With nothing provided, we should fail both because both are required.
|
|
|