diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-04-12 18:44:00 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-04-13 09:46:37 +0000 |
commit | 06fda9a063c89fe1b077437f054b047ccdebe0f4 (patch) | |
tree | 3a26dc18803c4711d17c6e0fd4319ccdde37bafc /sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java | |
parent | d8210d49cebb6f5d9cb13e0d27b36c378df94c51 (diff) |
Migrate Junit4 to Junit5
Remove Junit4 dependency
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I9b7965537f55fe479f5e17b6e3ec02f8ff5d93b3
Issue-ID: SDC-3963
Diffstat (limited to 'sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java')
-rw-r--r-- | sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java b/sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java index 327ab68..ed889e7 100644 --- a/sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java +++ b/sdc-tosca/src/test/java/org/onap/sdc/impl/GetEntityTest.java @@ -20,8 +20,8 @@ package org.onap.sdc.impl; -import org.junit.BeforeClass; -import org.junit.Test; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; import org.onap.sdc.tosca.parser.api.IEntityDetails; import org.onap.sdc.tosca.parser.api.ISdcCsarHelper; import org.onap.sdc.tosca.parser.elements.queries.EntityQuery; @@ -37,15 +37,15 @@ import org.onap.sdc.toscaparser.api.Property; import java.net.URL; import java.util.List; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertTrue; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; public class GetEntityTest { private static ISdcCsarHelper helper = null; - @BeforeClass + @BeforeAll public static void setUpClass() { try { URL resource = GetEntityTest.class.getClassLoader().getResource("csars/service-JennyVtsbcVlanSvc-csar.csar"); |