[SDC-29] rebase continue work to align source
[sdc.git] / 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 0001ec8..9f3232e 100644 (file)
@@ -24,8 +24,19 @@ public class UnifiedCompositionNestedSingleComputeFullTest extends BaseFullTrans
         testTranslationWithInit();
     }
 
+    @Test
+    public void testNestedWithOneComputeSamePortType() throws IOException {
+        inputFilesPath =
+            "/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/in";
+        outputFilesPath =
+            "/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out";
+
+        testTranslationWithInit();
+    }
+
     @Test
     public void testOneNestedWithTwoComputesOfSameType() throws IOException {
+        //Not pattern 4 (Complex VFC)
         inputFilesPath =
             "/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithTwoComputesOfSameType/in";
         outputFilesPath =
@@ -36,6 +47,7 @@ public class UnifiedCompositionNestedSingleComputeFullTest extends BaseFullTrans
 
     @Test
     public void testOneNestedWithTwoDiffComputeTypes() throws IOException {
+        //Not pattern 4 (Complex VFC)
         inputFilesPath =
             "/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithTwoDiffComputeTypes/in";
         outputFilesPath =
@@ -124,6 +136,7 @@ public class UnifiedCompositionNestedSingleComputeFullTest extends BaseFullTrans
 
     @Test
     public void testMultiLevelNestedComposition() throws IOException {
+        //Not pattern 4 (Multi level Complex VFC)
         inputFilesPath =
             "/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedMultiLevels/in";
         outputFilesPath =