org.spockframework.runtime.extension.builtin
Class TimeoutInterceptor
java.lang.Object
org.spockframework.runtime.extension.builtin.TimeoutInterceptor
- All Implemented Interfaces:
- IMethodInterceptor
public class TimeoutInterceptor
- extends Object
- implements IMethodInterceptor
Implementation of @Timeout.
- Author:
- Peter Niederwieser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeoutInterceptor
public TimeoutInterceptor(Timeout timeout)
intercept
public void intercept(IMethodInvocation invocation)
throws Throwable
- Specified by:
intercept
in interface IMethodInterceptor
- Throws:
Throwable
Copyright © 2010. All Rights Reserved.