tests fixed

This commit is contained in:
Honfika
2013-12-03 00:34:37 +01:00
parent 06b95ac6e1
commit ac416d9910
5 changed files with 7 additions and 5 deletions

View File

@@ -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);