1. 15 Sep, 2016 7 commits
    • Stephane Nicoll's avatar
      Polish cache doc · 7e263d89
      Stephane Nicoll authored
      Closes gh-6892
      7e263d89
    • Andy Wilkinson's avatar
      Fail fast if @WebAppConfiguration is used with a non-mock web environement · 7b3382e3
      Andy Wilkinson authored
      @WebAppConfiguration expects a mock web environment. If it is used
      in conjuction with @SpringBootTest configured with a RANDOM_PORT or
      DEFINED_PORT web environment a null pointer exception occurs as an
      assumption that's made by MockServerContainerContextCustomizer doesn't
      hold true in a non-mock web environment.
      
      This commit updates SpringBootTestContextBootstrap to detect the
      illegal configuration combination and fail fast, advising the user
      to remove @WebAppConfiguration or reconfigure @SpringBootTest.
      
      Closes gh-6795
      7b3382e3
    • Stephane Nicoll's avatar
      Polish · 8470ecb4
      Stephane Nicoll authored
      8470ecb4
    • 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
    • Phillip Webb's avatar
      Document how to use LegacyCookieProcessor · 3d89dabb
      Phillip Webb authored
      Closes gh-6827
      3d89dabb
    • Phillip Webb's avatar
      Allow default profile to also be set in properties · 06064286
      Phillip Webb authored
      Update `ConfigFileApplicationListener` so that active profiles set in
      properties files that overlap with `spring.profiles.default` can still
      be set.
      
      Prior to this commit if `spring.profiles.active` happened to specify
      a profile name that was also in `spring.profiles.default` it would
      not get applied.
      
      Fixes gh-6833
      06064286
    • Phillip Webb's avatar
      Fix failing test following Tomcat upgrade · dcfe2673
      Phillip Webb authored
      Tomcat 8.5.5 has change the default value of `validationInterval` to
      3000. See https://bz.apache.org/bugzilla/show_bug.cgi?id=59923 for
      details.
      
      See gh-6703
      See gh-6657
      dcfe2673
  2. 14 Sep, 2016 5 commits
  3. 13 Sep, 2016 2 commits
  4. 12 Sep, 2016 14 commits
  5. 09 Sep, 2016 12 commits