ignore invalid tags in test (do not use lazy loading in tests)

This commit is contained in:
honfika@gmail.com
2015-03-23 16:33:02 +01:00
parent 332722503b
commit 166e2f7822
5 changed files with 36 additions and 17 deletions

View File

@@ -85,7 +85,7 @@ public class RecompileTest extends FileTestBase {
public void testTagEditing(String fileName) throws IOException, InterruptedException {
try {
Configuration.debugCopy.set(false);
SWF swf = new SWF(new BufferedInputStream(new FileInputStream(TESTDATADIR + File.separator + fileName)), false);
SWF swf = new SWF(new BufferedInputStream(new FileInputStream(TESTDATADIR + File.separator + fileName)), false, false);
for (Tag tag : swf.tags) {
if (!(tag instanceof TagStub)) {
Tag tag2 = tag.cloneTag();