diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-28 14:58:52 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-28 14:58:52 +0200 |
commit | 147fa8c912c8748a9b4eb25c67420841363f3be0 (patch) | |
tree | be43054d6d5ec6ee4d01645678d0f411d3242d68 /jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java | |
parent | 695209a356ecae42536fd394189a98cf5274518e (diff) |
Convert jdisc_core to junit5
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java index b11afacb518..6e5ad50f447 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/handler/CallableRequestDispatchTestCase.java @@ -5,12 +5,12 @@ import com.yahoo.jdisc.Request; import com.yahoo.jdisc.Response; import com.yahoo.jdisc.application.ContainerBuilder; import com.yahoo.jdisc.test.TestDriver; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.net.URI; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; /** * @author Simon Thoresen Hult @@ -18,7 +18,7 @@ import static org.junit.Assert.assertTrue; public class CallableRequestDispatchTestCase { @Test - public void requireThatDispatchIsCalled() throws Exception { + void requireThatDispatchIsCalled() throws Exception { final TestDriver driver = TestDriver.newSimpleApplicationInstanceWithoutOsgi(); ContainerBuilder builder = driver.newContainerBuilder(); Response response = new Response(Response.Status.OK); |