1. 11 7月, 2016 5 次提交
  2. 10 7月, 2016 1 次提交
  3. 09 7月, 2016 1 次提交
  4. 08 7月, 2016 5 次提交
  5. 07 7月, 2016 2 次提交
  6. 06 7月, 2016 1 次提交
  7. 05 7月, 2016 7 次提交
  8. 02 7月, 2016 3 次提交
  9. 01 7月, 2016 2 次提交
  10. 23 6月, 2016 2 次提交
    • S
      Implement equals() & hashCode() in MockServerContainerContextCustomizer · 3dbf25e0
      Sam Brannen 提交于
      Issue: SPR-14367
      3dbf25e0
    • S
      Support WebSocket ServletServerContainerFB in the TCF · f7dd7575
      Sam Brannen 提交于
      Prior to this commit, any attempt to include a bean of type
      ServletServerContainerFactoryBean in the WebApplicationContext for an
      integration test class annotated with @WebAppConfiguration in
      conjunction the Spring TestContext Framework (TCF) would have resulted
      in an IllegalStateException stating that "A ServletContext is required
      to access the javax.websocket.server.ServerContainer instance."
      
      In such scenarios, the MockServletContext was in fact present in the
      WebApplicationContext; however there was no WebSocket ServerContainer
      stored in the ServletContext.
      
      This commit addresses this issue by introducing the following.
      
      - MockServerContainer: a private mock implementation of the
        javax.websocket.server.ServerContainer interface.
      
      - MockServerContainerContextCustomizer: a ContextCustomizer that
        instantiates a new MockServerContainer and stores it in the
        ServletContext under the attribute named
        "javax.websocket.server.ServerContainer".
      
      - MockServerContainerContextCustomizerFactory: a
        ContextCustomizerFactory which creates a
        MockServerContainerContextCustomizer if WebSocket support is present
        in the classpath and the test class is annotated with
        @WebAppConfiguration. This factory is registered by default via the
        spring.factories mechanism.
      
      Issue: SPR-14367
      f7dd7575
  11. 15 6月, 2016 1 次提交
    • S
      Invoke target.toString() safely in ReflectionTestUtils · 045ee522
      Sam Brannen 提交于
      ReflectionTestUtils invokes toString() on target objects in order to
      build exception and logging messages, and prior to this commit problems
      could occur if the invocation of toString() threw an exception.
      
      This commit addresses this issue by ensuring that all invocations of
      toString() on target objects within ReflectionTestUtils are performed
      safely within try-catch blocks.
      
      Issue: SPR-14363
      045ee522
  12. 07 6月, 2016 4 次提交
  13. 06 6月, 2016 1 次提交
  14. 01 6月, 2016 2 次提交
    • R
      Polish · d10134b5
      Rossen Stoyanchev 提交于
      d10134b5
    • R
      MockMvcWebConnection stores cookies from response · 54f84cbd
      Rob Winch 提交于
      Previously MockMvcWebConnection did not update the cookie manager with the
      cookies from MockHttpServletResponse. This meant that newly added cookies
      are not saved to the cookie manager and thus are not presented in the next
      request.
      
      This commit ensures that MockMvcWebConnection stores the response cookies
      in the cookie manager.
      
      Issue: SPR-14265
      54f84cbd
  15. 30 5月, 2016 2 次提交
  16. 26 5月, 2016 1 次提交