diff options
author | aribeiro <anderson.ribeiro@est.tech> | 2020-02-27 13:15:28 +0000 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-03-22 10:04:50 +0000 |
commit | 13a7f6743fbcc736c871d8168d2a7dcbda1daaba (patch) | |
tree | a7a71a96f74143b2bf0409c697a2f1d60dc158b4 /catalog-model/src/test/java/org | |
parent | 815674c947f970e9e57e06c8907758f88032b30a (diff) |
Include derived_from types in generated csar
Issue-ID: SDC-2775
Change-Id: I7b90ff78c389e5680cacafda2065669f6baf1735
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Diffstat (limited to 'catalog-model/src/test/java/org')
-rw-r--r-- | catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java index 790ce10653..c53e4e00bb 100644 --- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java +++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceTest.java @@ -20,16 +20,14 @@ package org.openecomp.sdc.be.model; -import mockit.Deencapsulation; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; import org.junit.Assert; import org.junit.Test; import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum; import org.openecomp.sdc.be.unittests.utils.ModelConfDependentTest; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - public class ResourceTest extends ModelConfDependentTest{ private Resource createTestSubject() { @@ -447,15 +445,4 @@ public class ResourceTest extends ModelConfDependentTest{ result = testSubject.groupRelationsFromCsarByInstanceName(resource); } - @Test - public void testGetInstanceNameFromInstanceId() throws Exception { - Resource testSubject; - Resource resource = new Resource(); - String instId = "mock"; - boolean result; - - // default test - testSubject = createTestSubject(); - Deencapsulation.invoke(testSubject, "getInstanceNameFromInstanceId", resource, instId); - } } |