de.bechte.junit.runners.context.processing
Class ContextExecutor

java.lang.Object
  extended by 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.


Constructor Summary
ContextExecutor(Describer<Class<?>> describer)
           
 
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
 

Constructor Detail

ContextExecutor

public ContextExecutor(Describer<Class<?>> describer)
Method Detail

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 TestClass
clazz - the object of type T
notifier - the RunNotifier to be notified


Copyright © 2015. All rights reserved.