net.thucydides.junit.steps
Class StepInterceptor
java.lang.Object
net.thucydides.junit.steps.StepInterceptor
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class StepInterceptor
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor
Listen to step results and publish JUnit notification messages.
- Author:
- johnsmart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepInterceptor
public StepInterceptor(Class<?> testStepClass,
List<org.junit.runner.notification.RunListener> listeners)
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
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.