org.hansel
Class CoverageRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.TestClassRunner
org.junit.runners.Suite
org.hansel.CoverageRunner
- All Implemented Interfaces:
- org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
public class CoverageRunner
- extends org.junit.runners.Suite
Nested Class Summary |
static interface |
CoverageRunner.CoverClasses
The CoverClasses annotation specifies the classes to be covered
when the test suite is run. |
Nested classes/interfaces inherited from class org.junit.runners.Suite |
org.junit.runners.Suite.SuiteClasses |
Fields inherited from class org.junit.internal.runners.TestClassRunner |
fEnclosedRunner |
Constructor Summary |
CoverageRunner(java.lang.Class<?> klass)
Internal use only. |
Method Summary |
org.junit.runner.Description |
getCoverageDescription()
|
org.junit.runner.Description |
getDescription()
|
protected void |
init()
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
|
protected void |
shutdown(org.junit.runner.notification.RunNotifier result,
boolean hasErrors)
|
Methods inherited from class org.junit.internal.runners.TestClassRunner |
filter, getTestClass, sort, validate |
Methods inherited from class org.junit.runner.Runner |
testCount |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverageRunner
public CoverageRunner(java.lang.Class<?> klass)
throws org.junit.internal.runners.InitializationError
- Internal use only.
- Throws:
org.junit.internal.runners.InitializationError
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Overrides:
run
in class org.junit.internal.runners.TestClassRunner
init
protected void init()
shutdown
protected void shutdown(org.junit.runner.notification.RunNotifier result,
boolean hasErrors)
getCoverageDescription
public org.junit.runner.Description getCoverageDescription()
getDescription
public org.junit.runner.Description getDescription()
- Overrides:
getDescription
in class org.junit.internal.runners.TestClassRunner