diff options
Diffstat (limited to 'src/test/java')
| -rw-r--r-- | src/test/java/cuchaz/enigma/TestDeobfed.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/cuchaz/enigma/TestDeobfed.java b/src/test/java/cuchaz/enigma/TestDeobfed.java index c88b0eb6..d64a745b 100644 --- a/src/test/java/cuchaz/enigma/TestDeobfed.java +++ b/src/test/java/cuchaz/enigma/TestDeobfed.java | |||
| @@ -13,6 +13,7 @@ package cuchaz.enigma; | |||
| 13 | 13 | ||
| 14 | import cuchaz.enigma.analysis.ClassCache; | 14 | import cuchaz.enigma.analysis.ClassCache; |
| 15 | import cuchaz.enigma.analysis.index.JarIndex; | 15 | import cuchaz.enigma.analysis.index.JarIndex; |
| 16 | import cuchaz.enigma.network.EnigmaServer; | ||
| 16 | import cuchaz.enigma.source.Decompiler; | 17 | import cuchaz.enigma.source.Decompiler; |
| 17 | import cuchaz.enigma.source.Decompilers; | 18 | import cuchaz.enigma.source.Decompilers; |
| 18 | import cuchaz.enigma.source.SourceSettings; | 19 | import cuchaz.enigma.source.SourceSettings; |
| @@ -70,7 +71,7 @@ public class TestDeobfed { | |||
| 70 | 71 | ||
| 71 | @Test | 72 | @Test |
| 72 | public void decompile() { | 73 | public void decompile() { |
| 73 | EnigmaProject project = new EnigmaProject(enigma, classCache, index); | 74 | EnigmaProject project = new EnigmaProject(enigma, classCache, index, new byte[EnigmaServer.CHECKSUM_SIZE]); |
| 74 | Decompiler decompiler = Decompilers.PROCYON.create(project.getClassCache(), new SourceSettings(false, false)); | 75 | Decompiler decompiler = Decompilers.PROCYON.create(project.getClassCache(), new SourceSettings(false, false)); |
| 75 | 76 | ||
| 76 | decompiler.getSource("a"); | 77 | decompiler.getSource("a"); |