public class CodeCoverageAssertor
extends Object
implements org.junit.rules.TestRule
Modifier and Type | Field and Description |
---|---|
static CodeCoverageAssertor |
INSTANCE |
Constructor and Description |
---|
CodeCoverageAssertor() |
CodeCoverageAssertor(String[] includes,
String[] excludes,
boolean includeInnerClasses) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterClass(org.junit.runner.Description description,
String className) |
void |
appendAssertClasses(List<Class<?>> assertClasses) |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected String |
beforeClass(org.junit.runner.Description description) |
List<Method> |
getAssertMethods() |
protected ClassLoader |
getClassLoader() |
public static final CodeCoverageAssertor INSTANCE
public CodeCoverageAssertor()
public CodeCoverageAssertor(String[] includes, String[] excludes, boolean includeInnerClasses)
public void appendAssertClasses(List<Class<?>> assertClasses)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
public List<Method> getAssertMethods() throws ReflectiveOperationException
ReflectiveOperationException
protected void afterClass(org.junit.runner.Description description, String className) throws Throwable
Throwable
protected String beforeClass(org.junit.runner.Description description) throws Throwable
Throwable
protected ClassLoader getClassLoader()