From 87bf5b1c036e077b0dea442ff38952b56260e615 Mon Sep 17 00:00:00 2001 From: running13 Date: Sat, 13 May 2023 20:05:15 +0800 Subject: [PATCH] upgrade to junit5 --- agent/pom.xml | 9 +++++++-- arthas-agent-attach/pom.xml | 9 +++++++-- arthas-vmtool/pom.xml | 9 +++++++-- boot/pom.xml | 9 +++++++-- core/pom.xml | 9 +++++++-- memorycompiler/pom.xml | 9 +++++++-- pom.xml | 9 +++++---- testcase/pom.xml | 10 ++++++++-- tunnel-server/pom.xml | 9 +++++++-- 9 files changed, 62 insertions(+), 20 deletions(-) diff --git a/agent/pom.xml b/agent/pom.xml index 5752d7bae45..06b5fa17f92 100644 --- a/agent/pom.xml +++ b/agent/pom.xml @@ -19,8 +19,13 @@ provided - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/arthas-agent-attach/pom.xml b/arthas-agent-attach/pom.xml index 8c1464bc5fa..b9ac2c27db0 100644 --- a/arthas-agent-attach/pom.xml +++ b/arthas-agent-attach/pom.xml @@ -28,8 +28,13 @@ zt-zip - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/arthas-vmtool/pom.xml b/arthas-vmtool/pom.xml index e4a03915623..ac8e1dd3481 100644 --- a/arthas-vmtool/pom.xml +++ b/arthas-vmtool/pom.xml @@ -268,8 +268,13 @@ ${project.version} - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/boot/pom.xml b/boot/pom.xml index 56c9a559ab8..0f2090a4017 100644 --- a/boot/pom.xml +++ b/boot/pom.xml @@ -22,8 +22,13 @@ cli - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/core/pom.xml b/core/pom.xml index dbd3f7cb863..52a01d2be62 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -212,8 +212,13 @@ ognl - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/memorycompiler/pom.xml b/memorycompiler/pom.xml index d20283e04c7..754cc453263 100644 --- a/memorycompiler/pom.xml +++ b/memorycompiler/pom.xml @@ -30,8 +30,13 @@ - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test diff --git a/pom.xml b/pom.xml index f2d72f5b6e5..0c9aa9126d4 100644 --- a/pom.xml +++ b/pom.xml @@ -156,10 +156,11 @@ 3.1.19 - junit - junit - 4.13.1 - test + org.junit + junit-bom + 5.9.3 + pom + import org.assertj diff --git a/testcase/pom.xml b/testcase/pom.xml index 73b635d40c4..27b6ac4c42e 100644 --- a/testcase/pom.xml +++ b/testcase/pom.xml @@ -13,8 +13,14 @@ - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine + test diff --git a/tunnel-server/pom.xml b/tunnel-server/pom.xml index 48960e41263..bc1ca2ccc8e 100644 --- a/tunnel-server/pom.xml +++ b/tunnel-server/pom.xml @@ -88,8 +88,13 @@ - junit - junit + org.junit.jupiter + junit-jupiter + test + + + org.junit.vintage + junit-vintage-engine test