d908a3dabcdcbc4e83a41587bde039af654dcec7
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / java / org / openecomp / sdc / translator / services / heattotosca / impl / fulltest / UnifiedCompositionDynamicPortsTest.java
1 package org.openecomp.sdc.translator.services.heattotosca.impl.fulltest;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.BaseFullTranslationTest;
5
6 import java.io.IOException;
7
8 public class UnifiedCompositionDynamicPortsTest extends BaseFullTranslationTest {
9
10   private static final String BASE_DIRECTORY = "/mock/services/heattotosca/fulltest/dynamicPorts/";
11
12   @Test
13   public void testDynamicPortWithDependsOn() throws IOException {
14     testTranslationWithInit(BASE_DIRECTORY + "dynamicPortsWithDependsOn");
15   }
16
17   @Test
18   public void testDependsOnFromNovaToNestedPort() throws IOException {
19     testTranslationWithInit(BASE_DIRECTORY + "dependsOnFromNovaToNestedPort");
20   }
21
22   @Test
23   public void testDependsOnFromPortToNested() throws IOException {
24     testTranslationWithInit(BASE_DIRECTORY + "dependsOnFromPortToNested");
25   }
26
27   @Test
28   public void testDependsOnFromVfcToNested() throws IOException {
29     testTranslationWithInit(BASE_DIRECTORY + "dependsOnFromVfcToNested");
30   }
31
32   @Test
33   public void testDependsOnFromNestedToNested() throws IOException {
34     testTranslationWithInit(BASE_DIRECTORY + "dependsOnFromNestedToNested");
35   }
36 }