JUnit-addons
version 1.4

junitx.tool
Interface TestClassValidator.ClassValidator

All Known Implementing Classes:
TestClassValidator.DefaultClassValidator
Enclosing interface:
TestClassValidator

public static interface TestClassValidator.ClassValidator

Class reponsible for validating a given class. Users willing to program their own validator can implement this interface or extend the DefaultClassValidator class.

The information can be of the following types:

Version:
$Revision: 1.9 $ $Date: 2003/02/06 20:43:54 $
Author:
Vladimir R. Bossicard
See Also:
TestClassValidator, TestClassValidator.ClassValidatorListener

Method Summary
 void setListener(TestClassValidator.ClassValidatorListener listener)
          Sets the listener that will report to the user.
 void validate(java.lang.Class cls)
          Validates a given class and report infos, warnings and errors via the ClassValidatorListener object (if any was set).
 

Method Detail

setListener

public void setListener(TestClassValidator.ClassValidatorListener listener)
Sets the listener that will report to the user. As a general rule All information must be handled by the listener and not by the ClassValidator object itselfs.


validate

public void validate(java.lang.Class cls)
Validates a given class and report infos, warnings and errors via the ClassValidatorListener object (if any was set).


JUnit-addons
version 1.4

Copyright © 2002-2003 Vladimir R. Bossicard. All Rights Reserved.