1. 25 3月, 2016 1 次提交
  2. 18 12月, 2015 2 次提交
  3. 28 9月, 2015 1 次提交
    • S
      Migrate JUnit 3 tests to JUnit 4 · d5ee787e
      Sam Brannen 提交于
      This commit migrates all remaining tests from JUnit 3 to JUnit 4, with
      the exception of Spring's legacy JUnit 3.8 based testing framework that
      is still in use in the spring-orm module.
      
      Issue: SPR-13514
      d5ee787e
  4. 30 10月, 2014 1 次提交
  5. 21 10月, 2014 1 次提交
  6. 10 8月, 2014 1 次提交
  7. 22 4月, 2014 1 次提交
  8. 07 2月, 2014 1 次提交
  9. 28 1月, 2014 1 次提交
    • S
      Polish Hibernate support and tests · 63e02317
      Sam Brannen 提交于
       - Fix Javadoc in HibernateTemplate so that it compiles in Eclipse.
       - Suppress generics warnings in HibernateTemplateTests.
       - Remove unnecessary deprecation warning suppression in constructor for
         LocalSessionFactoryBuilder.
      63e02317
  10. 23 1月, 2014 1 次提交
  11. 27 11月, 2013 1 次提交
  12. 31 10月, 2013 1 次提交
  13. 29 3月, 2013 1 次提交
  14. 20 3月, 2013 1 次提交
  15. 07 3月, 2013 1 次提交
  16. 27 2月, 2013 1 次提交
  17. 10 1月, 2013 1 次提交
  18. 04 1月, 2013 2 次提交
    • C
      Remove duplicate test resources · 15e9fe63
      Chris Beams 提交于
      The files deleted in this commit existed in identical form in two places
      within a given module; typically in src/test/java and
      src/test/resources. The version within src/test/resources has been
      favored in all cases.
      
      This change was prompted by associated Eclipse warnings, which have now
      been quelled.
      
      Issue: SPR-9431
      15e9fe63
    • 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
  19. 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
  20. 29 12月, 2012 6 次提交
  21. 04 12月, 2012 1 次提交
  22. 01 12月, 2012 1 次提交
    • R
      polish web.Mock* classpath · 149e6f64
      Rob Winch 提交于
      Previously when running the tests for spring-web, spring-webmvc,
      spring-test-mvc, and spring-orm there were possible collissions in the
      classpath due to the fact that each had its own copy of the web.Mock*
      classes in it. This causes uncertainty for which class the code was
      running against. Furthermore, the maintance of keeping the copies up to
      date was tedious.
      
      Now there are two copies of the web.Mock* classes. The ones that exist
      in spring-test main sources and a copy that supports servlet 3 within
      spring-web test sources. The copy in spring-web test sources has been
      moved to a new package to avoid having the classes exist twice on the
      classpath within Eclipse.
      149e6f64
  23. 31 10月, 2012 1 次提交
  24. 27 10月, 2012 1 次提交
    • R
      Polish (major) MVC async processing interceptors · f036ed63
      Rossen Stoyanchev 提交于
      New afterTimeout and afterCompletion callbacks
      
      afterTimeout can provide a concurrent result to be used instead of the
      one that could not be set or returned on time
      
      Interceptor exceptions cause async processing to resume treating the
      exception as the concurrent result
      
      Adapter classes for convenient implementation of the interfaces
      
      Issue: SPR-9914
      f036ed63
  25. 19 9月, 2012 1 次提交
    • R
      Add interceptors for async processing · 57c36dd3
      Rossen Stoyanchev 提交于
      This change introduces two new interceptors with callback methods
      for concurrent request handling. These interfaces are
      CallableProcessingInterceptor and DeferredResultProcessingInterceptor.
      
      Unlike a HandlerInterceptor, and its AsyncHandlerInterceptor sub-type,
      which intercepts the invocation of a handler in he main request
      processing thread, the two new interfaces are aimed at intercepting the
      asynchronous execution of a Callable or a DeferredResult.
      
      This allows for the registration of thread initialization logic in the
      case of Callable executed with an AsyncTaskExecutor, or for centralized
      tracking of the completion and/or expiration of a DeferredResult.
      57c36dd3
  26. 18 9月, 2012 1 次提交
    • R
      Polish async support · 97f97c4e
      Rossen Stoyanchev 提交于
      Added handler argument to the signature of
      AsyncHandlerInterceptor.afterConcurrentHandlingStarted(..).
      
      Renamed AsyncWebUtils to WebAsyncUtils.
      97f97c4e
  27. 08 9月, 2012 1 次提交
    • R
      Polish async request processing · 6e85dd89
      Rossen Stoyanchev 提交于
      This change fixes a cyclical package dependency.
      
      The change also improves the implementation of
      WebAsyncManager.hasConcurrentResult() following the resolution of
      Apache issue id=53632 and the release of Apache Tomcat 7.0.30 that
      contains the fix.
      6e85dd89
  28. 18 8月, 2012 1 次提交
  29. 04 8月, 2012 1 次提交
    • R
      Refactor Servlet 3 async support · 529e6292
      Rossen Stoyanchev 提交于
      As a result of the refactoring, the AsyncContext dispatch mechanism is
      used much more centrally. Effectively every asynchronously processed
      request involves one initial (container) thread, a second thread to
      produce the handler return value asynchronously, and a third thread
      as a result of a dispatch back to the container to resume processing
      of the asynchronous resuilt.
      
      Other updates include the addition of a MockAsyncContext and support
      of related request method in the test packages of spring-web and
      spring-webmvc. Also an upgrade of a Jetty test dependency required
      to make tests pass.
      
      Issue: SPR-9433
      529e6292
  30. 21 7月, 2012 1 次提交
    • R
      Ensure async Callables are in sync with the call stack · 6cc512b5
      Rossen Stoyanchev 提交于
      After this change each call stack level pushes and pops an async
      Callable to ensure the AsyncExecutionChain is in sync with the
      call stack. Before this change, a controller returning a "forward:"
      prefixed string caused the AsyncExecutionChain to contain a
      extra Callables that did not match the actual call stack.
      
      Issue: SPR-9611
      6cc512b5
  31. 05 5月, 2012 1 次提交
    • R
      HanderInterceptor and OSIV async request changes · e7506b50
      Rossen Stoyanchev 提交于
      This change updates Open-Session-in-View filters and interceptors for
      use in async requests mainly ensuring the open Hibernate session is
      unbound from the main request processing thread and bound to the to
      async thread.
      
      Issue: SPR-8517
      e7506b50
  32. 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