Madhura Bhave
1db1c8b03c
Validate our own tests work with JUnit5 and the vintage engine
...
Closes gh-14737
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Phillip Webb
ad7eebee9e
Merge branch '2.1.x'
6 years ago
Phillip Webb
f12ab1ff90
Update copyright header of changed files
6 years ago
Madhura Bhave
35d7fccb33
Update samples to use configuration properties scanning
...
Closes gh-12602
6 years ago
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
4b6bddd476
Merge branch '1.4.x' into 1.5.x
6 years ago
Andy Wilkinson
6920c39349
Merge branch '1.3.x' into 1.4.x
6 years ago
Andy Wilkinson
0e009ef047
Use HTTPS to link to the Apache license
6 years ago
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
6 years ago
Phillip Webb
21d80d87a3
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
e69296d7d3
Fix checkstyle violations in samples
7 years ago
Phillip Webb
adfb6dc128
Polish
7 years ago
Madhura Bhave
d65f9b25bc
Remove redundant throws Exception
7 years ago
Phillip Webb
c55b5d7111
Polish
7 years ago
Madhura Bhave
d745b69630
Replace usages of EnvironmentTestUtils
8 years ago
Madhura Bhave
829ab59757
Use new configuration properties in samples
...
Update `spring-boot-samples` to use the new configuration properties
support.
See gh-9000
8 years ago
Andy Wilkinson
be33827f49
Simplify property validation sample and document need for static bean method
...
Closes gh-6627
8 years ago
Phillip Webb
2f815a907a
Migrate existing tests from deprecated package
...
Update the existing tests to use the relocated `spring-boot-test`
classes. Restructuring was achieved using the following command:
find . -type f -name '*.java' -exec sed -i '' \
-e s/org.springframework.boot.test.ConfigFileApplicationContextInitializer/\
org.springframework.boot.test.context.ConfigFileApplicationContextInitializer/g \
-e s/org.springframework.boot.test.EnvironmentTestUtils/\
org.springframework.boot.test.util.EnvironmentTestUtils/g \
-e s/org.springframework.boot.test.IntegrationTest/\
org.springframework.boot.test.context.IntegrationTest/g \
-e s/org.springframework.boot.test.IntegrationTestPropertiesListener/\
org.springframework.boot.test.context.IntegrationTestPropertiesListener/g \
-e s/org.springframework.boot.test.OutputCapture/\
org.springframework.boot.test.rule.OutputCapture/g \
-e s/org.springframework.boot.test.SpringApplicationConfiguration/\
org.springframework.boot.test.context.SpringApplicationConfiguration/g \
-e s/org.springframework.boot.test.SpringApplicationContextLoader/\
org.springframework.boot.test.context.SpringApplicationContextLoader/g \
-e s/org.springframework.boot.test.SpringBootMockServletContext/\
org.springframework.boot.test.mock.web.SpringBootMockServletContext/g \
-e s/org.springframework.boot.test.TestRestTemplate/\
org.springframework.boot.test.web.client.TestRestTemplate/g \
-e s/org.springframework.boot.test.WebIntegrationTest/\
org.springframework.boot.test.context.web.WebIntegrationTest/g {} \;
See gh-5293
9 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
9 years ago
Phillip Webb
1cc1fc6431
Use AssertJ in spring-boot-samples
...
See gh-5083
9 years ago
Phillip Webb
634bb770b2
Organize imports with new settings
...
See gh-4234
9 years ago
Phillip Webb
c9fb9916b8
Reformat code using Eclipse Mars
9 years ago
Stephane Nicoll
bfe930a873
Auto-configure @EnableConfigurationProperties
...
Add an auto-configuration that avoid a Spring Boot user to add
`@EnableConfigurationProperties` to its configuration to benefit from
that feature.
As our own auto-configurations are tested independently, such annotation
is still present to avoid a useless reference to this new
auto-configuration.
Closes gh-2457
9 years ago
Phillip Webb
891dd5a0f6
Polish
9 years ago
Stephane Nicoll
80754d5cc2
Polish
...
Closes gh-3534
9 years ago
Lucas Saldanha
bf303b02f7
Add configuration properties validation sample
...
Create a new project sample that demonstrate the usage of
@ConfigurationProperties with configurationPropertiesValidator.
Fixes gh-3513
9 years ago