From 3e8793276f623132892331cf65c85bb91c1ab154 Mon Sep 17 00:00:00 2001 From: "Baumel, Dvir (db384r)" Date: Mon, 23 Mar 2020 16:21:05 +0200 Subject: Upgrade Junit to version 5.6 Issue-ID: SDC-2844 Change-Id: I4716bf7920f9bb79c450ebfd48e9d4fba54fdfdd Signed-off-by: Baumel, Dvir (db384r) --- .../item-permissions-rest-types/pom.xml | 7 ------- .../item-rest/item-rest-types/pom.xml | 6 ------ .../notifications-rest/notifications-rest-types/pom.xml | 6 ------ .../openecomp-sdc-vendor-software-product-manager/pom.xml | 14 ++++++++++++++ .../vendorsoftwareproduct/ComponentManagerFactoryTest.java | 4 ++-- openecomp-be/pom.xml | 12 ++++++++++++ 6 files changed, 28 insertions(+), 21 deletions(-) (limited to 'openecomp-be') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/item-permissions-rest/item-permissions-rest-types/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/item-permissions-rest/item-permissions-rest-types/pom.xml index 798846e127..7f53daec93 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/item-permissions-rest/item-permissions-rest-types/pom.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/item-permissions-rest/item-permissions-rest-types/pom.xml @@ -9,13 +9,6 @@ swagger-annotations ${swagger.version} - - org.junit.jupiter - junit-jupiter-api - 5.3.1 - test - - diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/item-rest/item-rest-types/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/item-rest/item-rest-types/pom.xml index e385c4b726..7b9692f13d 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/item-rest/item-rest-types/pom.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/item-rest/item-rest-types/pom.xml @@ -28,12 +28,6 @@ openecomp-sdc-conflict-manager ${project.version} - - org.junit.jupiter - junit-jupiter-api - 5.3.1 - test - diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-types/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-types/pom.xml index 952ba4fc06..1be303c7c0 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-types/pom.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-types/pom.xml @@ -9,12 +9,6 @@ openecomp-sdc-datatypes-lib ${project.version} - - org.junit.jupiter - junit-jupiter-api - 5.3.1 - test - diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/pom.xml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/pom.xml index f8c548b077..0857e1d4ff 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/pom.xml +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/pom.xml @@ -232,6 +232,20 @@ test-jar test + + + org.junit.jupiter + junit-jupiter + ${junitJupiter.version} + test + + + + org.mockito + mockito-junit-jupiter + ${mockitoJupiter.version} + test + diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/ComponentManagerFactoryTest.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/ComponentManagerFactoryTest.java index 7d59215847..07909281d9 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/ComponentManagerFactoryTest.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/ComponentManagerFactoryTest.java @@ -19,9 +19,9 @@ */ package org.openecomp.sdc.vendorsoftwareproduct; -import static org.junit.Assert.assertNotNull; +import org.junit.jupiter.api.Test; -import org.junit.Test; +import static org.junit.Assert.assertNotNull; public class ComponentManagerFactoryTest { diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml index 7c99ba52c6..79bef95f81 100644 --- a/openecomp-be/pom.xml +++ b/openecomp-be/pom.xml @@ -55,6 +55,18 @@ ${togglz.version} test + + org.junit.jupiter + junit-jupiter + ${junitJupiter.version} + test + + + org.mockito + mockito-junit-jupiter + ${mockitoJupiter.version} + test + -- cgit 1.2.3-korg