1. 29 2月, 2016 3 次提交
  2. 28 2月, 2016 2 次提交
  3. 27 2月, 2016 2 次提交
  4. 26 2月, 2016 4 次提交
  5. 25 2月, 2016 4 次提交
  6. 24 2月, 2016 6 次提交
    • R
      Merge client REST test support updates · 46189b48
      Rossen Stoyanchev 提交于
      Includes support to declare expecations should occur multiple
      times as well as in any order.
      
      Issue: SPR-11365
      46189b48
    • R
      Add ExpectedCount · 91872b0d
      Rossen Stoyanchev 提交于
      MockRestServicesServer now supports an expect variant that accepts
      a range of expected count of executions.
      
      Issue: SPR-11365
      91872b0d
    • R
      Allow plugging in custom RequestExpectationManager · 08a08725
      Rossen Stoyanchev 提交于
      The MockRestServiceServer builder now has an option to plug in a
      custom RequestExpectationManager.
      
      Issue: SPR-11365
      08a08725
    • R
      Introduce MockRestServiceServer builder · a56c69c9
      Rossen Stoyanchev 提交于
      MockRestServiceServer now provides static methods for builder-style
      creation of MockRestServiceServer. This includes an option ignore
      the order of declaration expected requests.
      
      Issue: SPR-11365
      a56c69c9
    • R
      Introduce RequestExpectationManager · f58ef24e
      Rossen Stoyanchev 提交于
      This commit factors out the logic to declare and manage expectations
      including matching them to requests and verifying at the end behind
      a commong abstraction.
      
      MockRestServiceServer delegates to the new abstraction and is no longer
      aware of how that's done. There are two implementations, one for
      ordered and another for unordered expectation.
      
      Issue: SPR-11365
      f58ef24e
    • R
      Separate ResponseActions from ClientHttpRequest · 37a3fa96
      Rossen Stoyanchev 提交于
      Before this commit RequestMatcherClientHttpRequest served both as
      API to define request expectations, i.e. ResponseActions, as well as
      the implementation of ClientHttpRequest representing actual requests.
      
      DefaultResponseActions replaces this class as a simple holder of
      expected requests and mock responses. MockRestServiceServer is then
      responsible to match request expectations and create a mock response.
      
      Issue: SPR-11365
      37a3fa96
  7. 23 2月, 2016 10 次提交
  8. 22 2月, 2016 3 次提交
  9. 20 2月, 2016 6 次提交