1. 01 9月, 2016 10 次提交
    • A
      Merge pull request #1143 from poutsma/server_sent_event · 18e491ac
      Arjen Poutsma 提交于
      * server_sent_event:
        Refactored SseEvent to ServerSentEvent
      18e491ac
    • A
      Refactored SseEvent to ServerSentEvent · 16b525f6
      Arjen Poutsma 提交于
       - Renamed SseEvent to ServerSentEvent to make the name less redundant.
       - ServerSentEvent is now immutable, having a builder to create new instances.
       - Realigned the class properties to more closely match the events
         described in the spec, so that `reconnectTime` becomes `retry`, and
         `name` becomes `event`.
      16b525f6
    • S
      Use Map.computeIfAbsent() in SpringClassRule · d9eaa5f3
      Sam Brannen 提交于
      Replace manual synchronization block in SpringClassRule with Java 8's
      Map.computeIfAbsent().
      
      Issue: SPR-12421
      d9eaa5f3
    • J
      1cf503f9
    • J
      aff914c9
    • A
      Copied getAndSub() over from Reactor · 35cf4f17
      Arjen Poutsma 提交于
      Operators.getAndSub was removed in Reactor 3.0.1, this commit copies the
      implementation over to AbstractRequestBodyPublisher, which used it.
      35cf4f17
    • S
      Polishing · feb02f81
      Sam Brannen 提交于
      feb02f81
    • S
      Introduce tests for @Nested tests in JUnit Jupiter · e574820d
      Sam Brannen 提交于
      This commit introduces integration tests that verify the expected
      behavior for @Nested tests in conjunction with the SpringExtension for
      JUnit Jupiter, including automatic application of
      TestExecutionListeners to the enclosing test instance of a @Nested
      test instance.
      
      Issue: SPR-14150
      e574820d
    • S
      Demo how to use SpringClassRule in nested test classes · ab7b5e5c
      Sam Brannen 提交于
      Due to restrictions imposed by JUnit 4, the SpringClassRule must be
      declared as a public static field, which makes it impossible to be
      declared directly within a nested (i.e., inner) test class.
      
      This commit demonstrates a work-around that makes it possible to use
      the SpringClassRule and SpringMethodRule in a nested (i.e., inner) test
      class when using a custom JUnit 4 runner such as the
      HierarchicalContextRunner from Stefan Bechtold.
      
      The trick is to have inner test classes extend a class that properly
      declares the SpringClassRule and SpringMethodRule. The
      SpringRuleConfigurer in this commit serves as an example.
      
      Note, however, that each such nested test class must declare its own
      @ContextConfiguration. Furthermore, TestExecutionListeners in the
      Spring TestContext Framework are not applied to the enclosing instance
      of such an inner test class, meaning that @Autowired fields in the
      enclosing instance will not be injected, etc.
      
      Issue: SPR-14150
      ab7b5e5c
    • R
      Fix MergePlugin transitive dependencies · 09f16747
      Rob Winch 提交于
      A little terminiology first:
      
      * merge.from - a project that contains source that will be merged
                     into merge.into
      * merge.into - a project that contains source code that will have
                     code from merge.from merged into it.
      
      Previously a module that dependended on merge.into would not see
      the merge.from module as a transitive dependency. This worked fine
      from a Gradle build because all the code from merge.from is merged
      into the merge.into jar. However, in an IDE it did not work because
      the IDE does not assemble a jar.
      
      This fix ensures that merge.from modules are automatically added
      to the classpath of any module relying on the merge.into project.
      
      Fixes SPR-14650
      09f16747
  2. 31 8月, 2016 12 次提交
  3. 30 8月, 2016 12 次提交
  4. 29 8月, 2016 6 次提交