1. 04 2月, 2016 1 次提交
    • S
      Support primary TxMgrs and DataSources in the TCF · 677a3215
      Sam Brannen 提交于
      Prior to this commit, the transaction manager and data source look-up
      algorithms in the Spring TestContext Framework were not capable of
      retrieving 'primary' beans of those types, even though 'primary' beans
      are supported in production as well as for injecting dependencies into
      test instances. Specifically, if there was more than one transaction
      manager or data source bean and one of them was flagged as 'primary',
      the retrieveTransactionManager() and retrieveDataSource() methods in
      TestContextTransactionUtils would simply return null for such beans.
      
      This commit updates TestContextTransactionUtils by adding support for
      looking up primary transaction managers and data sources.
      
      Issue: SPR-13891
      677a3215
  2. 03 2月, 2016 1 次提交
    • S
      Throw exception if TxMgr cannot be retrieved for @Transactional test · 6d2b9a01
      Sam Brannen 提交于
      Prior to this commit, a @Transactional integration test would silently
      be executed without a transaction if the transaction manager could not
      be retrieved from the application context -- for example, it no such
      bean was defined or if multiple beans were present but none satisfied
      the qualifier.
      
      This commit addresses this issue by throwing an IllegalStateException
      if the PlatformTransactionManager cannot be retrieved for a
      @Transactional test.
      
      Issue: SPR-13895
      6d2b9a01
  3. 02 2月, 2016 1 次提交
  4. 30 1月, 2016 6 次提交
  5. 29 1月, 2016 4 次提交
  6. 28 1月, 2016 1 次提交
  7. 27 1月, 2016 10 次提交
  8. 26 1月, 2016 11 次提交
  9. 25 1月, 2016 5 次提交