org.jete.validator
Interface Validator
- All Known Implementing Classes:
- MethodResultValidator, ThrowableValidator, WebPageContentValidator
- public interface Validator
Define the interface for a validator, simply return when ok, but throw an AssertionFailedError
if there is an error.
Passing the relevant TestAction to the validator allows very specific and customer validators to be created
fitting any organization's needs.
- Version:
- $Id: Validator.html,v 1.3 2006/03/12 02:47:07 tdeast Exp $
validate
public void validate(TestAction action)