Fixed and+dowhile on ASC2 - precontinue can use stack.

This commit is contained in:
Jindra Petřík
2021-02-01 06:30:11 +01:00
parent df3fde1f96
commit dc1ef96e70
17 changed files with 60 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ public class ActionScript3ClassTest extends ActionScript3DecompileTestBase {
@BeforeClass
public void init() throws IOException, InterruptedException {
addSwf("standard", "testdata/flashdevelop/bin/flashdevelop.swf");
addSwf("standard", "testdata/flashdevelop/bin/Main.flex.swf");
}
private void decompileScriptPack(String path, String expectedResult) {

View File

@@ -12,7 +12,7 @@ public class ActionScript3ClassicDecompileTest extends ActionScript3DecompileTes
@BeforeClass
public void init() throws IOException, InterruptedException {
addSwf("classic", "testdata/flashdevelop/bin/flashdevelop.swf");
addSwf("classic", "testdata/flashdevelop/bin/Main.flex.swf");
}
@Test

View File

@@ -21,7 +21,7 @@ public class ActionScript3OptinalParametersTest extends ActionScript3DecompileTe
@BeforeClass
public void init() throws IOException, InterruptedException {
addSwf("standard", "testdata/flashdevelop/bin/flashdevelop.swf");
addSwf("standard", "testdata/flashdevelop/bin/Main.flex.swf");
}
@Test
public void testOptionalParameters() {

View File

@@ -170,7 +170,7 @@ public class AS3Generator {
Configuration.autoDeobfuscate.set(false);
useFile("ActionScript3ClassicDecompileTest", new String[][]{{"testdata/flashdevelop/bin/flashdevelop.swf", "classic"}}, false);
useFile("ActionScript3ClassicDecompileTest", new String[][]{{"testdata/flashdevelop/bin/Main.flex.swf", "classic"}}, false);
useFile("ActionScript3CrossCompileDecompileTest", new String[][]{
{"testdata/cross_compile/bin/Main.flex.swf", "flex"},
{"testdata/cross_compile/bin/Main.air.swf", "air"}