mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 03:16:40 +00:00
test for removing extra jumps (currently fails), small issue with ActionEnd fixed
This commit is contained in:
@@ -16,9 +16,7 @@ import org.testng.annotations.Test;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScript2AssemblerTest {
|
||||
|
||||
private SWF swf;
|
||||
public class ActionScript2AssemblerTest extends ActionStript2TestBase {
|
||||
|
||||
@BeforeClass
|
||||
public void init() throws IOException {
|
||||
@@ -26,15 +24,6 @@ public class ActionScript2AssemblerTest {
|
||||
swf = new SWF(new FileInputStream("testdata/as2/as2.swf"), false);
|
||||
}
|
||||
|
||||
private DoActionTag getFirstActionTag() {
|
||||
for (Tag t : swf.tags) {
|
||||
if (t instanceof DoActionTag) {
|
||||
return (DoActionTag) t;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testModifiedConstantPools() {
|
||||
String actionsString = "ConstantPool \"ok\"\n" +
|
||||
|
||||
Reference in New Issue
Block a user