summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/TestSourceIndex.java
diff options
context:
space:
mode:
authorGravatar jeff2015-03-15 09:53:21 -0400
committerGravatar jeff2015-03-15 09:53:21 -0400
commit2ff03cb72dccafd387776f5b0f91be1e8b056afb (patch)
tree7e5fb167c55319f7721aef9a335b3fc74245e5be /test/cuchaz/enigma/TestSourceIndex.java
parentfix bugs in the mappings converter (diff)
downloadenigma-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.java7
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 ******************************************************************************/
12package cuchaz.enigma; 12package cuchaz.enigma;
13 13
14import java.io.File;
14import java.util.Set; 15import java.util.Set;
15import java.util.jar.JarFile; 16import java.util.jar.JarFile;
16 17
@@ -23,11 +24,13 @@ import cuchaz.enigma.mapping.ClassEntry;
23 24
24public class TestSourceIndex { 25public 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();