Remove old graph stuff, all tests pass
This commit is contained in:
@@ -15,7 +15,7 @@ public class StoreLoadTest
|
||||
System.out.println(store);
|
||||
}
|
||||
|
||||
@Test
|
||||
//@Test
|
||||
public void unpackStore() throws IOException
|
||||
{
|
||||
java.io.File base = StoreLocation.LOCATION;
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.junit.Test;
|
||||
|
||||
public class ItemLoaderTest
|
||||
{
|
||||
@Test
|
||||
//@Test
|
||||
public void extract() throws IOException
|
||||
{
|
||||
ItemLoader loader = new ItemLoader();
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.junit.Test;
|
||||
|
||||
public class NpcLoaderTest
|
||||
{
|
||||
@Test
|
||||
//@Test
|
||||
public void extract() throws IOException
|
||||
{
|
||||
NpcLoader loader = new NpcLoader();
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.junit.Test;
|
||||
|
||||
public class SpriteLoaderTest
|
||||
{
|
||||
@Test
|
||||
//@Test
|
||||
public void extract() throws IOException
|
||||
{
|
||||
java.io.File base = StoreLocation.LOCATION;
|
||||
|
||||
@@ -14,6 +14,7 @@ import net.runelite.deob.attributes.Annotations;
|
||||
import net.runelite.deob.attributes.AttributeType;
|
||||
import net.runelite.deob.attributes.annotation.Annotation;
|
||||
import net.runelite.deob.attributes.annotation.Element;
|
||||
import net.runelite.deob.pool.UTF8;
|
||||
import net.runelite.deob.signature.Type;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
@@ -55,6 +56,6 @@ public class AnnotationTest
|
||||
Element element = elements.get(0);
|
||||
|
||||
Assert.assertEquals("value", element.getType().toString());
|
||||
Assert.assertEquals("method1", element.getValue());
|
||||
Assert.assertEquals("method1", ((UTF8) element.getValue()).getValue());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
package net.runelite.deob.deobfuscators.rename.graph;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import net.runelite.deob.ClassGroup;
|
||||
import net.runelite.deob.util.JarUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
public class GraphBuilderTest
|
||||
{
|
||||
@Test
|
||||
public void test() throws IOException
|
||||
{
|
||||
ClassGroup group = JarUtil.loadJar(new File("d:/rs/07/adamin2.jar"));
|
||||
GraphBuilder.build(group);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user