1. 14 Dec, 2016 2 commits
  2. 13 Dec, 2016 2 commits
  3. 12 Dec, 2016 1 commit
  4. 08 Dec, 2016 4 commits
  5. 05 Dec, 2016 2 commits
  6. 02 Dec, 2016 3 commits
  7. 01 Dec, 2016 6 commits
  8. 30 Nov, 2016 3 commits
    • Andy Wilkinson's avatar
      Ignore Spock annotations when creating test context cache key · 45d672f5
      Andy Wilkinson authored
      Closes gh-7524
      45d672f5
    • Stephane Nicoll's avatar
      Use standard file name for Maven dependencies · c51d836a
      Stephane Nicoll authored
      This commit uses standard files for libraries managed by the repackage
      goal of the Maven plugin. Previously, only the name of the file was used
      which could lead to duplicate libraries if the name of the target file
      deviates from the default. This typically happens when the
      `build.finalName` property is specified on a dependent module.
      
      Note that the `maven-war-plugin` has an additional mechanism to customize
      the file name structure of dependencies. This feature isn't supported by
      the repackage goal so an explicit mention has been added in the
      documentation.
      
      Closes gh-7389
      c51d836a
    • Stephane Nicoll's avatar
      Fix bootstrap-hosts property detection with list · e5ca4990
      Stephane Nicoll authored
      Previously, if `spring.couchbase.bootstrap-hosts` was specified in YAML
      or with the `[Idx]` notation, the auto-configuration would not kick in.
      
      This is due to a limitation of `@ConditionalOnProperty` on a property of
      type Collection. This commit workarounds this limitation for now with a
      dedicated condition.
      
      Closes gh-7508
      e5ca4990
  9. 29 Nov, 2016 2 commits
  10. 28 Nov, 2016 3 commits
  11. 25 Nov, 2016 3 commits
    • Andy Wilkinson's avatar
      Merge pull request #7271 from Aleksander Bartnikiewicz · c6bdd136
      Andy Wilkinson authored
      * gh-7271:
        Test that a broken factory bean does not break resetting of mocks
        Prevent a broken factory bean from breaking the resetting of mocks
      c6bdd136
    • Andy Wilkinson's avatar
      Test that a broken factory bean does not break resetting of mocks · 46e8cf4a
      Andy Wilkinson authored
      Previously, ResetMocksTestExecutionListener used getBean(name) to
      retrieve each instantiated singleton. When the instantiated singleton
      was a factory bean, this would cause getObject on the factory bean to
      be called. If the factory bean was unable to produce its object, for
      example due to test slicing excluding something, an exception would
      be thrown.
      
      The previous commit updated ResetMocksTestsExecutionListener to
      use getSingleton(name) rather than getBean(name).  This will retrieve
      the factory bean itself rather than causing the factory bean to
      attempt to create an object. This commit updates the tests to verify
      the new behaviour.
      
      Closes gh-7270
      46e8cf4a
    • Aleksander Bartnikiewicz's avatar
      eb927f1b
  12. 24 Nov, 2016 8 commits
  13. 23 Nov, 2016 1 commit
    • Andy Wilkinson's avatar
      Treat URLs for same file in nested archive and from jar root as equal · 5e79657d
      Andy Wilkinson authored
      Consider the following two URLs:
      
      jar:file:/test.jar!/BOOT-INF/classes!/foo.txt
      jar:file:/test.jar!/BOOT-INF/classes/foo.txt
      
      They both reference the same foo.txt file in the BOOT-INF/classes
      directory of test.jar, however the first URL does so via the
      nested BOOT-INF/classes archive. Previously, this difference in the
      URLs would lead to PathMatchingResourcePatternResolver returning two
      resources for foo.txt when asked to find all resources matching the
      pattern classpath*:/**/*.txt.
      
      This commit updates our Handler that is used for jar: URLs to consider
      the two URLs above to be equivalent such that url1 is equal to url2
      and the two urls will produce the same hash code.
      
      Closes gh-7449
      5e79657d