diff options
author | 2021-02-23 17:43:55 +0000 | |
---|---|---|
committer | 2021-02-25 15:11:24 +0000 | |
commit | e9610d643a01476b08bcad95e911f8dca21ddf28 (patch) | |
tree | f2917bd10fdf99e574a86cb23882e1934ed20006 /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.java | |
parent | 058fdf8229ef1cfc82bbad223e885ae6afdc78d0 (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/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.java')
1 files changed, 15 insertions, 15 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/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.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/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.java index 6a6ae363f7..3c66a322df 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/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.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/MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest.java @@ -16,7 +16,7 @@ package org.openecomp.sdcrests.vendorlicense.rest.mapping; -import static org.testng.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Collections; import java.util.HashSet; @@ -27,13 +27,13 @@ import org.openecomp.sdc.vendorlicense.dao.types.MultiChoiceOrOther; import org.openecomp.sdc.vendorlicense.dao.types.OperationalScope; import org.openecomp.sdc.vendorlicense.dao.types.ThresholdUnit; import org.openecomp.sdcrests.vendorlicense.types.LicenseKeyGroupEntityDto; -import org.testng.annotations.Test; +import org.junit.jupiter.api.Test; -public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { +class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { @Test - public void testReferencingFeatureGroups() { + void testReferencingFeatureGroups() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -45,7 +45,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testDescription() { + void testDescription() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -57,7 +57,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testType() { + void testType() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -69,7 +69,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testIncrements() { + void testIncrements() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -81,7 +81,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testExpiryDate() { + void testExpiryDate() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -93,7 +93,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testId() { + void testId() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -105,7 +105,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testThresholdUnits() { + void testThresholdUnits() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -117,7 +117,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testThresholdValue() { + void testThresholdValue() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -129,7 +129,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testName() { + void testName() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -141,7 +141,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testOperationalScope() { + void testOperationalScope() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -156,7 +156,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testStartDate() { + void testStartDate() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = @@ -168,7 +168,7 @@ public class MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDtoTest { } @Test - public void testManufacturerReferenceNumber() { + void testManufacturerReferenceNumber() { LicenseKeyGroupEntity source = new LicenseKeyGroupEntity(); LicenseKeyGroupEntityDto target = new LicenseKeyGroupEntityDto(); MapLicenseKeyGroupEntityToLicenseKeyGroupEntityDto mapper = new |