package org.junit.validator;
import java.util.List;
import org.junit.runners.model.TestClass;
Validates a single facet of a test class.
Since: 4.12
/**
* Validates a single facet of a test class.
*
* @since 4.12
*/
public interface TestClassValidator {
Validate a single facet of a test class.
Params: - testClass – the
TestClass
that is validated.
Returns: the validation errors found by the validator.
/**
* Validate a single facet of a test class.
*
* @param testClass
* the {@link TestClass} that is validated.
* @return the validation errors found by the validator.
*/
public List<Exception> validateTestClass(TestClass testClass);
}