blob: ba5e892a156f8a9a1aa4376ba9f88f732e409c10 [file] [log] [blame]
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
*/
public interface TestClassValidator {
/**
* Validate a single facet of a test class.
*
* @param testClass
* the {@link TestClass} that is validated.
* @return the validation errors found by the validator.
*/
List<Exception> validateTestClass(TestClass testClass);
}