From 8b80555977301e5160d57b8b6021380fe827d54a Mon Sep 17 00:00:00 2001 From: Col-E Date: Tue, 9 Mar 2021 02:46:01 -0500 Subject: [PATCH] Remove test for removed debugging logic --- .../me/coley/recaf/ResourceInputTest.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/test/java/me/coley/recaf/ResourceInputTest.java b/src/test/java/me/coley/recaf/ResourceInputTest.java index d0a9b781a..f4ab1695e 100644 --- a/src/test/java/me/coley/recaf/ResourceInputTest.java +++ b/src/test/java/me/coley/recaf/ResourceInputTest.java @@ -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; @@ -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 {