1 package org.openecomp.sdc.translator.services.heattotosca.impl.fulltest;
3 import org.junit.Before;
5 import org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.BaseFullTranslationTest;
7 import java.io.IOException;
9 public class UnifedCompositionDynamicPortsTest extends BaseFullTranslationTest {
10 private static final String baseDirectory = "/mock/services/heattotosca/fulltest/dynamicPorts";
13 public void setUp() throws IOException {
14 // do not delete this function. it prevents the superclass setup from running
18 public void testDynamicPortWithDependsOn() throws IOException {
19 testTranslationWithInit(
20 baseDirectory + "/dynamicPortsWithDependsOn/in",
21 baseDirectory + "/dynamicPortsWithDependsOn/out"
26 public void testDependsOnFromNovaToNestedPort() throws IOException {
27 testTranslationWithInit(
28 baseDirectory + "/dependsOnFromNovaToNestedPort/in",
29 baseDirectory + "/dependsOnFromNovaToNestedPort/out"
34 public void testDependsOnFromPortToNested() throws IOException {
35 testTranslationWithInit(
36 baseDirectory + "/dependsOnFromPortToNested/in",
37 baseDirectory + "/dependsOnFromPortToNested/out"
42 public void testDependsOnFromVfcToNested() throws IOException {
43 testTranslationWithInit(
44 baseDirectory + "/dependsOnFromVfcToNested/in",
45 baseDirectory + "/dependsOnFromVfcToNested/out"
50 public void testDependsOnFromNestedToNested() throws IOException {
51 testTranslationWithInit(
52 baseDirectory + "/dependsOnFromNestedToNested/in",
53 baseDirectory + "/dependsOnFromNestedToNested/out"