org.apache.tapestry.valid
Class TestUrlValidator
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.valid.BaseValidatorTestCase
org.apache.tapestry.valid.TestUrlValidator
public class TestUrlValidator
- extends BaseValidatorTestCase
Tests for EmailValidator
.
- Since:
- 3.0
- Author:
- Tsvetelin Saykov, Jimmy Dyson
Methods inherited from class org.apache.tapestry.junit.TapestryTestCase |
checkException, checkList, checkList, checkProperty, createValueConverter, getSpecificationResourceLocation, newBindingSource, newComponent, parseApp, parseComponent, parseLib, parsePage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestUrlValidator
public TestUrlValidator()
reset
public void reset()
testValidUrl
public void testValidUrl()
throws ValidatorException
- Throws:
ValidatorException
testInvalidUrl
public void testInvalidUrl()
testOverrideInvalidUrlFormatMessage
public void testOverrideInvalidUrlFormatMessage()
testTooShort
public void testTooShort()
testOverrideMinimumLengthMessage
public void testOverrideMinimumLengthMessage()
testDisallowedProtocol
public void testDisallowedProtocol()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.