de.bechte.junit.runners.context.processing
Class ContextExecutor
java.lang.Object
de.bechte.junit.runners.context.processing.ContextExecutor
- All Implemented Interfaces:
- ChildExecutor<Class<?>>
public class ContextExecutor
- extends Object
- implements ChildExecutor<Class<?>>
The ContextExecutor is responsible for executing a sub-contexts, represented by the given Class.
This implementation will create and run a new HierarchicalContextRunner for the given Class.
|
Method Summary |
void |
run(org.junit.runners.model.TestClass testClass,
Class<?> clazz,
org.junit.runner.notification.RunNotifier notifier)
Runs the given object of type T and informs the RunNotifier about all notifications. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextExecutor
public ContextExecutor(Describer<Class<?>> describer)
run
public void run(org.junit.runners.model.TestClass testClass,
Class<?> clazz,
org.junit.runner.notification.RunNotifier notifier)
- Description copied from interface:
ChildExecutor
- Runs the given object of type T and informs the
RunNotifier about all notifications.
- Specified by:
run in interface ChildExecutor<Class<?>>
- Parameters:
testClass - the corresponding TestClassclazz - the object of type Tnotifier - the RunNotifier to be notified
Copyright © 2015. All rights reserved.