push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / java / org / openecomp / sdc / translator / impl / heattotosca / nested / recursive / TranslateHeatNestedRecursiveTest.java
1 package org.openecomp.sdc.translator.impl.heattotosca.nested.recursive;
2
3 import org.openecomp.sdc.translator.services.heattotosca.impl.BaseResourceTranslationTest;
4 import org.junit.Before;
5 import org.junit.Test;
6
7 import java.io.IOException;
8
9 public class TranslateHeatNestedRecursiveTest extends BaseResourceTranslationTest {
10
11
12   @Override
13   @Before
14   public void setUp() throws IOException {
15     // do not delete this function. it prevents the superclass setup from running
16   }
17
18   @Test
19   public void testTranslateRecursive() throws Exception {
20     inputFilesPath = "/mock/heat/nested/recursive/inputs";
21     outputFilesPath = "/mock/heat/nested/recursive/expectedoutputfiles";
22     initTranslatorAndTranslate();
23     testTranslation();
24   }
25
26   @Test
27   public void testTranslateExposedReq2Level() throws Exception {
28     inputFilesPath = "/mock/heat/nested/nested2levels/inputs";
29     outputFilesPath = "/mock/heat/nested/nested2levels/expectedoutputfiles";
30     initTranslatorAndTranslate();
31     testTranslation();
32   }
33
34   @Test
35   public void testTranslateExposedReq3Level() throws Exception {
36     inputFilesPath = "/mock/heat/nested/nested3levels/inputs";
37     outputFilesPath = "/mock/heat/nested/nested3levels/expectedoutputfiles";
38     initTranslatorAndTranslate();
39     testTranslation();
40   }
41
42
43 }