aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/junit/validator/TestClassValidator.java
blob: 43cb787e01c78b891ef2b3ec5521f591e742e34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.
     */
    public List<Exception> validateTestClass(TestClass testClass);
}