• Madhura Bhave's avatar
    Expose a TestDispatcherServlet bean in the MockMvcAutoConfiguration · 4fee54cf
    Madhura Bhave authored
    This commit also contains changes to `ServletContextInitializerBeans`.
    `ServletContextInitializerBeans` can now be configured to only look
    for specific ServletContextInitializer subclasses, defaulting to
    ServletContextIntializer.class. `SpringBootMockMvcBuilderCustomizer`
    only cares about filters so it was unnecessary to look for all
    `ServletContextInitializer`s. Additionally, adapting `Servlet` beans
    caused a cycle once the `DispatcherServlet` bean was added and the
    customizer only needs to adapt `Filter` beans.
    
    Closes gh-13241
    4fee54cf
Name
Last commit
Last update
..
java/org/springframework/boot/test/autoconfigure Loading commit data...
resources Loading commit data...