Skip to content

Commit f50fc2a

Browse files
earth001KevinGilmore
authored andcommitted
Move src to spring-testing module (eugenp#6375)
1 parent 6f71b21 commit f50fc2a

6 files changed

Lines changed: 14 additions & 7 deletions

File tree

‎spring-5/pom.xml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@
8989
<groupId>org.junit.jupiter</groupId>
9090
<artifactId>junit-jupiter-api</artifactId>
9191
</dependency>
92-
<dependency>
93-
<groupId>org.awaitility</groupId>
94-
<artifactId>awaitility</artifactId>
95-
<version>${awaitility.version}</version>
96-
<scope>test</scope>
97-
</dependency>
9892
<!-- restdocs -->
9993
<dependency>
10094
<groupId>org.springframework.restdocs</groupId>
@@ -162,7 +156,6 @@
162156
<commons-collections4.version>4.1</commons-collections4.version>
163157
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
164158
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
165-
<awaitility.version>3.1.6</awaitility.version>
166159
</properties>
167160

168161
</project>

‎testing-modules/spring-testing/pom.xml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@
5454
<artifactId>spring-data-jpa</artifactId>
5555
<version>LATEST</version>
5656
</dependency>
57+
<dependency>
58+
<groupId>org.junit.jupiter</groupId>
59+
<artifactId>junit-jupiter</artifactId>
60+
<version>${junit.jupiter.version}</version>
61+
<scope>test</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.awaitility</groupId>
65+
<artifactId>awaitility</artifactId>
66+
<version>${awaitility.version}</version>
67+
<scope>test</scope>
68+
</dependency>
5769
</dependencies>
5870

5971
<build>
@@ -70,6 +82,8 @@
7082
<properties>
7183
<!-- testing -->
7284
<hamcrest.version>2.0.0.0</hamcrest.version>
85+
<awaitility.version>3.1.6</awaitility.version>
86+
<junit.jupiter.version>5.4.0</junit.jupiter.version>
7387
</properties>
7488

7589
</project>

spring-5/src/main/java/com/baeldung/config/ScheduledConfig.java renamed to testing-modules/spring-testing/src/main/java/com/baeldung/config/ScheduledConfig.java

File renamed without changes.

spring-5/src/main/java/com/baeldung/scheduled/Counter.java renamed to testing-modules/spring-testing/src/main/java/com/baeldung/scheduled/Counter.java

File renamed without changes.

spring-5/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java renamed to testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledAwaitilityIntegrationTest.java

File renamed without changes.

spring-5/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java renamed to testing-modules/spring-testing/src/test/java/com/baeldung/scheduled/ScheduledIntegrationTest.java

File renamed without changes.

0 commit comments

Comments
 (0)