From 1952e752765bc6607265b6242bfb206f08a4050b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 4 Jul 2015 16:47:30 +0200 Subject: [PATCH] tests compilation fixed --- .../jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java | 2 +- .../com/jpexs/decompiler/flash/ActionScript3AssemblerTest.java | 2 +- .../jpexs/decompiler/flash/ActionScript3DeobfuscatorTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java index 65912fc96..164946db8 100644 --- a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java +++ b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java @@ -49,7 +49,7 @@ public class ActionScript2DeobfuscatorTest extends ActionStript2TestBase { public void init() throws IOException, InterruptedException { //Main.initLogging(false); Configuration.autoDeobfuscate.set(true); - Configuration.deobfuscationMode.set(1); + Configuration.deobfuscationOldMode.set(false); swf = new SWF(new BufferedInputStream(new FileInputStream("testdata/as2/as2.swf")), false); } diff --git a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3AssemblerTest.java b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3AssemblerTest.java index 9733b3882..4d3082e7b 100644 --- a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3AssemblerTest.java +++ b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3AssemblerTest.java @@ -45,7 +45,7 @@ public class ActionScript3AssemblerTest extends ActionScriptTestBase { public void init() throws IOException, InterruptedException { //Main.initLogging(false); Configuration.autoDeobfuscate.set(true); - Configuration.deobfuscationMode.set(1); + Configuration.deobfuscationOldMode.set(false); swf = new SWF(new BufferedInputStream(new FileInputStream("testdata/as3/as3.swf")), false); } diff --git a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3DeobfuscatorTest.java b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3DeobfuscatorTest.java index 178887af7..3494c457b 100644 --- a/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3DeobfuscatorTest.java +++ b/libsrc/ffdec_lib/test/com/jpexs/decompiler/flash/ActionScript3DeobfuscatorTest.java @@ -52,7 +52,7 @@ public class ActionScript3DeobfuscatorTest extends ActionStript2TestBase { public void init() throws IOException, InterruptedException { //Main.initLogging(false); Configuration.autoDeobfuscate.set(true); - Configuration.deobfuscationMode.set(1); + Configuration.deobfuscationOldMode.set(false); Configuration.decimalAddress.set(false); swf = new SWF(new BufferedInputStream(new FileInputStream("testdata/as3/as3.swf")), false); }