diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-02-23 17:43:55 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.java')
1 files changed, 15 insertions, 14 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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.java index 999b430bd8..c8eb2a8e31 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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.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/MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest.java @@ -16,24 +16,25 @@ package org.openecomp.sdcrests.vendorlicense.rest.mapping; -import static org.testng.Assert.assertEquals; + +import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Set; +import org.junit.jupiter.api.Test; import org.openecomp.sdc.vendorlicense.dao.types.EntitlementPoolEntity; import org.openecomp.sdc.vendorlicense.dao.types.EntitlementPoolType; import org.openecomp.sdc.vendorlicense.dao.types.MultiChoiceOrOther; import org.openecomp.sdc.vendorlicense.dao.types.OperationalScope; import org.openecomp.sdcrests.vendorlicense.types.EntitlementPoolEntityDto; -import org.testng.annotations.Test; -public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { +class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { @Test - public void testReferencingFeatureGroups() { + void testReferencingFeatureGroups() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -45,7 +46,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testDescription() { + void testDescription() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -57,7 +58,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testIncrements() { + void testIncrements() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -69,7 +70,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testExpiryDate() { + void testExpiryDate() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -81,7 +82,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testId() { + void testId() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -93,7 +94,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testThresholdValue() { + void testThresholdValue() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -105,7 +106,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testName() { + void testName() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -119,7 +120,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testOperationalScope() { + void testOperationalScope() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -132,7 +133,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testStartDate() { + void testStartDate() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = @@ -144,7 +145,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testManufacturerReferenceNumber() { + void testManufacturerReferenceNumber() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = new @@ -157,7 +158,7 @@ public class MapEntitlementPoolEntityToEntitlementPoolEntityDtoTest { } @Test - public void testType() { + void testType() { EntitlementPoolEntity source = new EntitlementPoolEntity(); EntitlementPoolEntityDto target = new EntitlementPoolEntityDto(); MapEntitlementPoolEntityToEntitlementPoolEntityDto mapper = |