org.databene.commons.validator
Class SimpleValidatorTest<E>

java.lang.Object
  extended by org.databene.commons.validator.SimpleValidatorTest<E>

public abstract class SimpleValidatorTest<E>
extends java.lang.Object

Simple helper class that provides methods for testing validators.

Created at 24.07.2009 17:52:21

Since:
0.5.0
Author:
Volker Bergmann

Constructor Summary
SimpleValidatorTest(Validator<E> validator)
           
 
Method Summary
protected  void assertInvalid(E candidate)
           
protected  void assertValid(E candidate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleValidatorTest

public SimpleValidatorTest(Validator<E> validator)
Method Detail

assertValid

protected void assertValid(E candidate)

assertInvalid

protected void assertInvalid(E candidate)


Copyright © 2010. All Rights Reserved.