Class BeforeTestMethodEvent
- java.lang.Object
- java.util.EventObject
- org.springframework.context.ApplicationEvent
- org.springframework.test.context.event.TestContextEvent
- org.springframework.test.context.event.BeforeTestMethodEvent
- All Implemented Interfaces:
Serializable
public class BeforeTestMethodEvent extends TestContextEvent
TestContextEvent
published by theEventPublishingTestExecutionListener
whenTestExecutionListener.beforeTestMethod(TestContext)
is invoked.- Since:
- 5.2
- Author:
- Frank Scheffler
- See Also:
@BeforeTestMethod
, Serialized Form
Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
Constructors Constructor Description BeforeTestMethodEvent(TestContext source)
Method Summary
Methods inherited from class org.springframework.test.context.event.TestContextEvent
getSource, getTestContext
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
Constructor Detail
BeforeTestMethodEvent
public BeforeTestMethodEvent(TestContext source)