Skip to content

Commit 552b858

Browse files
committed
Migrate log4j-jul to JUnit 5
1 parent caffa21 commit 552b858

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

log4j-jul/pom.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,13 @@
7373
<scope>test</scope>
7474
</dependency>
7575
<dependency>
76-
<groupId>junit</groupId>
77-
<artifactId>junit</artifactId>
76+
<groupId>org.junit.jupiter</groupId>
77+
<artifactId>junit-jupiter-engine</artifactId>
78+
<scope>test</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>org.junit.vintage</groupId>
82+
<artifactId>junit-vintage-engine</artifactId>
7883
<scope>test</scope>
7984
</dependency>
8085
</dependencies>

log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/AbstractLoggerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.apache.logging.log4j.core.test.appender.ListAppender;
2727
import org.apache.logging.log4j.jul.ApiLogger;
2828
import org.apache.logging.log4j.jul.LevelTranslator;
29-
import org.junit.Test;
29+
import org.junit.jupiter.api.Test;
3030

3131
/**
3232
*

0 commit comments

Comments
 (0)