1. 03 1月, 2014 2 次提交
  2. 02 1月, 2014 3 次提交
  3. 24 12月, 2013 5 次提交
  4. 20 12月, 2013 5 次提交
  5. 17 12月, 2013 2 次提交
  6. 12 12月, 2013 17 次提交
  7. 11 12月, 2013 5 次提交
    • S
      Make methods of TestContext non-final · b20b7415
      Sam Brannen 提交于
      This commit makes several methods of TestContext non-final in order to
      allow TestContext to be mocked — for example with Mockito.
      
      Note, however, that TestContext has been converted to an interface in
      Spring Framework 4.0.
      
      Issue: SPR-11144
      b20b7415
    • S
      Do not repopulate RequestContextHolder in ServTEL · 38ad39f4
      Sam Brannen 提交于
      This commit fixes a bug introduced in the last commit.
      
      ServletTestExecutionListener (STEL) now tracks whether it has already
      populated the RequestContextHolder.
      
      Issue: SPR-11144
      
      Backport-Commit: 800018a8
      38ad39f4
    • S
      Honor presence of @WebAppConfiguration in ServTEL · 6ded2871
      Sam Brannen 提交于
      The previous commit for issue SPR-11144 revealed a bug in
      ServletTestExecutionListener (STEL). Specifically, STEL acted on the
      fact that the ApplicationContext for a given TestContext was an
      instance of WebApplicationContext. This behavior could potentially
      break test code from previous releases of the Spring Framework that
      relied on a custom setup of the RequestAttributes in the
      RequestContextHolder with a custom WebApplicationContext ContextLoader.
      
      This commit addresses this issue by ensuring that STEL only comes into
      play if the test class is annotated with @WebAppConfiguration (for
      prepareTestInstance() and beforeTestMethod()) or if the TestContext
      attribute named RESET_REQUEST_CONTEXT_HOLDER_ATTRIBUTE is set to
      Boolean.TRUE (for afterTestMethod()).
      
      Issue: SPR-11144
      
      Backport-Commit: 099b10d2
      6ded2871
    • J
      Polishing · 6e275b76
      Juergen Hoeller 提交于
      6e275b76
    • J
      Fixed ExtendedBeanInfo and its tests to accept JDK 8 b117+ introspection results · 88272637
      Juergen Hoeller 提交于
      Specifically, read and write methods are allowed to express property types with superclass/subclass relationships in both directions now.
      
      Issue: SPR-11139
      (cherry picked from commit cb624e25)
      88272637
  8. 10 12月, 2013 1 次提交