1. 09 8月, 2018 1 次提交
  2. 08 8月, 2018 1 次提交
  3. 30 6月, 2018 1 次提交
  4. 28 6月, 2018 1 次提交
  5. 15 6月, 2018 1 次提交
  6. 31 5月, 2017 1 次提交
  7. 30 12月, 2016 2 次提交
  8. 26 7月, 2016 1 次提交
  9. 19 7月, 2016 1 次提交
  10. 05 7月, 2016 2 次提交
  11. 04 5月, 2016 1 次提交
  12. 25 3月, 2016 1 次提交
  13. 01 3月, 2016 1 次提交
  14. 24 12月, 2015 1 次提交
  15. 28 9月, 2015 1 次提交
  16. 06 5月, 2015 1 次提交
  17. 28 2月, 2015 1 次提交
  18. 31 12月, 2014 1 次提交
  19. 04 9月, 2014 1 次提交
  20. 03 9月, 2014 1 次提交
  21. 23 1月, 2014 1 次提交
  22. 23 4月, 2013 1 次提交
    • J
      Minimized ASM usage · d3a40687
      Juergen Hoeller 提交于
      In particular, avoid accidental usage of ASM for core JDK types - which will fail in case of a new bytecode version in the JDK, even if the application itself has been compiled with an earlier bytecode target.
      
      Issue: SPR-10292
      d3a40687
  23. 07 3月, 2013 1 次提交
  24. 26 1月, 2013 2 次提交
  25. 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
  26. 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
  27. 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
    • 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
    • P
      Remove trailing whitespace in source files · 1762157a
      Phillip Webb 提交于
        find . -type f -name "*.java" -or -name "*.aj" | \
          xargs perl -p -i -e "s/[ \t]*$//g" {} \;
      
      Issue: SPR-10127
      1762157a
  28. 26 11月, 2012 1 次提交
    • J
      Allow for more async running time in... · 89b443c1
      Juergen Hoeller 提交于
      Allow for more async running time in succeedsWhenSubclassProxyAndScheduledMethodNotPresentOnInterface
      
      After all, this test fails quite often as part of the CI build...
      89b443c1
  29. 07 11月, 2012 1 次提交
    • S
      Increase sleep time in ScheduledATAITests · 9a6ec1b4
      Sam Brannen 提交于
      This commit increases the sleep time in
      ScheduledAndTransactionalAnnotationIntegrationTests with the hope of
      improving the robustness of the test suite on the CI build server.
      9a6ec1b4
  30. 26 10月, 2012 1 次提交
    • C
      Filter @Configuration classes out of LTW test · 0bd4dab4
      Chris Beams 提交于
      Moving @EnableMBeanExport and its MBeanExportConfiguration
      @Configuration class into context.annotation caused a side effect with
      ComponentScanningWithLTWTests, which component scans context.annotation
      in order to test LTW behavior. Picking up MBeanExportConfiguration
      without proper MBean configuration resulted in a NullPointerException
      during test execution.
      
      This commit simply filters out all @Configuration classes from the LTW
      test's component-scanning directive.
      
      Issue: SPR-8943
      0bd4dab4
  31. 11 9月, 2012 2 次提交
    • C
      Upgrade to JUnit 4.11 snapshot in support of JDK7 · dfe05305
      Chris Beams 提交于
      Class#getDeclaredMembers returns arbitrary results under JDK7. This
      results in non-deterministic execution of JUnit test methods, often
      revealing unintended dependencies between methods that rely on a
      specific order to succeed.
      
      JUnit 4.11 contains support for predictable test ordering [1], but at
      the time of this commit, JUnit 4.11 has not yet been released.
      Therefore we are testing against a snapshot version [2], which has been
      uploaded to repo.springsource.org [3] for easy access. Note that this
      artifact may be removed when JUnit 4.11 goes GA.
      
       - Care has been taken to ensure that spring-test's compile-time
         dependency on JUnit remains at 4.10. This means that the spring-test
         pom.xml will continue to have an optional <dependency> on JUnit
         4.10, instead of the 4.11 snapshot.
      
       - For reasons not fully understood, the upgrade to the 4.11 snapshot
         of junit-dep caused NoSuchMethodErrors around certain Hamcrest
         types, particularly CoreMatchers and Matchers. import statements
         have been updated accordingly throughout affected test cases.
      
       - Runtime errors also occurred around uses of JUnit @Rule and
         ExpectedException. These have been reverted to use simpler
         mechanisms like @test(expected) in the meantime.
      
       - Some test methods with order-based dependencies on one another have
         been renamed in order to fall in line with JUnit 4.11's new method
         ordering (as opposed to actually fixing the inter-test
         dependencies). In other areas, the fix was as simple as adding a
         tearDown method and cleaning up state.
      
       - For no apparent reason, the timeout in AspectJAutoProxyCreatorTests'
         testAspectsAndAdvisorNotAppliedToPrototypeIsFastEnough method begins
         to be exceeded. Prior to this commit the timeout value was 3000 ms;
         on the CI server under Linux/JDK6 and JDK7, the test begins taking
         anywhere from 3500-5500 ms with this commit. It is presumed that
         this is an incidental artifact of the upgrade to JUnit 4.11. In any
         case, there are no changes to src/main in this commit, so this
         should not actually represent a performance risk for Spring
         Framework users. The timeout has been increased to 6000 ms to
         accommodate this situation.
      
      [1]: https://github.com/KentBeck/junit/pull/293
      [2]: https://github.com/downloads/KentBeck/junit/junit-dep-4.11-SNAPSHOT-20120805-1225.jar
      [3]: https://repo.springsource.org/simple/ext-release-local/junit/junit-dep/4.11.20120805.1225
      
      Issue: SPR-9783
      dfe05305
    • P
      Fix Windows-related build issues · 8e7622bb
      Phillip Webb 提交于
      - Increase max heap size in gradle wrapper.
      - Use MockProperties implementation to protect against security
        exceptions.
      - Replace windows CRLF with LF in various tests.
      - Increase Thread.sleep times to account for lack of precision on
        Windows.
      
      Issue: SPR-9717
      8e7622bb
  32. 29 7月, 2012 1 次提交
    • S
      Introduce MockEnvironment in the spring-test module · f49b22c7
      Sam Brannen 提交于
      For legacy reasons, a MockEnvironment implementation already exists in multiple places within Spring's test suite; however, it is not available to the general public.
      
      This commit promotes MockEnvironment to a first-class citizen in the spring-test module, alongside the existing MockPropertySource.
      
      In addition, the following house cleaning has been performed.
      
       - deleted MockPropertySource from the spring-expression module
       - deleted MockEnvironment from the "spring" integration testing module
       - updated test copies of MockPropertySource and MockEnvironment
       - documented MockEnvironment and MockPropertySource in the testing
         chapter of the reference manual
      
      Issue: SPR-9492
      f49b22c7