Commit Graph

22461 Commits (94c35ae1de7c1d85fd18e16fd4234a5801840b76)
 

Author SHA1 Message Date
Stephane Nicoll b7d349db83 Merge pull request #17507 from wonwoo
* pr/17507:
  Update documentation to use JUnit Jupiter

Closes gh-17507
5 years ago
wonwoo 93bcc3dcf5 Update documentation to use JUnit Jupiter
See gh-17507
5 years ago
Phillip Webb e5b596c162 Merge pull request #17522 from dreis2211
* pr/17522:
  Remove obsolete checkstyle suppressions

Closes gh-17522
5 years ago
dreis2211 38d5a52ac4 Remove obsolete checkstyle suppressions
See gh-17522
5 years ago
Phillip Webb b7227ec927 Merge pull request #17524 from dreis2211
* pr/17524:
  Polish testsupport.junit.platform package

Closes gh-17524
5 years ago
dreis2211 4ec035977b Polish testsupport.junit.platform package
See gh-17524
5 years ago
Phillip Webb 1d42f35585 Update copyright year eclipse setting 5 years ago
Andy Wilkinson cbc17c237b Make it easier to determine each servlet filter's order
Closes gh-17520
5 years ago
Andy Wilkinson 8aed06452d Allow custom resource handlers to provide favicon.ico
Closes gh-17381
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
Stephane Nicoll 6d9a54a24f Merge pull request #17519 from dreis2211
* pr/17519:
  Fix formatting in Couchbase smoke tests

Closes gh-17519
5 years ago
dreis2211 1c3031e4db Fix formatting in Couchbase smoke tests
See gh-17519
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 b6ec1332a0 Polish ModifiedClassPathClassLoader
Remove the `ModifiedClassPathClassLoaderFactory` in favor of
factory methods on `ModifiedClassPathClassLoader`.

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
Phillip Webb 543fcdbbfd Delete internal OutputCaptureRule
Delete our internal `OutputCaptureRule` since we not longer have any
tests using it.
5 years ago
Phillip Webb 4b744bdfd1 Merge pull request #17491 from dreis2211
* pr/17491:
  Delete ModifiedClassPathRunner
  Polish ModifiedClassPath support
  Migrate ModifiedClassPath tests to JUnit 5
  Add JUnit 5 ModifiedClassPathExtension
  Extract ModifiedClassPathClass logic
  Migrate to MockRestServiceServer
  Polish LoggingApplicationListenerTests
  Migrate to ApplicationContextRunner

Closes gh-17491
5 years ago
Phillip Webb 13b39cbbbf Delete ModifiedClassPathRunner
Delete `ModifiedClassPathRunner` since we no longer have any tests
that use it.

See gh-17491
5 years ago
Phillip Webb bd81bb90eb Polish ModifiedClassPath support
See gh-17491
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 2a4c48cb91 Add JUnit 5 ModifiedClassPathExtension
Add a JUnit 5 extension that allows tests to be run with a
modified classpath. Since JUnit 5 does not currently offer a way
to run tests with a different classpath, we instead fake the
original invocation and launch an entirely new run for each
method.

See gh-17491
5 years ago
dreis2211 90d824f6cb Extract ModifiedClassPathClass logic
Extract classes from `ModifiedClassPathRunner` so that they can
be reused.

See gh-17491
5 years ago
dreis2211 ca1808ecae Migrate to MockRestServiceServer
Migrate `RestClientTestWithoutJacksonIntegrationTests` to use
Spring's `MockRestServiceServer`.

See gh-17491
5 years ago
dreis2211 1bc9c8544e Polish LoggingApplicationListenerTests
See gh-17491
5 years ago
dreis2211 b0bf2dd7ab Migrate to ApplicationContextRunner
Migrate a new tests to use the `ApplicationContextRunner`.

See gh-17491
5 years ago
Phillip Webb 0cb6a7f47d Polish 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 cdf43a7489 Polish 5 years ago
Phillip Webb 8d4a2add63 Allow OutputCaptureRule to be used with AssertJ
Update `OutputCaptureRule` so that it now implements
`CapturedOutput` and can be used directly with AssertJ.

Closes gh-17512
5 years ago
Stephane Nicoll 79b29396d0 Merge branch '2.1.x'
Closes gh-17506
5 years ago
Stephane Nicoll 309329ace9 Merge pull request #17496 from dreis2211
* pr/17496:
  Test the Gradle Plugin against Gradle 5.5.1

Closes gh-17496
5 years ago
dreis2211 e9203a280c Test the Gradle Plugin against Gradle 5.5.1
See gh-17496
5 years ago
Stephane Nicoll e73f8c1008 Merge pull request #17505 from dreis2211
* pr/17505:
  Polish

Closes gh-17505
5 years ago
dreis2211 82047a2544 Polish
See gh-17505
5 years ago
Phillip Webb b7e092e821 Fix upstream RSocket method renames
Align with the recent upstream Spring Framework changes triggered by
their issue #23170.
5 years ago
Madhura Bhave 73cd1c9c77 Explicitly set release false for pre-release resource
Closes gh-17492
5 years ago
Madhura Bhave 6164e3efe8 Merge branch '2.1.x' 5 years ago
Madhura Bhave aebb60d8b8 Fix tests
Setting the log file name to a random value in smoke tests
doesn't work because the logger context has already been initialized.
5 years ago
Madhura Bhave d590c3ed10 Merge branch '2.1.x'
Closes gh-17486
5 years ago
Madhura Bhave 773dda3d55 Log file location should be evaluated just once
Using a random value for the logfile name caused
the logfile endpoint to return a 404 as the name
was resolved from the environment on every request.
This commit registers a bean for LogFile which is then
used by the logfile endpoint.

Fixes gh-17434
5 years ago
Andy Wilkinson dc0432665b Use ephemeral ports rather than 8080 in our tests
Closes gh-17025
5 years ago
Brian Clozel 906f7637ed Add synchronoss multipart dependency in webflux starter
Fixes gh-17484
5 years ago
Andy Wilkinson 9f2accbbc5 Merge pull request #17390 from nosan
* gh-17390:
  Allow build.time to be disabled so BuildInfoMojo's output is repeatable

Closes gh-17390
5 years ago
Dmytro Nosan 8dd9c6baa1 Allow build.time to be disabled so BuildInfoMojo's output is repeatable
See gh-17390
5 years ago
Andy Wilkinson 1fffe0ab3e Merge branch '2.1.x'
Closes gh-17482
5 years ago
Andy Wilkinson 7854876608 Merge pull request #17480 from nosan
* gh-17480:
  Polish AbstractDependsOnBeanFactoryPostProcessor

Closes gh-17480
5 years ago
Dmytro Nosan 93d0427fb5 Polish AbstractDependsOnBeanFactoryPostProcessor
See gh-17480
5 years ago
Andy Wilkinson 47f4bb0d64 Merge branch '2.1.x'
Closes gh-17481
5 years ago