| org.iscreen.validators.RegularExpressionValidatorTest
RegularExpressionValidatorTest | public class RegularExpressionValidatorTest extends TestCase (Code) | | Tests the RegularExpressionValidator validator.
author: Shellman, Dan |
Method Summary | |
protected void | setUp() | public void | testBadRegEx() Tests to make sure that an invalid regex reports a failure. | public void | testGoodRegEx() Tests to make sure that a valid regex doesn't report a failure. | public void | testNull() Tests to make sure that a failure is reported when a null
value is used and is shouldn't be. | public void | testValidNull() Tests to make sure that a failure is NOT reported when a null
value is used and it's okay. |
RegularExpressionValidatorTest | public RegularExpressionValidatorTest(String name)(Code) | | Default constructor.
|
setUp | protected void setUp()(Code) | | |
testBadRegEx | public void testBadRegEx()(Code) | | Tests to make sure that an invalid regex reports a failure.
|
testGoodRegEx | public void testGoodRegEx()(Code) | | Tests to make sure that a valid regex doesn't report a failure.
|
testNull | public void testNull()(Code) | | Tests to make sure that a failure is reported when a null
value is used and is shouldn't be.
|
testValidNull | public void testValidNull()(Code) | | Tests to make sure that a failure is NOT reported when a null
value is used and it's okay.
|
|
|