From c793b37b636af66bcc58cbf9095dda5e7264f794 Mon Sep 17 00:00:00 2001 From: Michal Maciejewski Date: Tue, 19 Dec 2023 23:29:51 +0100 Subject: [PATCH] test: adapt tests to junit 5 --- pom.xml | 9 ++++++--- .../org/matsim/maas/drt/RunDoorToDoorDrtExampleTest.java | 2 +- .../org/matsim/maas/drt/RunStopBasedDrtExampleTest.java | 2 +- .../org/matsim/maas/taxi/RunRobotaxiExampleTest.java | 2 +- src/test/java/org/matsim/maas/taxi/TaxiTest.java | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 94f0b7c..e85f332 100644 --- a/pom.xml +++ b/pom.xml @@ -60,9 +60,12 @@ - junit - junit - test + org.junit.jupiter + junit-jupiter-engine + + + org.junit.jupiter + junit-jupiter org.matsim diff --git a/src/test/java/org/matsim/maas/drt/RunDoorToDoorDrtExampleTest.java b/src/test/java/org/matsim/maas/drt/RunDoorToDoorDrtExampleTest.java index f1a8dc5..312df88 100644 --- a/src/test/java/org/matsim/maas/drt/RunDoorToDoorDrtExampleTest.java +++ b/src/test/java/org/matsim/maas/drt/RunDoorToDoorDrtExampleTest.java @@ -21,7 +21,7 @@ * created by jbischoff, 06.09.2018 */ -import org.junit.Test; +import org.junit.jupiter.api.Test; public class RunDoorToDoorDrtExampleTest { diff --git a/src/test/java/org/matsim/maas/drt/RunStopBasedDrtExampleTest.java b/src/test/java/org/matsim/maas/drt/RunStopBasedDrtExampleTest.java index dd15c37..98e0aa0 100644 --- a/src/test/java/org/matsim/maas/drt/RunStopBasedDrtExampleTest.java +++ b/src/test/java/org/matsim/maas/drt/RunStopBasedDrtExampleTest.java @@ -21,7 +21,7 @@ * created by jbischoff, 06.09.2018 */ -import org.junit.Test; +import org.junit.jupiter.api.Test; public class RunStopBasedDrtExampleTest { diff --git a/src/test/java/org/matsim/maas/taxi/RunRobotaxiExampleTest.java b/src/test/java/org/matsim/maas/taxi/RunRobotaxiExampleTest.java index 0d746d1..f89a216 100644 --- a/src/test/java/org/matsim/maas/taxi/RunRobotaxiExampleTest.java +++ b/src/test/java/org/matsim/maas/taxi/RunRobotaxiExampleTest.java @@ -20,7 +20,7 @@ package org.matsim.maas.taxi; -import org.junit.Test; +import org.junit.jupiter.api.Test; /** * @author Michal Maciejewski (michalm) diff --git a/src/test/java/org/matsim/maas/taxi/TaxiTest.java b/src/test/java/org/matsim/maas/taxi/TaxiTest.java index f4cf021..291a04e 100644 --- a/src/test/java/org/matsim/maas/taxi/TaxiTest.java +++ b/src/test/java/org/matsim/maas/taxi/TaxiTest.java @@ -21,7 +21,7 @@ * created by jbischoff, 06.09.2018 */ -import org.junit.Test; +import org.junit.jupiter.api.Test; public class TaxiTest {