uncomment the json related test
@@ -57,18 +57,18 @@ public class LocalMergerTest {
target2)), cg.edgeSet());
}
-// @Test
-// public void souldNotGetIllegalArgumentExceptionWhileMerging() throws IOException, URISyntaxException {
-// final var dir =
-// new File(Objects.requireNonNull(Thread.currentThread().getContextClassLoader()
-// .getResource("merge/LocalMergeException")).toURI().getPath());
-// final List<ExtendedRevisionJavaCallGraph> depSet = new ArrayList<>();
-//
-// for (final var jsonFile : dir.listFiles()) {
-// depSet.add(new ExtendedRevisionJavaCallGraph(new JSONObject(Files.readString(jsonFile.toPath()))));
-// }
-//
-// var merger = new LocalMerger(depSet);
-// merger.mergeWithCHA(depSet.get(0));
-// }
+ @Test
+ public void souldNotGetIllegalArgumentExceptionWhileMerging() throws IOException, URISyntaxException {
+ final var dir =
+ new File(Objects.requireNonNull(Thread.currentThread().getContextClassLoader()
+ .getResource("merge/LocalMergeException")).toURI().getPath());
+ final List<ExtendedRevisionJavaCallGraph> depSet = new ArrayList<>();
+
+ for (final var jsonFile : dir.listFiles()) {
+ depSet.add(new ExtendedRevisionJavaCallGraph(new JSONObject(Files.readString(jsonFile.toPath()))));
+ }
+
+ var merger = new LocalMerger(depSet);
+ merger.mergeWithCHA(depSet.get(0));
+ }
}
