Skip to content

Commit 1089c11

Browse files
committed
Finish API port to JUnit 5
1 parent 90ddf87 commit 1089c11

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
101101
<scope>test</scope>
102102
</dependency>
103103
<dependency>
104-
<groupId>org.junit.vintage</groupId>
105-
<artifactId>junit-vintage-engine</artifactId>
104+
<groupId>org.junit.jupiter</groupId>
105+
<artifactId>junit-jupiter</artifactId>
106106
<scope>test</scope>
107107
</dependency>
108108
<dependency>

src/test/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
package org.apache.commons.compress.archivers.cpio;
2020

21-
import static org.junit.Assert.assertThrows;
21+
import static org.junit.jupiter.api.Assertions.assertThrows;
2222

2323
import org.junit.jupiter.api.Test;
2424

src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveUtilTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
*/
1919
package org.apache.commons.compress.archivers.dump;
2020

21-
import static org.junit.Assert.assertThrows;
2221
import static org.junit.jupiter.api.Assertions.assertEquals;
2322
import static org.junit.jupiter.api.Assertions.assertFalse;
23+
import static org.junit.jupiter.api.Assertions.assertThrows;
2424

2525
import java.io.IOException;
2626

src/test/java/org/apache/commons/compress/harmony/unpack200/ArchiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*/
1919
package org.apache.commons.compress.harmony.unpack200;
2020

21-
import static org.junit.Assert.assertThrows;
2221
import static org.junit.jupiter.api.Assertions.assertEquals;
2322
import static org.junit.jupiter.api.Assertions.assertFalse;
2423
import static org.junit.jupiter.api.Assertions.assertNotNull;
24+
import static org.junit.jupiter.api.Assertions.assertThrows;
2525
import static org.junit.jupiter.api.Assertions.assertTrue;
2626

2727
import java.io.BufferedInputStream;

src/test/java/org/apache/commons/compress/harmony/unpack200/SegmentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
*/
1919
package org.apache.commons.compress.harmony.unpack200;
2020

21-
import static org.junit.Assert.assertThrows;
2221
import static org.junit.jupiter.api.Assertions.assertEquals;
2322
import static org.junit.jupiter.api.Assertions.assertNotNull;
23+
import static org.junit.jupiter.api.Assertions.assertThrows;
2424

2525
import java.io.BufferedReader;
2626
import java.io.File;

0 commit comments

Comments
 (0)