diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript2AssemblerTest.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript2AssemblerTest.java index ed77ddf3c..cd4d40831 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript2AssemblerTest.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript2AssemblerTest.java @@ -21,7 +21,7 @@ import org.testng.annotations.Test; public class ActionScript2AssemblerTest extends ActionStript2TestBase { @BeforeClass - public void init() throws IOException { + public void init() throws IOException, InterruptedException { Configuration.autoDeobfuscate.set(false); swf = new SWF(new FileInputStream("testdata/as2/as2.swf"), false); } diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java index 65d05bb61..42b1ee89e 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript2DeobfuscatorTest.java @@ -36,7 +36,7 @@ import org.testng.annotations.Test; public class ActionScript2DeobfuscatorTest extends ActionStript2TestBase { @BeforeClass - public void init() throws IOException { + public void init() throws IOException, InterruptedException { Configuration.autoDeobfuscate.set(true); swf = new SWF(new FileInputStream("testdata/as2/as2.swf"), false); } diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java index 97f3d5982..d52eca5d7 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript2Test.java @@ -35,7 +35,7 @@ import org.testng.annotations.Test; public class ActionScript2Test extends ActionStript2TestBase { @BeforeClass - public void init() throws IOException { + public void init() throws IOException, InterruptedException { Configuration.autoDeobfuscate.set(false); Configuration.decompile.set(true); Configuration.registerNameFormat.set("_loc%d_"); diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java index bc7f9b625..c13b2677b 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java @@ -26,7 +26,7 @@ public class ActionScript3Test { private ABC abc; @BeforeClass - public void init() throws IOException { + public void init() throws IOException, InterruptedException { swf = new SWF(new FileInputStream("testdata/as3/as3.swf"), false); DoABCDefineTag tag = null; for (Tag t : swf.tags) { diff --git a/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java b/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java index c9d357b96..41e9057a5 100644 --- a/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java +++ b/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java @@ -3,6 +3,8 @@ package com.jpexs.decompiler.flash; import com.jpexs.decompiler.flash.abc.NotSameException; import com.jpexs.decompiler.flash.configuration.Configuration; import java.io.*; +import java.util.logging.Level; +import java.util.logging.Logger; import static org.testng.Assert.*; import org.testng.annotations.Test; @@ -19,7 +21,7 @@ public class RecompileTest { SWF swf = new SWF(new FileInputStream(TESTDATADIR + File.separator + filename), false); Configuration.debugCopy.set(true); swf.saveTo(new ByteArrayOutputStream()); - } catch (IOException ex) { + } catch (IOException | InterruptedException ex) { fail(); } catch (NotSameException ex) { fail("File is different after recompiling: " + filename);