aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-02-23 17:43:55 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-02-25 15:11:24 +0000
commite9610d643a01476b08bcad95e911f8dca21ddf28 (patch)
treef2917bd10fdf99e574a86cb23882e1934ed20006 /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java
parent058fdf8229ef1cfc82bbad223e885ae6afdc78d0 (diff)
Remove testNG dependencies (part 2)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifdc4c01dfad76d6f4aafe9318c71c8a0009f1375 Issue-ID: SDC-3108
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java
index b7c74e0bc1..f2c2e7a0a5 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest.java
@@ -16,19 +16,19 @@
package org.openecomp.sdcrests.vendorlicense.rest.mapping;
-import static org.testng.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import org.openecomp.sdc.vendorlicense.dao.types.ChoiceOrOther;
import org.openecomp.sdc.vendorlicense.dao.types.LicenseAgreementEntity;
import org.openecomp.sdc.vendorlicense.dao.types.LicenseTerm;
import org.openecomp.sdcrests.vendorlicense.types.LicenseAgreementDescriptorDto;
-import org.testng.annotations.Test;
+import org.junit.jupiter.api.Test;
-public class MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest {
+class MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest {
@Test
- public void testLicenseTerm() {
+ void testLicenseTerm() {
LicenseAgreementEntity source = new LicenseAgreementEntity();
LicenseAgreementDescriptorDto target = new LicenseAgreementDescriptorDto();
MapLicenseAgreementEntityToLicenseAgreementDescriptorDto mapper =
@@ -41,7 +41,7 @@ public class MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest {
}
@Test
- public void testName() {
+ void testName() {
LicenseAgreementEntity source = new LicenseAgreementEntity();
LicenseAgreementDescriptorDto target = new LicenseAgreementDescriptorDto();
MapLicenseAgreementEntityToLicenseAgreementDescriptorDto mapper =
@@ -53,7 +53,7 @@ public class MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest {
}
@Test
- public void testDescription() {
+ void testDescription() {
LicenseAgreementEntity source = new LicenseAgreementEntity();
LicenseAgreementDescriptorDto target = new LicenseAgreementDescriptorDto();
MapLicenseAgreementEntityToLicenseAgreementDescriptorDto mapper =
@@ -65,7 +65,7 @@ public class MapLicenseAgreementEntityToLicenseAgreementDescriptorDtoTest {
}
@Test
- public void testRequirementsAndConstrains() {
+ void testRequirementsAndConstrains() {
LicenseAgreementEntity source = new LicenseAgreementEntity();
LicenseAgreementDescriptorDto target = new LicenseAgreementDescriptorDto();
MapLicenseAgreementEntityToLicenseAgreementDescriptorDto mapper =