Remove old graph stuff, all tests pass

This commit is contained in:
Adam
2016-02-13 22:51:11 -05:00
parent c1bd2d199e
commit 8f6efa7717
21 changed files with 9 additions and 2573 deletions

View File

@@ -15,7 +15,7 @@ public class StoreLoadTest
System.out.println(store);
}
@Test
//@Test
public void unpackStore() throws IOException
{
java.io.File base = StoreLocation.LOCATION;

View File

@@ -16,7 +16,7 @@ import org.junit.Test;
public class ItemLoaderTest
{
@Test
//@Test
public void extract() throws IOException
{
ItemLoader loader = new ItemLoader();

View File

@@ -16,7 +16,7 @@ import org.junit.Test;
public class NpcLoaderTest
{
@Test
//@Test
public void extract() throws IOException
{
NpcLoader loader = new NpcLoader();

View File

@@ -19,7 +19,7 @@ import org.junit.Test;
public class SpriteLoaderTest
{
@Test
//@Test
public void extract() throws IOException
{
java.io.File base = StoreLocation.LOCATION;

View File

@@ -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());
}
}

View File

@@ -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);
}
}