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
Method Summary |
org.junit.runner.Description |
getDescription()
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
|
int |
testCount()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractListeningRunner
public AbstractListeningRunner(Class<?> classUnderTest,
R runnerDelegateClass)
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescription
in interface org.junit.runner.Describable
- Specified by:
getDescription
in class org.junit.runner.Runner
testCount
public int testCount()
- Overrides:
testCount
in class org.junit.runner.Runner
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
run
in class org.junit.runner.Runner
Copyright © 2002-2014 Atlassian. All Rights Reserved.