Skip to content

Commit 76d44d8

Browse files
committed
upgrade junit to junit5 and batch modify test case
1 parent 9ae403e commit 76d44d8

File tree

2 files changed

+2
-51
lines changed

2 files changed

+2
-51
lines changed

dubbo-all/pom.xml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,6 @@
397397
</dependency>
398398

399399
<!-- Temporarily add this part to exclude transitive dependency -->
400-
<dependency>
401-
<groupId>org.junit.jupiter</groupId>
402-
<artifactId>junit-jupiter-api</artifactId>
403-
<version>${junit_jupiter_version}</version>
404-
<scope>test</scope>
405-
</dependency>
406400
<dependency>
407401
<groupId>org.junit.jupiter</groupId>
408402
<artifactId>junit-jupiter-engine</artifactId>
@@ -415,24 +409,6 @@
415409
<version>${junit_jupiter_version}</version>
416410
<scope>test</scope>
417411
</dependency>
418-
<dependency>
419-
<groupId>org.junit.platform</groupId>
420-
<artifactId>junit-platform-launcher</artifactId>
421-
<version>${junit_paltform_version}</version>
422-
<scope>test</scope>
423-
</dependency>
424-
<dependency>
425-
<groupId>org.junit.platform</groupId>
426-
<artifactId>junit-platform-engine</artifactId>
427-
<version>${junit_paltform_version}</version>
428-
<scope>test</scope>
429-
</dependency>
430-
<dependency>
431-
<groupId>org.junit.platform</groupId>
432-
<artifactId>junit-platform-commons</artifactId>
433-
<version>${junit_paltform_version}</version>
434-
<scope>test</scope>
435-
</dependency>
436412
<dependency>
437413
<groupId>cglib</groupId>
438414
<artifactId>cglib-nodep</artifactId>

pom.xml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
<properties>
9090
<!-- Test libs -->
9191
<junit_jupiter_version>5.4.0-M1</junit_jupiter_version>
92-
<junit_paltform_version>1.4.0-M1</junit_paltform_version>
9392
<hazelcast_version>3.9-EA</hazelcast_version>
9493
<hamcrest_version>1.3</hamcrest_version>
9594
<hibernate_validator_version>5.2.4.Final</hibernate_validator_version>
@@ -162,12 +161,6 @@
162161
</dependencyManagement>
163162

164163
<dependencies>
165-
<dependency>
166-
<groupId>org.junit.jupiter</groupId>
167-
<artifactId>junit-jupiter-api</artifactId>
168-
<version>${junit_jupiter_version}</version>
169-
<scope>test</scope>
170-
</dependency>
171164
<dependency>
172165
<groupId>org.junit.jupiter</groupId>
173166
<artifactId>junit-jupiter-engine</artifactId>
@@ -180,24 +173,6 @@
180173
<version>${junit_jupiter_version}</version>
181174
<scope>test</scope>
182175
</dependency>
183-
<dependency>
184-
<groupId>org.junit.platform</groupId>
185-
<artifactId>junit-platform-launcher</artifactId>
186-
<version>${junit_paltform_version}</version>
187-
<scope>test</scope>
188-
</dependency>
189-
<dependency>
190-
<groupId>org.junit.platform</groupId>
191-
<artifactId>junit-platform-engine</artifactId>
192-
<version>${junit_paltform_version}</version>
193-
<scope>test</scope>
194-
</dependency>
195-
<dependency>
196-
<groupId>org.junit.platform</groupId>
197-
<artifactId>junit-platform-commons</artifactId>
198-
<version>${junit_paltform_version}</version>
199-
<scope>test</scope>
200-
</dependency>
201176
<dependency>
202177
<groupId>org.hamcrest</groupId>
203178
<artifactId>hamcrest-all</artifactId>
@@ -541,12 +516,12 @@
541516
<!-- keep surefire and failsafe in sync -->
542517
<plugin>
543518
<artifactId>maven-surefire-plugin</artifactId>
544-
<version>3.0.0-M3</version>
519+
<version>2.22.1</version>
545520
</plugin>
546521
<!-- keep surefire and failsafe in sync -->
547522
<plugin>
548523
<artifactId>maven-failsafe-plugin</artifactId>
549-
<version>3.0.0-M3</version>
524+
<version>2.22.1</version>
550525
</plugin>
551526
<plugin>
552527
<artifactId>maven-clean-plugin</artifactId>

0 commit comments

Comments
 (0)