Package com.atlassian.jira.local.runner
Class AbstractListeningRunner<R extends Class<? extends org.junit.runner.Runner>>
java.lang.Object
org.junit.runner.Runner
com.atlassian.jira.local.runner.AbstractListeningRunner<R>
- All Implemented Interfaces:
org.junit.runner.Describable
- Direct Known Subclasses:
ListeningRunner
public class AbstractListeningRunner<R extends Class<? extends org.junit.runner.Runner>>
extends org.junit.runner.Runner
A base class to be used to wrap other JUnit4 runners and listen to the events that will be generated for tests
- Since:
- v4.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runner.Description
void
run
(org.junit.runner.notification.RunNotifier notifier) int
-
Constructor Details
-
AbstractListeningRunner
-
-
Method Details
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescription
in interfaceorg.junit.runner.Describable
- Specified by:
getDescription
in classorg.junit.runner.Runner
-
testCount
public int testCount()- Overrides:
testCount
in classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) - Specified by:
run
in classorg.junit.runner.Runner
-