1. 07 10月, 2014 1 次提交
  2. 18 12月, 2013 1 次提交
  3. 27 11月, 2013 1 次提交
  4. 04 1月, 2013 1 次提交
    • P
      Remove duplicate test classes · 42b5d6dd
      Phillip Webb 提交于
      Prior to this commit many test utility classes and sample beans were
      duplicated across projects. This was previously necessary due to the
      fact that dependent test sources were not shared during a gradle
      build. Since the introduction of the 'test-source-set-dependencies'
      gradle plugin this is no longer the case.
      
      This commit attempts to remove as much duplicate code as possible,
      co-locating test utilities and beans in the most suitable project.
      For example, test beans are now located in the 'spring-beans'
      project.
      
      Some of the duplicated code had started to drift apart when
      modifications made in one project where not ported to others. All
      changes have now been consolidated and when necessary existing tests
      have been refactored to account for the differences.
      
      Conflicts:
      	spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java
      	spring-beans/src/test/java/org/springframework/beans/factory/support/BeanFactoryGenericsTests.java
      	spring-beans/src/test/java/org/springframework/beans/support/PagedListHolderTests.java
      42b5d6dd
  5. 02 1月, 2013 1 次提交
    • P
      Move spring-build-junit into spring-core · 65fb26f8
      Phillip Webb 提交于
      Move code from spring-build-junit into spring-core/src/test along with
      several other test utility classes. This commit removes the temporary
      spring-build-junit project introduced in commit
      b083bbde.
      65fb26f8
  6. 29 12月, 2012 5 次提交
    • C
      Update Apache license headers for affected sources · 8472a2b2
      Chris Beams 提交于
      8472a2b2
    • P
      Ignore performance-sensitive tests by default · 60032e00
      Phillip Webb 提交于
      Make use of the new JUnit functionality introduced in the previous
      commit to 'Assume' that perfomance- and timing-sensitive tests should
      run only when TestGroup.PERFORMANCE is selected, i.e. when
      -PtestGroups="performance" has been provided at the Gradle command line.
      
      The net effect is that these tests are now ignored by default, which
      will result in far fewer false-negative CI build failures due to
      resource contention and other external factors that cause slowdowns.
      
      We will set up a dedicated performance CI build to run these tests on
      an isolated machine, etc.
      
      Issue: SPR-9984
      60032e00
    • C
      Add @Override annotations to test sources · 4c8cd7b0
      Chris Beams 提交于
      Issue: SPR-10129
      4c8cd7b0
    • C
      Fix [rawtypes] compiler warnings · 8d2e125e
      Chris Beams 提交于
       - Suppress rawtypes warnings for src/main
       - Enable rawtypes warnings for src/test
      
      This commit attempts to to resolve all rawtypes problems across tests as
      aggressively as possible, i.e. without regard for binary compatibility,
      whereas main sources must be treated much more cautiously with an eye
      toward compatibility.
      8d2e125e
    • P
      Fix [serial] compiler warnings · b0986049
      Phillip Webb 提交于
      Fix serialization warnings by applying @SuppressWarnings("serial")
      when appropriate.
      
      In certain cases and for unknown reasons, a correctly-placed
      @SuppressWarnings("serial") annotation will fix the warning at the
      javac level (i.e. the Gradle command-line), but will produce an
      "unnecessary @SuppressWarnings" warning within Eclipse. In these
      cases, a private static final serialVersionUID field has been added
      with the default value of 1L.
      b0986049
  7. 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