public class JUnitCollectorExecutionListener
extends org.springframework.test.context.support.AbstractTestExecutionListener
This TestExecutionListener
looks for the JUnitCollector
annotation
and uses attributes on it to:
ServiceCollector
FileAnticipator
checks for files created
during the unit test executionConstructor and Description |
---|
JUnitCollectorExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
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
Copyright © 2018. All rights reserved.