Add our first AVM2 regression test: hello world!

This commit is contained in:
David Wendt 2020-02-23 22:28:37 -05:00
parent 7d576203c9
commit a2dfffc56e
5 changed files with 7 additions and 0 deletions

View File

@ -227,6 +227,7 @@ swf_tests! {
(set_interval, "avm1/set_interval", 20),
(context_menu, "avm1/context_menu", 1),
(context_menu_item, "avm1/context_menu_item", 1),
(as3_hello_world, "avm2/hello_world", 1),
}
// TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough.

View File

@ -0,0 +1,5 @@
package {
public class Test {}
}
trace("Hello world!");

View File

@ -0,0 +1 @@
Hello world!

Binary file not shown.

Binary file not shown.