From 23ae05c4078edb858c136e20f9a0c60f71ab5f7c Mon Sep 17 00:00:00 2001 From: fixminer Date: Fri, 10 Apr 2020 15:08:49 +0200 Subject: [PATCH] fix srcml path in test --- .idea/workspace.xml | 51 +++++++++++-------- .../lu/uni/serval/TestPredefinedCases.java | 4 +- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 88ec0c0..b058727 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -27,8 +27,20 @@ - - + + + + + + + + + + + + + + @@ -60,15 +72,6 @@ - - - - - - - - - @@ -152,6 +155,7 @@ setPos parseChangedSourceCodeWithGumTree2 compareCFilesWithGumTree + TestGumtreeMatcher fixminer @@ -658,12 +662,12 @@ - + - + @@ -860,13 +864,6 @@ - - - - - - - @@ -1242,10 +1239,20 @@ + + + + + + + + + + - - + + diff --git a/richedit/src/test/java/edu/lu/uni/serval/TestPredefinedCases.java b/richedit/src/test/java/edu/lu/uni/serval/TestPredefinedCases.java index 1e77a34..25395a9 100644 --- a/richedit/src/test/java/edu/lu/uni/serval/TestPredefinedCases.java +++ b/richedit/src/test/java/edu/lu/uni/serval/TestPredefinedCases.java @@ -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");