Remove tests that are platform dependent
@@ -25,17 +25,6 @@ class WalaCallgraphConstructorTest {
graph = WalaCallgraphConstructor.buildCallGraph(path);
}
- @Test
- void buildCallGraph() {
-
- // 12 nodes:
- // fakeRootMethod, fakeWorldClinit
- // Object <clinit>, <init>, registerNatives
- // SingleSourceToTarget <init>, sourceMethod, targetMethod, main
- // String <clinit>, <init>, <init>
- assertEquals(12, graph.getNumberOfNodes());
- }
-
@Test
void resolveCalls() {
var calls = WalaCallgraphConstructor.resolveCalls(graph);
@@ -45,11 +34,4 @@ class WalaCallgraphConstructorTest {
assertEquals("< Application, Lname/space/SingleSourceToTarget, sourceMethod()V >",
calls.get(1).source.toString());
}
-
- @Test
- void fetchJarFile() {
- // Fetch jar file of the root class -> rt.jar
- assertTrue(WalaCallgraphConstructor
- .fetchJarFile(graph.getClassHierarchy().getRootClass()).endsWith("rt.jar"));
- }
}
\ No newline at end of file
