fix srcml path in test

This commit is contained in:
fixminer
2020-04-10 15:08:49 +02:00
parent 8fcb841858
commit 23ae05c407
2 changed files with 31 additions and 24 deletions
@@ -22,7 +22,7 @@ public class TestPredefinedCases {
public void testIFCase1() throws IOException {
Properties appProps = new Properties();
appProps.load(new FileInputStream("src/main/resource/app.properties"));
String srcMLPath = appProps.getProperty("srcMLPath","FORKJOIN");
String srcMLPath = "";
File revFile = new File("src/main/resource/testFiles/if_example_1.c");
File prevFile =new File("src/main/resource/testFiles/prev_if_example_1.c");
@@ -45,7 +45,7 @@ public class TestPredefinedCases {
public void testForCase1() throws IOException {
Properties appProps = new Properties();
appProps.load(new FileInputStream("src/main/resource/app.properties"));
String srcMLPath = appProps.getProperty("srcMLPath","FORKJOIN");
String srcMLPath = "";
File revFile = new File("src/main/resource/testFiles/for_example_1.c");
File prevFile =new File("src/main/resource/testFiles/prev_for_example_1.c");