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 UnifiedCompositionCatalogInstanceFullTest extends BaseFullTranslationTest {
13 public void setUp() throws IOException {
14 // do not delete this function. it prevents the superclass setup from running
18 public void testThreeNovaSameTypeDiffGetAttrFromSameEntitiesTypes() throws IOException {
20 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypeGetAttrBetweenThem/in";
22 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypeGetAttrBetweenThem/out";
24 testTranslationWithUnifiedCondition();
28 public void testThreeNovaSameTypePortsConnectedToDiffNetworks() throws IOException {
30 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypePortsConnectedToDiffNetworks/in";
32 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypePortsConnectedToDiffNetworks/out";
34 testTranslationWithUnifiedCondition();
38 public void testThreeNovaSameTypeDiffImageName() throws IOException {
40 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypeDiffImageName/in";
42 "/mock/services/heattotosca/fulltest/catalogInstances/threeComputesSameTypeDiffImageName/out";
44 testTranslationWithUnifiedCondition();
48 public void testTwoNovaWithDiffProperties() throws IOException {
50 "/mock/services/heattotosca/fulltest/catalogInstances/twoNovaWithDiffProperties/in";
52 "/mock/services/heattotosca/fulltest/catalogInstances/twoNovaWithDiffProperties/out";
54 testTranslationWithUnifiedCondition();
59 private void testTranslationWithUnifiedCondition() throws IOException {
60 initTranslatorAndTranslate();