Brian Clozel
cccd9c8bb0
Fix okhttp3 downgrade
7 years ago
Brian Clozel
e83fec4ec3
Downgrade to okhttp3 3.14.2
...
The upgrade to 4.x was breaking some behavior in our tests.
We need to reconsider this upgrade and check our mockrestserver usage in
our tests.
7 years ago
Sam Brannen
00983a1141
Update @Disabled for StreamingSimpleClientHttpRequestFactoryTests.interceptor()
7 years ago
Sam Brannen
4d819128db
Fix Javadoc
7 years ago
Sam Brannen
07d4104f2f
Polishing
7 years ago
Rossen Stoyanchev
310f0bfb6c
Remove unnecessary code from prior commit
7 years ago
Rossen Stoyanchev
dfc7540106
Add generic type bounds to DataBufferUtils methods
...
Closes gh-23459
7 years ago
Juergen Hoeller
48934cba1b
Polishing
7 years ago
Juergen Hoeller
3bc27e8d14
Streamline AnnotationFilter usage with the MergedAnnotations API
...
MergedAnnotations provides 'from' variants with RepeatableContainers but without AnnotationFilter argument now, avoiding the need to refer to AnnotationFilter.PLAIN as a default at call sites.
7 years ago
Rossen Stoyanchev
c8f430ee91
Change package used to test path matching
...
The org.reactivestreams has 13 instead of 4 classes in 1.0.3 with the
addition of Java 9 Flow adapters. This commit switches to using a
different package reactor.util.annotation, also with a small number of
classes, for this test.
7 years ago
Rossen Stoyanchev
57d9b92b94
Upgrade Reactor to Dysprosium RC1
...
Closes: gh-23579
7 years ago
Juergen Hoeller
f26866e4d4
Introduce getType variant with allowFactoryBeanInit flag
...
Closes gh-23374
7 years ago
Juergen Hoeller
eb6577755d
Stackless variant of NoTransactionException for reactive flows
...
Closes gh-23360
7 years ago
Sebastien Deleuze
d587a660fc
Fix a warning in Kotlin tests
7 years ago
Sebastien Deleuze
9b33b0ad58
Rename CoroutinesUtils#invokeHandlerMethod to invokeSuspendingFunction
7 years ago
Sebastien Deleuze
2b4eb610a7
Add support for Coroutines transactions
...
This commit adds Coroutines extensions for
TransactionalOperator.transactional that accept suspending lambda or
Kotlin Flow parameters.
@Transactional on suspending functions is not supported yet, gh-23575
has been created for that purpose.
Closes gh-22915
7 years ago
Sam Brannen
aeb857c3ba
Polish ClassUtilsTests
...
See gh-23572
7 years ago
Sam Brannen
4575f82c72
Simplify Gradle test task configuration
7 years ago
Sam Brannen
3c4cd99237
Reintroduce Hamcrest as a global test runtime dependency
...
Prior to this commit, tests in spring-web and spring-webflux were no
longer executed due to the removal of the Hamcrest dependency in
commit bb03cdf5d0 .
7 years ago
Sam Brannen
1c5b949df0
Fix ViewResolutionResultHandlerTests
...
See gh-23572
7 years ago
Sam Brannen
513ce7824f
Disable StreamingSimpleClientHttpRequestFactoryTests.interceptor() test
7 years ago
Brian Clozel
1b6814402c
Publish Gradle metadata
...
This commit enables the publishing of Gradle metadata with Spring
Framework artifacts. This feature will be enabled by default with Gradle
6.0, so Spring Framework will consistently push this information in the
5.2.x generation.
Fixes gh-23503
7 years ago
Sebastien Deleuze
f8516c69bf
Add Kotlin code snippets to data access refdoc
...
See gh-21778
7 years ago
Sam Brannen
652db21d3e
Ensure Hamcrest imports are properly banned
7 years ago
Arjen Poutsma
4c863f3f83
Revise documentation on using WebClient::exchange
...
This commit revised the paragraph regarding the need to consume or
release the ClientResponse body when using WebClient::exchange.
Closes gh-23498
7 years ago
Arjen Poutsma
37398c669c
Add toBodilessEntity to ClientResponse and WebClient.ResponseSpec
...
See gh-23498
7 years ago
Arjen Poutsma
f5640cbfe0
Add ClientResponse::releaseBody
...
See gh-23498
7 years ago
Sam Brannen
bc869657c8
Partially revert 670cbb9aed
...
... but continue to execute `Abstract*Tests` classes.
7 years ago
Sam Brannen
23d5c6e3dc
Do not scan for test classes in default test task
7 years ago
Sam Brannen
c78960a1ba
Merge branch '5.1.x'
7 years ago
Sam Brannen
f37ec90f2f
Consider Void.class a primitive wrapper in ClassUtils
...
Prior to this commit, ClassUtils.isPrimitiveOrWrapper() and
ClassUtils.isPrimitiveWrapper() did not return true for Void.class.
However, ClassUtils.isPrimitiveOrWrapper() did return true for
void.class. This lacking symmetry is inconsistent and can lead to bugs
in reflective code.
See: https://github.com/spring-projects/spring-data-r2dbc/issues/159
This commit addresses this by adding an entry for Void.class -> void.class
in the internal primitiveWrapperTypeMap in ClassUtils.
Closes gh-23572
7 years ago
Rossen Stoyanchev
32a585d100
Merge pull request #23485
7 years ago
Rossen Stoyanchev
d927d31e13
Remove reflection from ContentDispositionTests
...
Also minor refactoring in decoding in order to tolerate the absence of
a charset and treat as US_ASCII.
See gh-23485
7 years ago
Rossen Stoyanchev
c97580035e
Polish ContentDispositionTests
...
Closes gh-23485
7 years ago
Jonathan Bluett-Duncan
f084b63286
Fix "array index out of bounds" problem reported by LGTM.com
7 years ago
Sam Brannen
670cbb9aed
Simplify Gradle test task configuration
...
As an added bonus, AbstractViewTests is now executed in the build.
7 years ago
Sam Brannen
280a1b8880
Make AbstractWebRequestMatcherTests abstract
7 years ago
Sam Brannen
2c44eabe41
Remove unnecessary dependency declarations in spring-test
7 years ago
Sam Brannen
bb03cdf5d0
Remove global test dependency on Hamcrest
...
Hamcrest is now only used within spring-test for MockMvc support.
7 years ago
Sam Brannen
bf758eab33
Fix assertion in HandlerMethodMappingTests.unregisterMapping()
7 years ago
Sam Brannen
e79bda164e
Polish build.gradle
7 years ago
Sam Brannen
5fd81d2a26
Avoid deprecation warning in AbstractMockWebServerTests
...
MockResponse.setHeaders(Headers) is now deprecated.
7 years ago
Brian Clozel
926c385800
Upgrade to AssertJ 3.13.2
7 years ago
Brian Clozel
47f39965bf
Upgrade to Tomcat 9.0.24
7 years ago
Brian Clozel
78c5c7aa9c
Upgrade to Log4J 2.12.1
7 years ago
Brian Clozel
859450cf68
Upgrade to Joda time 2.10.3
7 years ago
Brian Clozel
a986be3e32
Upgrade to ehcache 2.10.6
7 years ago
Brian Clozel
1b6440c2c1
Upgrade to Caffeine 2.8.0
7 years ago
Brian Clozel
e60d48daae
Upgrade to hessian 4.0.62
7 years ago
Brian Clozel
829e9f5d92
Upgrade to okhttp3 4.1.0
7 years ago