net.thucydides.core.steps
Class StepInterceptor
java.lang.Object
net.thucydides.core.steps.StepInterceptor
- All Implemented Interfaces:
- Serializable, net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class StepInterceptor
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor, Serializable
Listen to step results and publish notification messages.
The step interceptor is designed to work on a given test case or user story.
It logs test step results so that they can be reported on at the end of the test case.
- Author:
- johnsmart
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepInterceptor
public StepInterceptor(Class<?> testStepClass)
intercept
public Object intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
throws Throwable
- Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
setThowsExceptionImmediately
public void setThowsExceptionImmediately(boolean throwExceptionImmediately)
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.