blob: 58f17493d4f675fa12aa8c6272dfe62334eceb3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
package org.openecomp.sdc.translator.services.heattotosca.impl.fulltest;
import org.junit.Before;
import org.junit.Test;
import org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.BaseFullTranslationTest;
import java.io.IOException;
public class UnifedCompositionDynamicPortsTest extends BaseFullTranslationTest {
private static final String baseDirectory = "/mock/services/heattotosca/fulltest/dynamicPorts";
@Override
@Before
public void setUp() throws IOException {
// do not delete this function. it prevents the superclass setup from running
}
@Test
public void testDynamicPortWithDependsOn() throws IOException {
testTranslationWithInit(
baseDirectory + "/dynamicPortsWithDependsOn/in",
baseDirectory + "/dynamicPortsWithDependsOn/out"
);
}
@Test
public void testDependsOnFromNovaToNestedPort() throws IOException {
testTranslationWithInit(
baseDirectory + "/dependsOnFromNovaToNestedPort/in",
baseDirectory + "/dependsOnFromNovaToNestedPort/out"
);
}
@Test
public void testDependsOnFromPortToNested() throws IOException {
testTranslationWithInit(
baseDirectory + "/dependsOnFromPortToNested/in",
baseDirectory + "/dependsOnFromPortToNested/out"
);
}
@Test
public void testDependsOnFromVfcToNested() throws IOException {
testTranslationWithInit(
baseDirectory + "/dependsOnFromVfcToNested/in",
baseDirectory + "/dependsOnFromVfcToNested/out"
);
}
@Test
public void testDependsOnFromNestedToNested() throws IOException {
testTranslationWithInit(
baseDirectory + "/dependsOnFromNestedToNested/in",
baseDirectory + "/dependsOnFromNestedToNested/out"
);
}
}
|