[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / java / org / openecomp / sdc / translator / services / heattotosca / impl / MultipleHeatTranslationTest.java
1 package org.openecomp.sdc.translator.services.heattotosca.impl;
2
3 import org.junit.Before;
4 import org.junit.Test;
5
6 import java.io.IOException;
7
8 public class MultipleHeatTranslationTest extends BaseResourceTranslationTest {
9
10   @Override
11   @Before
12   public void setUp() throws IOException {
13     // do not delete this function. it prevents the superclass setup from running
14   }
15
16   @Test
17   public void testTranslateBaseHeats() throws Exception {
18     inputFilesPath = "/mock/multiHeat/allHeatsAreBase/inputs";
19     outputFilesPath = "/mock/multiHeat/allHeatsAreBase/expectedOutput/";
20     initTranslatorAndTranslate();
21     testTranslation();
22   }
23
24   @Test
25   public void testTranslateOneOutOfFourFilesIsNotBase() throws Exception {
26     inputFilesPath = "/mock/multiHeat/referencedHeatResources/inputs";
27     outputFilesPath = "/mock/multiHeat/referencedHeatResources/expectedOutput/";
28     initTranslatorAndTranslate();
29     testTranslation();
30   }
31 }