Johnny Lim
9a6ce66bd9
Add a missing single quote in assertion message
6 years ago
Sam Brannen
73dbd06361
Enforces static imports for JUnit 4 assertions and assumptions
...
This commit configures Checkstyle to enforces static imports for JUnit 4
assertions and assumptions.
See gh-22932
6 years ago
Sam Brannen
deecab6311
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
724c805211
Discontinue use of JUnit 3 APIs
...
This commit also ensures that the JSR-330 TCK is executed with the
normal build by adhering to naming conventions for test classes.
See gh-22894
6 years ago
Sam Brannen
5685e9dfa3
Add Checkstyle rules for deprecated JUnit APIs
...
This commit adds Checkstyle rules to disallow imports of the following.
- junit.framework.*
- org.junit.Assert.assertThat
- org.junit.Assume.assumeThat
See gh-22894
6 years ago
Sam Brannen
9e1ed6c771
Fix build on JDK 9+
6 years ago
Sam Brannen
da1b004254
Merge branch '5.1.x'
6 years ago
Sam Brannen
e1b0bf22bf
Polish Javadoc for AssertionErrors
...
See gh-22932
6 years ago
Sam Brannen
33fcde4c3e
Merge branch '5.1.x'
6 years ago
Sam Brannen
233b225b4f
Remove JUnit dependency from HeaderResultMatchers
...
Prior to this commit, HeaderResultMatchers had a direct dependency on
org.junit.Assert which forces JUnit 4 to be present on the classpath.
This commit fixes this by introducing assertNotNull() in
org.springframework.test.util.AssertionErrors and delegating to that
instead.
Fixes gh-22932
6 years ago
Sam Brannen
6ef7d7124e
Clean up warnings
6 years ago
Sam Brannen
64819bbc1d
Clean up warnings
6 years ago
Sam Brannen
0cff7eb32c
Fix Javadoc links
6 years ago
Sam Brannen
9b61316c2e
Clean up warnings in spring-web
6 years ago
Stephane Nicoll
f188aab5f2
Merge branch '5.1.x'
6 years ago
Stephane Nicoll
8c77d0b70d
Merge pull request #22941 from chenqimiao
...
* pr/22941:
Fix typo in package-info.java
6 years ago
chenqimiao
e3137f11df
Fix typo in package-info.java
...
Closes gh-22941
6 years ago
Stephane Nicoll
6d69a4e03a
Merge branch '5.1.x'
6 years ago
Stephane Nicoll
4430ec7d2d
Merge pull request #22938 from crewmanmud
...
* pr/22938:
Fix typo
6 years ago
Andrew McCallum
9294b1d7eb
Fix typo
...
Closes gh-22938
6 years ago
Stephane Nicoll
4606209ad4
Merge branch '5.1.x'
6 years ago
Spring Buildmaster
f4380e3040
Next Development Version
6 years ago
Sam Brannen
d8f1d56100
Fix broken test
6 years ago
Sam Brannen
1be29d5933
Document automatic constructor injection in JUnit Jupiter
...
Closes gh-22928
6 years ago
Sebastien Deleuze
c601ecf169
Merge branch '5.1.x'
6 years ago
Sebastien Deleuze
c8d49ed284
Fix EncoderHttpMessageWriter.isStreamingMediaType()
...
Closes gh-22936
6 years ago
Juergen Hoeller
0b50d1eff3
Merge branch '5.1.x'
6 years ago
Denis Zavedeev
484ec64305
Minor integration doc refinements
6 years ago
Denis Zavedeev
c80028b71e
Fix trivial errors in `integration.adoc`
6 years ago
Sam Brannen
8e29eca1eb
Merge branch '5.1.x'
6 years ago
Sam Brannen
59fdce1116
Fix bug in EncoderHttpMessageWriter.isStreamingMediaType()
6 years ago
Sam Brannen
e465f51d56
Suppress deprecation warnings
6 years ago
Sam Brannen
dc1c110288
Delete dead code
6 years ago
Rossen Stoyanchev
fd48bf1dbe
Merge branch '5.1.x'
6 years ago
Rossen Stoyanchev
c717d245bd
Upgrade to Californium-SR8
6 years ago
Rossen Stoyanchev
ed61f44545
Upgrade to Disprosium-M1
...
Closes gh-22930
6 years ago
Rossen Stoyanchev
06c3a058f4
Use most recent RSocket RC for M2 release
6 years ago
Juergen Hoeller
8b08b6812a
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
190b751147
Support any HttpEntity implementing ResolvableTypeProvider
...
Closes gh-22931
6 years ago
Phillip Webb
798b51f4a3
Migrate to BDD Mockito
...
Migrate all tests to consistently use BDD Mockito. Also add
checksyle rule to enforce going forwards.
6 years ago
Phillip Webb
816bbee8de
Remove '.*' imports from tests
...
Organize test imports to expand all '.*' static imports into
fully qualified imports.
This update will allow us to use additional checkstyle rules in
the future, and will also help if we migrate fully to AssertJ.
6 years ago
Phillip Webb
1b985fb3da
Update static import limit in eclipse prefs
...
Update eclipse preferences so that static imports no longer use
`.*`.
6 years ago
Phillip Webb
66eb86f055
Delete unused Matchers class
...
Delete the `Matches` class since it's no longer being used.
6 years ago
Juergen Hoeller
c4a95c99e5
Upgrade to Reactor Californium SR7
6 years ago
Juergen Hoeller
d3b713d5f0
Upgrade to Protobuf 3.7.1 and HtmlUnit 2.35
6 years ago
Juergen Hoeller
fb29088670
Revise LinkedCaseInsensitiveMap's lazy key/value/entry collections
...
Closes gh-22926
6 years ago
Juergen Hoeller
82d32f0875
Remove unused import
6 years ago
Sam Brannen
4038d590a1
Suppress deprecation warning in Gradle build
6 years ago
Rossen Stoyanchev
44659f4945
Unwrap Part content in asyncPart builder method
...
Closes gh-22876
6 years ago
Sam Brannen
6a05b97df3
Log identity hash for ApplicationContext for context cache hits/misses
...
DefaultCacheAwareContextLoaderDelegate now logs the identity hash code
for an application context instance that was stored in or retrieved from
the context cache in the Spring TestContext Framework.
Closes gh-22925
6 years ago