jdave.junit4
Class JDaveCallback
java.lang.Object
jdave.junit4.JDaveCallback
- All Implemented Interfaces:
- ISpecVisitor
public class JDaveCallback
- extends Object
- implements ISpecVisitor
The JDaveCallback object is responsible for keeping track of test execution
through the hierarchy of JDave specifications, contexts, and spec methods.
It fires the appropriate events for the given JUnit4 RunNotifier,
effectively implementing the core of the JUnit4 integration.
- Author:
- Lasse Koskela, Joni Freeman
|
Constructor Summary |
JDaveCallback(org.junit.runner.notification.RunNotifier notifier)
|
JDaveCallback(org.junit.runner.notification.RunNotifier notifier,
org.junit.runner.manipulation.Filter filter)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDaveCallback
public JDaveCallback(org.junit.runner.notification.RunNotifier notifier)
JDaveCallback
public JDaveCallback(org.junit.runner.notification.RunNotifier notifier,
org.junit.runner.manipulation.Filter filter)
onContext
public void onContext(Context context)
- Specified by:
onContext in interface ISpecVisitor
afterContext
public void afterContext(Context context)
- Specified by:
afterContext in interface ISpecVisitor
onBehavior
public void onBehavior(Behavior behavior)
- Specified by:
onBehavior in interface ISpecVisitor
Copyright © 2010. All Rights Reserved.