Phillip Webb
6675f49334
Switch to multi-line security configuration
...
Now that we have lambda style security configuration we can further
improve readability by switching to one statement per line.
See gh-17525
5 years ago
Madhura Bhave
39a7b9da38
Switch to lambda style security configuration
...
Closes gh-17525
5 years ago
Phillip Webb
8bc780762a
Merge branch '2.1.x'
5 years ago
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
5 years ago
Dmytro Nosan
9d052bbe5e
Include WebFilter beans in WebFluxTest slice
...
See gh-17601
5 years ago
Dmytro Nosan
6859a89cf3
Include HandlerInterceptor beans in WebMvcTest slice
...
See gh-17600
5 years ago
Stephane Nicoll
e5ca9df478
Merge branch '2.1.x'
5 years ago
Stephane Nicoll
8eb6886388
Fix code formating
5 years ago
Stephane Nicoll
08afbe286c
Merge branch '2.1.x'
...
Closes gh-17580
5 years ago
Stephane Nicoll
b8d92cb0ae
Fix @DataJdbcTest to be transactional as advertized
...
Closes gh-17513
5 years ago
Stephane Nicoll
5903e9a57a
Polish
5 years ago
Phillip Webb
30b5ba87ae
Merge branch '2.0.x' into 2.1.x
5 years ago
Andy Wilkinson
808b373def
Merge branch '2.1.x'
...
Closes gh-17552
5 years ago
Andy Wilkinson
9dabc0e14d
Cleared deferred lines after each test
...
Previously, DeferredLinesWriter would collect MockMvc output from
every test that has executed. If a test eventually failed, the
output from every test up to including the one that had failed would
be output, rather than just the output for the test that has just
failed.
This commit clears the deferred lines after each test, thereby
ensuring that when a failure occurs only the lines from the failing
test are output.
Fixes gh-17551
5 years ago
Stephane Nicoll
a3e94f4412
Harmonize component scan in slice tests
...
This commit updates ConfigurationPropertiesScanRegistrar to apply the
same component scan filters than the ones applied on standard classpath
scanning.
As a result, configuration properties scanning is automatically disabled
in slice tests and can be included by an explicit import or a dedicated
TypeFilter implementation if necessary.
Closes gh-16659
5 years ago
Phillip Webb
eff1147ccc
Rename classpath runner package
...
Remove `runner` since we're no longer tied to JUnit 4.
See gh-17491
5 years ago
Phillip Webb
1117fdb2b3
Make ModifiedClassPathExtension package private
...
Meta-annotate `ClassPathExclusions` and `ClassPathOverrides` with
so that the `ModifiedClassPathExtension` no longer needs to be
used directly.
See gh-17491
5 years ago
Phillip Webb
4fe5e9e31e
Remove direct junit-platform-launcher dependency
...
Replace any direct `junit-platform-launcher` dependencies and instead
rely on the test runner providing it. Launcher related class are not
handled via reflection.
This update allows us to workaround SUREFIRE-1679.
Closes gh-17517
5 years ago
dreis2211
0f0278e69b
Migrate ModifiedClassPath tests to JUnit 5
...
Migrate the remaining JUnit 4 tests to JUnit 5, making use of the
new `ModifiedClassPathExtension`.
See gh-17491
5 years ago
dreis2211
ca1808ecae
Migrate to MockRestServiceServer
...
Migrate `RestClientTestWithoutJacksonIntegrationTests` to use
Spring's `MockRestServiceServer`.
See gh-17491
5 years ago
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
5 years ago
Phillip Webb
c3816bfe7b
Polish output capture names
5 years ago
Phillip Webb
a66c4d3096
Unify method visibility of private classes
...
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.
Closes gh-7316
5 years ago
Phillip Webb
605599138e
Merge branch '2.1.x'
5 years ago
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
5 years ago
Phillip Webb
c62b6b4ccd
Merge branch '2.1.x'
5 years ago
Phillip Webb
de35efd1ef
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
bb34846630
Merge branch '1.5.x' into 2.0.x
5 years ago
Stephane Nicoll
e560b7f6ba
Remove public modifier on JUnit5 lifecycle methods
...
See gh-17292
5 years ago
Andy Wilkinson
a189e4cf96
Merge branch '2.1.x'
...
Closes gh-17220
6 years ago
Andy Wilkinson
645514f848
Polish "Honour base path from @WebAppConfiguration in @WebMvcTest"
...
See gh-16485
6 years ago
Lorenzo Dee
7340d546b8
Honour base path from @WebAppConfiguration in @WebMvcTest
...
See gh-16485
6 years ago
Andy Wilkinson
78f51a490c
Merge branch '2.1.x'
...
Closes gh-17213
6 years ago
Andy Wilkinson
c2a4a3f630
Polish "Auto-configure caching in jOOQ sliced tests"
...
See gh-17066
6 years ago
Dmytro Nosan
4701d8f82a
Auto-configure caching in jOOQ sliced tests
...
See gh-17066
6 years ago
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
6 years ago
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
6 years ago
Andy Wilkinson
aef92b9295
Merge branch '2.1.x'
...
Closes gh-17079
6 years ago
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
6 years ago
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
d306b31ce9
Merge branch '2.1.x'
6 years ago
Phillip Webb
ccfbd03482
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
5fba43aa31
Merge branch '1.5.x' into 2.0.x
6 years ago
fidel
2ec0996a6f
Fix typo in javadoc
...
See gh-17044
6 years ago
Phillip Webb
0fcc561163
Update copyright header of changed files
6 years ago
Andy Wilkinson
0644a79401
Repackage output capture and always use extension declaratively
...
Closes gh-17029
6 years ago
Phillip Webb
ad5e905bd7
Update copyright header of changed files
6 years ago
Phillip Webb
68aec8b6ee
Polish
6 years ago