public class OpenNMSAbstractTestExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
OpenNMSAbstractTestExecutionListener class.
Constructor and Description |
---|
OpenNMSAbstractTestExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
protected <T extends Annotation> |
findTestAnnotation(Class<T> clazz,
org.springframework.test.context.TestContext testContext)
findTestAnnotation
|
public OpenNMSAbstractTestExecutionListener()
public void beforeTestMethod(org.springframework.test.context.TestContext testContext) throws Exception
beforeTestMethod
in interface org.springframework.test.context.TestExecutionListener
beforeTestMethod
in class org.springframework.test.context.support.AbstractTestExecutionListener
Exception
public void afterTestMethod(org.springframework.test.context.TestContext testContext) throws Exception
afterTestMethod
in interface org.springframework.test.context.TestExecutionListener
afterTestMethod
in class org.springframework.test.context.support.AbstractTestExecutionListener
Exception
protected <T extends Annotation> T findTestAnnotation(Class<T> clazz, org.springframework.test.context.TestContext testContext)
findTestAnnotation
T
- a T object.clazz
- a Class
object.testContext
- a TestContext
object.Copyright © 2018. All rights reserved.