Skip to content

Commit

Permalink
Remove test for removed debugging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Mar 9, 2021
1 parent 4c03087 commit 8b80555
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/test/java/me/coley/recaf/ResourceInputTest.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package me.coley.recaf;

import me.coley.recaf.debug.VMWrap;
import me.coley.recaf.workspace.*;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
Expand Down Expand Up @@ -90,23 +88,6 @@ public void testMaven() {
}
}


@Test
public void testJdi() {
try {
// The debugger resource is simply backed by another resource since the JDI doesn't
// allow direct class lookups like instrumentation does.
Path file = getClasspathFile("calc.jar");
JavaResource backing = new JarResource(file);
DebuggerResource resource = VMWrap.launching("Start", "-cp \"" + file.toAbsolutePath() + "\"", true).toResource(backing);
//
assertEquals(CLASSES_IN_CALC_JAR, backing.getClasses().size());
assertEquals(backing.getClasses().size(), resource.getClasses().size());
} catch(IOException ex) {
fail(ex);
}
}

@Test
public void testSkipPrefixes() {
try {
Expand Down

0 comments on commit 8b80555

Please sign in to comment.