Skip to content

Commit 5338078

Browse files
committed
Move tests that use Tomcat out of spring-boot-test
1 parent 95e9067 commit 5338078

File tree

26 files changed

+23
-3
lines changed

26 files changed

+23
-3
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ include "spring-boot-project:spring-boot-docs"
6868
include "spring-boot-project:spring-boot-test"
6969
include "spring-boot-project:spring-boot-testcontainers"
7070
include "spring-boot-project:spring-boot-test-autoconfigure"
71+
include "spring-boot-project:spring-boot-test-integration-tests"
7172
include "spring-boot-project:spring-boot-tomcat"
7273
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests"
7374
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
plugins {
2+
id "java"
3+
}
4+
5+
description = "Spring Boot Test Integration Tests"
6+
7+
dependencies {
8+
testImplementation(project(":spring-boot-project:spring-boot-test"))
9+
testImplementation(project(":spring-boot-project:spring-boot-tomcat"))
10+
testImplementation("org.assertj:assertj-core")
11+
testImplementation("org.junit.jupiter:junit-jupiter")
12+
testImplementation("org.mockito:mockito-core")
13+
testImplementation("org.springframework:spring-test")
14+
testImplementation("org.springframework:spring-webflux")
15+
testImplementation("org.springframework:spring-webmvc")
16+
testImplementation("org.springframework.graphql:spring-graphql-test")
17+
18+
testRuntimeOnly("ch.qos.logback:logback-classic")
19+
testRuntimeOnly("com.fasterxml.jackson.core:jackson-databind")
20+
}

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/AbstractSpringBootTestEmbeddedReactiveWebEnvironmentTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/AbstractSpringBootTestEmbeddedReactiveWebEnvironmentTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/AbstractSpringBootTestWebServerWebEnvironmentTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/AbstractSpringBootTestWebServerWebEnvironmentTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentDefinedPortTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentDefinedPortTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentRandomPortTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentRandomPortTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentUserDefinedTestRestTemplateTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestReactiveWebEnvironmentUserDefinedTestRestTemplateTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestUserDefinedTestRestTemplateTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestUserDefinedTestRestTemplateTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestWebEnvironmentContextHierarchyTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestWebEnvironmentContextHierarchyTests.java

File renamed without changes.

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestWebEnvironmentDefinedPortTests.java renamed to spring-boot-project/spring-boot-test-integration-tests/src/test/java/org/springframework/boot/test/context/SpringBootTestWebEnvironmentDefinedPortTests.java

File renamed without changes.

0 commit comments

Comments
 (0)