jdave.runner
Class ExecutingBehavior
java.lang.Object
jdave.runner.Behavior
jdave.runner.ExecutingBehavior
public class ExecutingBehavior
- extends Behavior
- Author:
- Joni Freeman, Pekka Enberg
|
Constructor Summary |
ExecutingBehavior(java.lang.reflect.Method method,
java.lang.Class<? extends Specification<?>> specType,
java.lang.Class<?> contextType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutingBehavior
public ExecutingBehavior(java.lang.reflect.Method method,
java.lang.Class<? extends Specification<?>> specType,
java.lang.Class<?> contextType)
run
public void run(IBehaviorResults results)
- Specified by:
run in class Behavior
newSpecification
protected Specification<?> newSpecification()
newContext
protected java.lang.Object newContext(Specification<?> spec)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyContext
protected void destroyContext()
Copyright ? 2008. All Rights Reserved.