diff options
| author | 2015-03-15 09:53:21 -0400 | |
|---|---|---|
| committer | 2015-03-15 09:53:21 -0400 | |
| commit | 2ff03cb72dccafd387776f5b0f91be1e8b056afb (patch) | |
| tree | 7e5fb167c55319f7721aef9a335b3fc74245e5be /test/cuchaz/enigma/TestSourceIndex.java | |
| parent | fix bugs in the mappings converter (diff) | |
| download | enigma-fork-2ff03cb72dccafd387776f5b0f91be1e8b056afb.tar.gz enigma-fork-2ff03cb72dccafd387776f5b0f91be1e8b056afb.tar.xz enigma-fork-2ff03cb72dccafd387776f5b0f91be1e8b056afb.zip | |
repackage for 0.9 betav0.9_beta
Diffstat (limited to 'test/cuchaz/enigma/TestSourceIndex.java')
| -rw-r--r-- | test/cuchaz/enigma/TestSourceIndex.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/cuchaz/enigma/TestSourceIndex.java b/test/cuchaz/enigma/TestSourceIndex.java index 96a8923..94bf941 100644 --- a/test/cuchaz/enigma/TestSourceIndex.java +++ b/test/cuchaz/enigma/TestSourceIndex.java | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | ******************************************************************************/ | 11 | ******************************************************************************/ |
| 12 | package cuchaz.enigma; | 12 | package cuchaz.enigma; |
| 13 | 13 | ||
| 14 | import java.io.File; | ||
| 14 | import java.util.Set; | 15 | import java.util.Set; |
| 15 | import java.util.jar.JarFile; | 16 | import java.util.jar.JarFile; |
| 16 | 17 | ||
| @@ -23,11 +24,13 @@ import cuchaz.enigma.mapping.ClassEntry; | |||
| 23 | 24 | ||
| 24 | public class TestSourceIndex { | 25 | public class TestSourceIndex { |
| 25 | 26 | ||
| 26 | // TEMP | ||
| 27 | @Test | 27 | @Test |
| 28 | public void indexEverything() | 28 | public void indexEverything() |
| 29 | throws Exception { | 29 | throws Exception { |
| 30 | Deobfuscator deobfuscator = new Deobfuscator(new JarFile("input/1.8.jar")); | 30 | |
| 31 | File home = new File(System.getProperty("user.home")); | ||
| 32 | File jarFile = new File(home, "/.minecraft/versions/1.8.3/1.8.3.jar"); | ||
| 33 | Deobfuscator deobfuscator = new Deobfuscator(new JarFile(jarFile)); | ||
| 31 | 34 | ||
| 32 | // get all classes that aren't inner classes | 35 | // get all classes that aren't inner classes |
| 33 | Set<ClassEntry> classEntries = Sets.newHashSet(); | 36 | Set<ClassEntry> classEntries = Sets.newHashSet(); |