java.lang.Object |
↳ |
org.junit.runner.Runner |
|
↳ |
org.junit.runners.ParentRunner<T> |
|
|
↳ |
com.atlassian.jira.functest.framework.suite.TransformingParentRunner<T> |
Class Overview
A parent runner implementation that wraps another parent runner and applies an ordered list of transforms over the
wrapped runner children, such that only the resulting list of children will be run.
The transforms operate on input list of descriptions and return a new copy of this list with any necessary modifications.
Only corresponding children of the descriptions will be executed by this runner. The transforms get applied recursively
over the whole runner tree.
Summary
[Expand]
Inherited Methods |
From class
org.junit.runners.ParentRunner
Statement
|
childrenInvoker(RunNotifier arg0)
|
Statement
|
classBlock(RunNotifier arg0)
|
List<TestRule>
|
classRules()
|
void
|
collectInitializationErrors(List<Throwable> arg0)
|
abstract
Description
|
describeChild(T arg0)
|
void
|
filter(Filter arg0)
|
abstract
List<T>
|
getChildren()
|
Description
|
getDescription()
|
String
|
getName()
|
Annotation[]
|
getRunnerAnnotations()
|
final
TestClass
|
getTestClass()
|
void
|
run(RunNotifier arg0)
|
abstract
void
|
runChild(T arg0, RunNotifier arg1)
|
final
void
|
runLeaf(Statement arg0, Description arg1, RunNotifier arg2)
|
void
|
setScheduler(RunnerScheduler arg0)
|
void
|
sort(Sorter arg0)
|
void
|
validatePublicVoidNoArgMethods(Class<? extends Annotation> arg0, boolean arg1, List<Throwable> arg2)
|
Statement
|
withAfterClasses(Statement arg0)
|
Statement
|
withBeforeClasses(Statement arg0)
|
|
From class
org.junit.runner.Runner
abstract
Description
|
getDescription()
|
abstract
void
|
run(RunNotifier arg0)
|
int
|
testCount()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.junit.runner.Describable
Description
|
getDescription()
|
|
From interface
org.junit.runner.manipulation.Filterable
|
From interface
org.junit.runner.manipulation.Sortable
|
Public Constructors
Public Methods
public
Description
getDescription
()
Protected Methods
protected
Description
describeChild
(T child)
protected
List<T>
getChildren
()
protected
void
runChild
(T child, RunNotifier notifier)
protected
ParentRunner<?>
wrap
(ParentRunner<?> original, List<SuiteTransform> transforms)
Wrap child of this runner that itself is parent runner in an instance that will provide transformations over
its children (if necessary).
Override this method to handle specific parent runner subclasses that override its protected or public methods,
linke e.g. run(org.junit.runner.notification.RunNotifier)
. Otherwise this
class will break those runners.
Parameters
original
| original runner instance |
transforms
| list of transforms |
Returns
- wrapping instance that will provide transforms over that particular instance
Throws
InitializationError
| runner initialization error
|