You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2022/01/30 07:04:31 UTC
[logging-log4j2] branch master updated: Migrate test to JUnit 5
This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new 4746926 Migrate test to JUnit 5
4746926 is described below
commit 4746926983f0964611aca728d610fc62a4f5a215
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Sun Jan 30 00:16:41 2022 -0600
Migrate test to JUnit 5
Signed-off-by: Matt Sicker <ma...@apache.org>
---
.../apache/logging/log4j/plugins/processor/PluginCacheTest.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/processor/PluginCacheTest.java b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/processor/PluginCacheTest.java
index 4a56066..1f5f880 100644
--- a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/processor/PluginCacheTest.java
+++ b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/processor/PluginCacheTest.java
@@ -17,7 +17,7 @@
package org.apache.logging.log4j.plugins.processor;
-import static org.junit.Assert.assertEquals;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.util.Arrays;
@@ -25,11 +25,8 @@ import java.util.List;
import java.util.Map;
import java.util.Objects;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.JUnit4;
+import static org.junit.jupiter.api.Assertions.assertEquals;
-@RunWith(JUnit4.class)
public class PluginCacheTest {
@Test