• Phillip Webb's avatar
    Migrate existing tests from deprecated package · 2f815a90
    Phillip Webb authored
    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
    2f815a90
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...