Fix if field mapper to take static/class name into consideration

This commit is contained in:
Adam
2016-03-18 16:12:04 -04:00
parent a2fe796306
commit 4ea2d8d632
3 changed files with 51 additions and 24 deletions

View File

@@ -8,8 +8,9 @@ import org.junit.Test;
public class AnnotationMapperTest
{
private static final String JAR1 = MapStaticTest.class.getResource("/adamin1.jar").getFile(),
JAR2 = MapStaticTest.class.getResource("/adamin2.jar").getFile();
private static final String JAR1 = "C:\\Users\\Adam\\.m2\\repository\\net\\runelite\\rs\\rs-client\\1.0-SNAPSHOT\\rs-client-1.0-SNAPSHOT.jar",
JAR2 = "c:/rs/gamepack_v18_deobbed.jar",
OUT = "c:/rs/adamout.jar";
@Test
public void testRun() throws IOException
@@ -23,6 +24,8 @@ public class AnnotationMapperTest
AnnotationMapper amapper = new AnnotationMapper(group1, group2, mapping);
amapper.run();
JarUtil.saveJar(group2, new File(OUT));
}
}