1package org.junit.validator;
2
3import java.util.List;
4
5import org.junit.runners.model.TestClass;
6
7/**
8 * Validates a single facet of a test class.
9 *
10 * @since 4.12
11 */
12public interface TestClassValidator {
13    /**
14     * Validate a single facet of a test class.
15     *
16     * @param testClass
17     *            the {@link TestClass} that is validated.
18     * @return the validation errors found by the validator.
19     */
20    public List<Exception> validateTestClass(TestClass testClass);
21}
22