From 982437037708673eb6e576183c644c2228fdc816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Wed, 19 Jun 2013 20:51:43 +0200 Subject: [PATCH] Tests parallelism fix --- trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java | 2 +- trunk/test/com/jpexs/decompiler/flash/Generator.java | 2 +- trunk/test/com/jpexs/decompiler/flash/RecompileTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java index cdd8470f5..33013d822 100644 --- a/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java +++ b/trunk/test/com/jpexs/decompiler/flash/ActionScript3Test.java @@ -24,7 +24,7 @@ public class ActionScript3Test { @BeforeClass public void init() throws IOException { - swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf")); + swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf"),false); DoABCDefineTag tag = null; for (Tag t : swf.tags) { if (t instanceof DoABCDefineTag) { diff --git a/trunk/test/com/jpexs/decompiler/flash/Generator.java b/trunk/test/com/jpexs/decompiler/flash/Generator.java index 98c2b836b..4618b7f67 100644 --- a/trunk/test/com/jpexs/decompiler/flash/Generator.java +++ b/trunk/test/com/jpexs/decompiler/flash/Generator.java @@ -21,7 +21,7 @@ public class Generator { public static void main(String[] args) throws Exception { Configuration.setConfig("autoDeobfuscate", false); - SWF swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf")); + SWF swf = new SWF(new FileInputStream("testdata/as3/TestMovie.swf"),false); DoABCDefineTag tag = null; for (Tag t : swf.tags) { if (t instanceof DoABCDefineTag) { diff --git a/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java b/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java index 592ca9509..110932308 100644 --- a/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java +++ b/trunk/test/com/jpexs/decompiler/flash/RecompileTest.java @@ -15,7 +15,7 @@ public class RecompileTest { private void testRecompileOne(String filename) { try { - SWF swf = new SWF(new FileInputStream(TESTDATADIR + File.separator + filename)); + SWF swf = new SWF(new FileInputStream(TESTDATADIR + File.separator + filename),false); Configuration.DEBUG_COPY = true; swf.saveTo(new ByteArrayOutputStream()); } catch (IOException ex) {