Commit Graph

22777 Commits (b605cddb10b05cd4c35d67208a617b3eea1ed3c0)
 

Author SHA1 Message Date
Stephane Nicoll 56ce2b8e3f Polish "Add metrics support for idle jdbc connections"
See gh-17504
5 years ago
ayudovin 9acc02b5cc Add metrics support for idle jdbc connections
See gh-17504
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 9d85dbad66 Merge pull request #17537 from EugeneMsv
* pr/17537:
  Polish "Add reference to amqp-rabbit-spring-boot-autoconfigure"
  Add reference to amqp-rabbit-spring-boot-autoconfigure

Closes gh-17537
5 years ago
Stephane Nicoll f32020aaad Polish "Add reference to amqp-rabbit-spring-boot-autoconfigure"
See gh-17537
5 years ago
EugeneMsv e632ea706d Add reference to amqp-rabbit-spring-boot-autoconfigure
See gh-17537
5 years ago
Stephane Nicoll cc6f321da4 Improve detection of NoSuchMethodError on Java 13
Closes gh-17544
5 years ago
Stephane Nicoll 3a49996dbd Merge branch '2.1.x'
Closes gh-17547
5 years ago
Stephane Nicoll a64317b114 Fix broken link to Spring Integration metrics section
Closes gh-17543
5 years ago
Andy Wilkinson 73f7a9318f Merge branch '2.1.x'
Closes gh-17546
5 years ago
Andy Wilkinson e84477cfe2 Only perform Quartz DataSource init when using JDBC store
Fixes gh-17545
5 years ago
Phillip Webb 74d00354f5 Refine BuildInfoMojo time property
Update `BuildInfoMojo` so that the time property now defaults to
`${session.request.startTime}` rather than the time the Mojo was
created. Also update javadoc to make it clear that any supplied
value will be passed to `Instant.parse`.

See gh-17390
5 years ago
Stephane Nicoll 9f090c4fb6 Merge pull request #17514 from vpavic
* pr/17514:
  Polish "Add support for configuring Spring Session SaveMode"
  Add support for configuring Spring Session SaveMode

Closes gh-17514
5 years ago
Stephane Nicoll 1f7615a964 Polish "Add support for configuring Spring Session SaveMode"
See gh-17514
5 years ago
Vedran Pavic e073792448 Add support for configuring Spring Session SaveMode
See gh-17514
5 years ago
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