1. 08 2月, 2014 5 次提交
  2. 07 2月, 2014 11 次提交
  3. 06 2月, 2014 8 次提交
  4. 05 2月, 2014 6 次提交
    • S
      Explain after advice behavior in static method mock aspect · 9fe9e271
      Sam Brannen 提交于
      This commit makes it clear that mock verification will not occur if an
      advised test method throws an exception.
      9fe9e271
    • S
      Improve test coverage for AbstractMethodMockingControl · 76f3d6e5
      Sam Brannen 提交于
      This commit improves the test coverage for AbstractMethodMockingControl
      by introducing tests that verify expected behavior for:
      
       - reentrant method invocations via public methods
       - reentrant method invocations via private methods
       - test methods that do not set expectations or invoke playback()
       - test methods that throw exceptions
      
      For a more complete discussion of "after" vs. "after returning" advice
      within AbstractMethodMockingControl, see the Javadoc in the tests.
      76f3d6e5
    • S
      Fix merge error in previous commit · 3a89bc4b
      Sam Brannen 提交于
      Issue: SPR-11385
      3a89bc4b
    • S
      Fix off-by-one regression in AbstractMethodMockingControl · 69a89b1b
      Sam Brannen 提交于
      This commit fixes the off-by-one regression accidentally introduced in
      commit 55961544.
      
      Specifically, this fix ensures that the correct recorded call is
      indexed in the 'calls' list in the implementation of
      AbstractMethodMockingControl.Expectations.nextCall().
      
      In addition, this commit improves the Javadoc for
      AbstractMethodMockingControl, @MockStaticEntityMethods, and
      AnnotationDrivenStaticEntityMockingControl and introduces a proper
      toString() implementation for the internal Expectations.Call class in
      AbstractMethodMockingControl. Furthermore, code from the obsolete
      Delegate test class has been inlined in
      AnnotationDrivenStaticEntityMockingControlTests.
      
      Issue: SPR-11385, SPR-10885
      69a89b1b
    • J
      Use AtomicInteger instead of local synchronization around int field · 1cd5071e
      Juergen Hoeller 提交于
      Issue: SPR-11103
      1cd5071e
    • J
      Polishing · 8a6b0952
      Juergen Hoeller 提交于
      Issue: SPR-11386
      8a6b0952
  5. 04 2月, 2014 6 次提交
  6. 03 2月, 2014 2 次提交
  7. 02 2月, 2014 2 次提交