org.spockframework.spring
Class SpringTestContextManager
java.lang.Object
org.spockframework.spring.SpringTestContextManager
public class SpringTestContextManager
- extends Object
Wrapper around Spring's TestContextManager class that works with Spring 2.5 and Spring 3.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringTestContextManager
public SpringTestContextManager(Class<?> testClass)
beforeTestClass
public void beforeTestClass()
throws Exception
- Throws:
Exception
afterTestClass
public void afterTestClass()
throws Exception
- Throws:
Exception
prepareTestInstance
public void prepareTestInstance(Object testInstance)
throws Exception
- Throws:
Exception
beforeTestMethod
public void beforeTestMethod(Object testInstance,
Method testMethod)
throws Exception
- Throws:
Exception
afterTestMethod
public void afterTestMethod(Object testInstance,
Method testMethod,
Throwable exception)
throws Exception
- Throws:
Exception
Copyright © 2010. All Rights Reserved.