AS3 direct editation: various bug fixes

Switch loop break fix
Recompile test for AS3
Dataprovider for tests
This commit is contained in:
Jindra Petk
2014-05-05 19:00:22 +02:00
parent f5c499a923
commit d199217837
26 changed files with 328 additions and 210 deletions

View File

@@ -209,14 +209,13 @@ public class ActionScript3Test {
+ "trace(\"new line \\r\\n hello!\");\r\n", false);
}
@Test
public void testContinueLevels() {
decompileMethod("testContinueLevels", "var b:* = undefined;\r\n"
+ "var c:* = undefined;\r\n"
+ "var d:* = undefined;\r\n"
+ "var e:* = undefined;\r\n"
+ "var a:* = 5;\r\n"
+ "loopswitch3:\r\n"
+ "loop3:\r\n"
+ "switch(a)\r\n"
+ "{\r\n"
+ "case 57 * a:\r\n"