You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/06/06 23:42:16 UTC
(commons-compress) branch master updated: Finish API port to JUnit 5
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new 1089c1100 Finish API port to JUnit 5
1089c1100 is described below
commit 1089c1100dabc3561df364ff977c2f1f4a935d4f
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 6 19:42:10 2025 -0400
Finish API port to JUnit 5
---
pom.xml | 4 ++--
.../apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java | 2 +-
.../apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java | 2 +-
.../org/apache/commons/compress/harmony/unpack200/ArchiveTest.java | 2 +-
.../org/apache/commons/compress/harmony/unpack200/SegmentTest.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index dbfcd919d..dc7fdab3f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,8 +101,8 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java
index 3a42b3104..2b4acf049 100644
--- a/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java
@@ -18,7 +18,7 @@
*/
package org.apache.commons.compress.archivers.cpio;
-import static org.junit.Assert.assertThrows;
+import static org.junit.jupiter.api.Assertions.assertThrows;
import org.junit.jupiter.api.Test;
diff --git a/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java b/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java
index 515dc0ad4..1e0af5b94 100644
--- a/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java
@@ -18,9 +18,9 @@
*/
package org.apache.commons.compress.archivers.dump;
-import static org.junit.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertThrows;
import java.io.IOException;
diff --git a/src/test/java/org/apache/commons/compress/harmony/unpack200/ArchiveTest.java b/src/test/java/org/apache/commons/compress/harmony/unpack200/ArchiveTest.java
index 0ceb6394a..2d1ce9ad5 100644
--- a/src/test/java/org/apache/commons/compress/harmony/unpack200/ArchiveTest.java
+++ b/src/test/java/org/apache/commons/compress/harmony/unpack200/ArchiveTest.java
@@ -18,10 +18,10 @@
*/
package org.apache.commons.compress.harmony.unpack200;
-import static org.junit.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.BufferedInputStream;
diff --git a/src/test/java/org/apache/commons/compress/harmony/unpack200/SegmentTest.java b/src/test/java/org/apache/commons/compress/harmony/unpack200/SegmentTest.java
index 37c9bd625..73eca156d 100644
--- a/src/test/java/org/apache/commons/compress/harmony/unpack200/SegmentTest.java
+++ b/src/test/java/org/apache/commons/compress/harmony/unpack200/SegmentTest.java
@@ -18,9 +18,9 @@
*/
package org.apache.commons.compress.harmony.unpack200;
-import static org.junit.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertThrows;
import java.io.BufferedReader;
import java.io.File;