summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/cuchaz/enigma/TestDeobfed.java3
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 c88b0eb..d64a745 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
14import cuchaz.enigma.analysis.ClassCache; 14import cuchaz.enigma.analysis.ClassCache;
15import cuchaz.enigma.analysis.index.JarIndex; 15import cuchaz.enigma.analysis.index.JarIndex;
16import cuchaz.enigma.network.EnigmaServer;
16import cuchaz.enigma.source.Decompiler; 17import cuchaz.enigma.source.Decompiler;
17import cuchaz.enigma.source.Decompilers; 18import cuchaz.enigma.source.Decompilers;
18import cuchaz.enigma.source.SourceSettings; 19import 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");