• Phillip Webb's avatar
    Ensure test @PostConstructs are only called once · 71345863
    Phillip Webb authored
    Rename AutoConfigureReportTestExecutionListener to
    SpringBootDependencyInjectionTestExecutionListener and ensure that it
    replaces any existing DependencyInjectionTestExecutionListener.
    
    Prior to this commit the registration of two DependencyInjection
    listeners would cause @PostConstruct methods on tests to be called
    twice.
    
    In order to allow the standard DependencyInjectionTestExecutionListener
    to be removed a new DefaultTestExecutionListenersPostProcessor interface
    has been introduced.
    
    Fixes gh-6874
    71345863
Name
Last commit
Last update
..
META-INF Loading commit data...
org/springframework/boot/test Loading commit data...
public Loading commit data...
resources Loading commit data...
static Loading commit data...
application.properties Loading commit data...
custom-config-name.properties Loading commit data...
test-property-source-annotation.properties Loading commit data...
test.groovy Loading commit data...