Phillip Webb
a506d2bdb5
Fix merge commit error in header
8 months ago
Phillip Webb
2143d702f2
Polish boolean members that can use the default `false` value
8 months ago
Yanming Zhou
0a1c9060c5
Polish ternary operator
...
See gh-45156
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
8 months ago
Phillip Webb
935d759754
Fix 'Protect against empty OS string in Docker `Image`' logic
...
See gh-45152
8 months ago
Phillip Webb
c071f56653
Protect against empty OS string in Docker `Image`
...
Update `Image` to protect against `os` being `null` or and empty
String.
Fixes gh-45152
8 months ago
Stéphane Nicoll
b4c6c55493
Allow ResourcesClassLoader to participate in CGLIB's cache
...
This commit updates ResourcesClassLoader to be a SmartClassLoader and
expose the original ClassLoader. This has the effect of making sure
proxies that are created by CGLIB can be reused against different tests
rather than having CGLIB trying to define the class again and fail.
Closes gh-45065
8 months ago
Phillip Webb
46b14de6e9
Polish 'Handle generics with identical names in different positions'
...
See gh-45011
9 months ago
Dmytro Nosan
e24fd50615
Handle generics with identical names in different positions
...
Update `TypeUtils` to handle generics with identical names in different
positions.
See gh-45011
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
9 months ago
Moritz Halbritter
97ed923e50
Explicitly set Host header when using LocalHttpClientTransport
...
Closes gh-45028
9 months ago
Phillip Webb
88e8c17369
Update copyright year of changed files
9 months ago
Andy Wilkinson
4f91d41666
Source version properties for Maven plugin tests from resolved bom
...
Closes gh-44886
9 months ago
Andy Wilkinson
7d9bbb685e
Remove unused dependenciesBom configuration
...
Closes gh-44883
9 months ago
Stéphane Nicoll
cd726b27cd
Switch to a Hazelcast container that works on latest ARM CPUs
...
Closes gh-44838
9 months ago
Moritz Halbritter
6b9cd873ca
Use gvenzl/oracle-free:23.6-slim which has ARM64 support
...
See gh-35249
9 months ago
youngjin_dev
a164dab25d
Fix Integer conversion in getProgress() method
...
See gh-44718
Signed-off-by: youngjin_dev <qazkyj0310@gmail.com>
9 months ago
Phillip Webb
109e4c8572
Update copyright year of changed files
9 months ago
Phillip Webb
896b5767fe
Polish
9 months ago
Andy Wilkinson
9b15b4bce9
Consolidate mock web server factories
...
Closes gh-44674
9 months ago
Moritz Halbritter
e7f8b22479
Enable platform mismatch test again
...
We now try to pull linux/arm64. The image only exists for linux/amd64, which should
throw the platform mismatch exception.
See gh-44059
9 months ago
Moritz Halbritter
8fca1dbb6f
Disable test until further investigation
...
See gh-44059
9 months ago
Moritz Halbritter
24854f469c
Use single-arch image to test platform mismatch detection
...
See gh-44059
10 months ago
Moritz Halbritter
d93f4f5554
Throw exception if pulled image platform doesn't match the requested platform
...
Closes gh-44059
10 months ago
Moritz Halbritter
5ec099756f
Fix potential NPE when passing 'null' as params
10 months ago
Moritz Halbritter
a807a07a59
Always try to deserialize message in case of Docker transport errors
...
Before this commit, if the status code was 4xx or 500, we tried to read the errors
object, consuming the http entity. When we tried to deserialize the message,
the http entity was already consumed, an IOException has been thrown and null
is returned for the message.
Now, we read the content in a byte[] and deserialize the errors and the message
from that. This ensures that we can read both the errors and the message.
Closes gh-44628
10 months ago
Andy Wilkinson
1f5b9de302
Normalize the separator in resource names
...
See gh-44444
10 months ago
Andy Wilkinson
5683d39fd6
Allow resources to hide existing resources with the same name
...
See gh-44444
10 months ago
Tran Ngoc Nhan
701f73fcd7
Fix JavaExec javadoc link
...
See gh-44526
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Dmitry Sulman
7276be825a
Update version of Neo4j test container image
...
See gh-44463
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
10 months ago
Dmitry Sulman
c98f9ac126
Update version of Elasticsearch test container image
...
See gh-44459
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
10 months ago
Andy Wilkinson
3acea583ad
Add support for working with resources in tests
...
Closes gh-44444
10 months ago
Tran Ngoc Nhan
d781ce164d
Use Javadoc attributes for Gradle reference guide
...
See gh-44388
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Dmytro Nosan
e919fd806f
Polish ClassPath
...
See gh-44355
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
10 months ago
Phillip Webb
8c6e856340
Fix formatting
10 months ago
Phillip Webb
082c5859e8
Polish
10 months ago
Phillip Webb
8aea6d575a
Update copyright year of changed files
10 months ago
Dmytro Nosan
0e81b6386e
Don't use ArgFile when using JavaCompiler
...
See gh-44340
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
10 months ago
Dmytro Nosan
616d4cb149
Polish ClasspathBuilder
...
See gh-44330
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
10 months ago
Stéphane Nicoll
29e498b6bc
Only run Windows-related tests on Windows
...
See gh-44305
10 months ago
Stéphane Nicoll
cd8c12da0b
Polish "Use ArgFile for classpath argument on Windows"
...
See gh-44305
10 months ago
Dmytro Nosan
a6b80831f0
Use ArgFile for classpath argument on Windows
...
This commit uses @argfile syntax for classpath argument on Windows OS
to avoid creating a command-line that is too long.
See gh-44305
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
10 months ago
Andy Wilkinson
2e00552130
Move MockPkcs11Security to spring-boot-testsupport
...
Closes gh-44260
10 months ago
Andy Wilkinson
30d7af4e38
Add CI with Java 24
...
Closes gh-44205
10 months ago
Stéphane Nicoll
ff6168cde7
Upgrade to Native Build Tools Plugin 0.10.5
...
Closes gh-44179
10 months ago
Moritz Halbritter
4fbbc3eda1
Clean up duplicate JsonView entry
11 months ago
Moritz Halbritter
461e30f668
Add JsonView to PluginClasspathGradleBuild
11 months ago
Stéphane Nicoll
b46698774d
Upgrade to Native Build Tools Plugin 0.10.5
...
Closes gh-44141
11 months ago
Andy Wilkinson
4b8d5f22de
Remove Java 8-specific build configuration that will never apply
...
With our Java 17 baseline, the build configuration that is only
applicable when building with Java 8 will never be used. This commit
removes it.
Closes gh-44129
11 months ago
Phillip Webb
80e8ab8779
Support commercial repositories in effective BOM and Ivy
...
Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.
Closes gh-44050
11 months ago
Andy Wilkinson
86818b0e45
Ensure that junit-platform-launcher is on classpath
...
When testing with Gradle 7.6, junit-platform-launcher won't be
on the test runtime classpath unless it's declared as a dependency.
When testing with Gradle 8.x the dependency is added implicitly but
starting with Gradle 8.3 relying on this will result in a warning.
When junit-platform-launcher is absent, a failure occurs when testing
with Gradle as the class loader structure is such that JUnit tries
to load any test execution listeners, finds the listener declared in
spring-boot-actuator-autoconfigure but cannot then load the
implemented TestExecutionListener interface.
This problem is addressed by augmenting the component metadata for
spring-boot-starter-test to add a dependency on
junit-platform-launcher. This addresses the problem with
spring-boot-actuator-autoconfigure while also addressing a warning
with Gradle 8.3+.
Closes gh-43340
11 months ago
Andy Wilkinson
ca3fbb26a2
Mention system libraries as a reason not to use tiny builder
...
Closes gh-43716
12 months ago