aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2022-07-28 15:10:47 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2022-07-28 15:10:47 +0200
commit9bf664ba9a153a404f03c39d5ba0f99eb32c4419 (patch)
tree1eeda1293a2d453c9acd11deb736be4e53e58975 /container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java
parent147fa8c912c8748a9b4eb25c67420841363f3be0 (diff)
Convert container-core to junit5
Diffstat (limited to 'container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java')
-rw-r--r--container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java b/container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java
index 4c7cb5475dd..3d9a2360e77 100644
--- a/container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java
+++ b/container-core/src/test/java/com/yahoo/container/handler/LogHandlerTest.java
@@ -6,7 +6,7 @@ import com.yahoo.container.jdisc.ContentChannelOutputStream;
import com.yahoo.container.jdisc.HttpRequest;
import com.yahoo.jdisc.handler.ReadableContentChannel;
import com.yahoo.yolean.Exceptions;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.io.OutputStream;
@@ -15,13 +15,13 @@ import java.util.Optional;
import java.util.concurrent.Executor;
import static java.nio.charset.StandardCharsets.UTF_8;
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.mock;
public class LogHandlerTest {
@Test
- public void handleCorrectlyParsesQueryParameters() throws IOException {
+ void handleCorrectlyParsesQueryParameters() throws IOException {
MockLogReader mockLogReader = new MockLogReader();
LogHandler logHandler = new LogHandler(mock(Executor.class), mockLogReader);