org.apache.tapestry.valid
Class TestUrlValidator

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.junit.TapestryTestCase
          extended by org.apache.tapestry.valid.BaseValidatorTestCase
              extended by org.apache.tapestry.valid.TestUrlValidator

public class TestUrlValidator
extends BaseValidatorTestCase

Tests for EmailValidator.

Since:
3.0
Author:
Tsvetelin Saykov, Jimmy Dyson

Field Summary
 
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase
IS_JDK13
 
Constructor Summary
TestUrlValidator()
           
 
Method Summary
 void reset()
           
 void testDisallowedProtocol()
           
 void testInvalidUrl()
           
 void testOverrideInvalidUrlFormatMessage()
           
 void testOverrideMinimumLengthMessage()
           
 void testTooShort()
           
 void testValidUrl()
           
 
Methods inherited from class org.apache.tapestry.valid.BaseValidatorTestCase
newField, newField, newField, newField, newField, newPage
 
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
 

Constructor Detail

TestUrlValidator

public TestUrlValidator()
Method Detail

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.