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 |
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
|
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 |