de.bechte.junit.runners.validation
Interface TestClassValidator

All Known Implementing Classes:
BooleanValidator, ChildrenCountValidator, ConstructorValidator, FixtureValidator, RuleValidator

public interface TestClassValidator

The TestClassValidator interface provides a simple validate(TestClass, List) method. With this interface, TestClass validation can be generalized and handled by the runner, without knowledge about the individual implementations of the different validators. All validators should implement this interface.


Method Summary
 void validate(org.junit.runners.model.TestClass testClass, List<Throwable> errors)
          Validates the given TestClass and adds all errors to the given List.
 

Method Detail

validate

void validate(org.junit.runners.model.TestClass testClass,
              List<Throwable> errors)
Validates the given TestClass and adds all errors to the given List.

Parameters:
testClass - the TestClass to validate
errors - the List of errors


Copyright © 2015. All rights reserved.