1. 09 2月, 2014 1 次提交
  2. 06 2月, 2014 1 次提交
  3. 05 2月, 2014 2 次提交
    • 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 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
  4. 04 2月, 2014 1 次提交
    • S
      Ensure all tests are executed in the Gradle build · b8ed2f49
      Sam Brannen 提交于
      Prior to this commit several test classes named "*Test" were not
      recognized as tests by the Gradle build. This is due to the configured
      inclusion of '**/*Tests.*' which follows Spring's naming convention for
      test classes.
      
      This commit addresses this issue by:
      
       - Renaming real test classes consistently to "*Tests".
       - Renaming internal test classes to "*TestCase".
       - Renaming @WebTest to @WebTestStereotype.
       - Disabling broken tests in AnnoDrivenStaticEntityMockingControlTest.
       - Modifying the Gradle build configuration so that classes ending in
         either "*Tests" or "*Test" are considered test classes.
      
      Issue: SPR-11384
      b8ed2f49
  5. 27 11月, 2013 1 次提交
  6. 02 1月, 2013 1 次提交
    • P
      Fix [deprecation] compiler warnings · 6626a387
      Phillip Webb 提交于
      Fix deprecation compiler warnings by refactoring code or applying
      @SuppressWarnings("deprecation") annotations. JUnit tests of
      internally deprecated classes are now themselves marked as
      @Deprecated.
      
      Numerous EasyMock deprecation warnings will remain until the
      migration to mockito can be completed.
      6626a387
  7. 29 12月, 2012 2 次提交
  8. 31 1月, 2012 1 次提交
    • C
      Rename modules {org.springframework.*=>spring-*} · 02a4473c
      Chris Beams 提交于
      This renaming more intuitively expresses the relationship between
      subprojects and the JAR artifacts they produce.
      
      Tracking history across these renames is possible, but it requires
      use of the --follow flag to `git log`, for example
      
          $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history up until the renaming event, where
      
          $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java
      
      will show history for all changes to the file, before and after the
      renaming.
      
      See http://chrisbeams.com/git-diff-across-renamed-directories
      02a4473c
  9. 21 12月, 2011 2 次提交
    • C
      Convert CRLF (dos) to LF (unix) · 88913f2b
      Chris Beams 提交于
      Prior to this change, roughly 5% (~300 out of 6000+) of files under the
      source tree had CRLF line endings as opposed to the majority which have
      LF endings.
      
      This change normalizes these files to LF for consistency going forward.
      
      Command used:
      
      $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
      
      Issue: SPR-5608
      88913f2b
    • C
      Convert CRLF (dos) to LF (unix) · ae72cf2f
      Chris Beams 提交于
      Prior to this change, roughly 5% (~300 out of 6000+) of files under the
      source tree had CRLF line endings as opposed to the majority which have
      LF endings.
      
      This change normalizes these files to LF for consistency going forward.
      
      Command used:
      
      $ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
      
      Issue: SPR-5608
      ae72cf2f
  10. 20 10月, 2010 1 次提交
  11. 03 11月, 2009 1 次提交
  12. 28 10月, 2009 3 次提交