Class CodeCoverageAssertor
Object
com.liferay.portal.kernel.test.rule.CodeCoverageAssertor
- All Implemented Interfaces:
org.junit.rules.TestRule
- Author:
- Shuyang Zhou
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCodeCoverageAssertor
(String[] includes, String[] excludes, boolean includeInnerClasses) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) protected ClassLoader
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CodeCoverageAssertor
public CodeCoverageAssertor() -
CodeCoverageAssertor
-
-
Method Details
-
appendAssertClasses
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
getAssertMethods
- Throws:
ReflectiveOperationException
-
afterClass
protected void afterClass(org.junit.runner.Description description, String className) throws Throwable - Throws:
Throwable
-
beforeClass
- Throws:
Throwable
-
getClassLoader
-