From f4f74690140299c1a1df3d10509e873b67cdd2c9 Mon Sep 17 00:00:00 2001 From: talio Date: Wed, 13 Sep 2017 12:23:28 +0300 Subject: Fixing requirements in substituable node templates Adding dependencies with correct dependency id for substituable node templates Change-Id: I696441bc62807cf2abd73963583d6198dfaea259 Issue-ID: SDC-313 Signed-off-by: talio --- .../UnifiedCompositionNestedSingleComputeFullTest.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionNestedSingleComputeFullTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionNestedSingleComputeFullTest.java index a58659fab8..cebe9ec505 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionNestedSingleComputeFullTest.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/fulltest/UnifiedCompositionNestedSingleComputeFullTest.java @@ -175,4 +175,14 @@ public class UnifiedCompositionNestedSingleComputeFullTest extends BaseFullTrans testTranslationWithInit(); } + + @Test + public void testDuplicateReq() throws IOException { + inputFilesPath = + "/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/in"; + outputFilesPath = + "/mock/services/heattotosca/fulltest/nestedSingleCompute/duplicateReqs/out"; + + testTranslationWithInit(); + } } -- cgit 1.2.3-korg