summaryrefslogtreecommitdiffstats
path: root/aai-annotations
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-11-13 09:58:26 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-11-13 11:30:56 +0100
commitde80a9de71edd6005f15355a24dd6ce9781b99bf (patch)
treefaf06557102e6bb1f435301e1d6c2730842d631b /aai-annotations
parentccf10e681044664888d7e0e0b50623bdbe92de5a (diff)
Migrate the schema-service from JUnit 4 to JUnit 5
Issue-ID: AAI-4053 Change-Id: I100c96c9d231f1d5c232886bc00bf3e05cc209b3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-annotations')
-rw-r--r--aai-annotations/pom.xml15
-rw-r--r--aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java7
2 files changed, 15 insertions, 7 deletions
diff --git a/aai-annotations/pom.xml b/aai-annotations/pom.xml
index 01f908e..d01c820 100644
--- a/aai-annotations/pom.xml
+++ b/aai-annotations/pom.xml
@@ -37,8 +37,13 @@
</properties>
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
@@ -53,6 +58,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ </plugin>
</plugins>
</build>
diff --git a/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java b/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
index 9ff262d..508f94e 100644
--- a/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
+++ b/aai-annotations/src/test/java/org/onap/aai/annotations/AnnotationsTest.java
@@ -20,15 +20,12 @@
package org.onap.aai.annotations;
-import static org.junit.Assert.assertTrue;
+import static org.junit.jupiter.api.Assertions.assertTrue;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
public class AnnotationsTest {
- public AnnotationsTest() {
- }
-
@Metadata(
isKey = false,
description = "",