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/MapLimitEntityToLimitDtoTest.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/MapLimitEntityToLimitDtoTest.java')
1 files changed, 12 insertions, 12 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/MapLimitEntityToLimitDtoTest.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/MapLimitEntityToLimitDtoTest.java index d8034dd65b..6f65a3c74d 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/MapLimitEntityToLimitDtoTest.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/MapLimitEntityToLimitDtoTest.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.AggregationFunction; import org.openecomp.sdc.vendorlicense.dao.types.LimitEntity; import org.openecomp.sdc.vendorlicense.dao.types.LimitType; import org.openecomp.sdcrests.vendorlicense.types.LimitEntityDto; -import org.testng.annotations.Test; +import org.junit.jupiter.api.Test; -public class MapLimitEntityToLimitDtoTest { +class MapLimitEntityToLimitDtoTest { @Test - public void testDescription() { + void testDescription() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -39,7 +39,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testAggregationFunction() { + void testAggregationFunction() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -50,7 +50,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testType() { + void testType() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -61,7 +61,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testUnit() { + void testUnit() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -72,7 +72,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testMetric() { + void testMetric() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -83,7 +83,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testName() { + void testName() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -94,7 +94,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testId() { + void testId() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -105,7 +105,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testTime() { + void testTime() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); @@ -116,7 +116,7 @@ public class MapLimitEntityToLimitDtoTest { } @Test - public void testValue() { + void testValue() { LimitEntity source = new LimitEntity(); LimitEntityDto target = new LimitEntityDto(); MapLimitEntityToLimitDto mapper = new MapLimitEntityToLimitDto(); |