From 3b52dfe2bae2704af8558db39d9a3ef8a7b11adf Mon Sep 17 00:00:00 2001 From: David Wendt Date: Sun, 8 Mar 2020 22:39:32 -0400 Subject: [PATCH] Since we have an `es3_inheritance` test now, rename the existing inheritance test to `es4_inheritance`. --- core/tests/regression_tests.rs | 4 ++-- .../avm2/{inheritance => es4_inheritance}/Test.as | 0 .../{inheritance => es4_inheritance}/output.txt | 0 .../avm2/{inheritance => es4_inheritance}/test.fla | Bin .../avm2/{inheritance => es4_inheritance}/test.swf | Bin 5 files changed, 2 insertions(+), 2 deletions(-) rename core/tests/swfs/avm2/{inheritance => es4_inheritance}/Test.as (100%) rename core/tests/swfs/avm2/{inheritance => es4_inheritance}/output.txt (100%) rename core/tests/swfs/avm2/{inheritance => es4_inheritance}/test.fla (100%) rename core/tests/swfs/avm2/{inheritance => es4_inheritance}/test.swf (100%) diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 209fa937d..722927ab5 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -232,7 +232,8 @@ swf_tests! { (as3_function_call_via_call, "avm2/function_call_via_call", 1), (as3_constructor_call, "avm2/constructor_call", 1), (as3_class_methods, "avm2/class_methods", 1), - (as3_inheritance, "avm2/inheritance", 1), + (as3_es3_inheritance, "avm2/es3_inheritance", 1), + (as3_es4_inheritance, "avm2/es4_inheritance", 1), (as3_stored_properties, "avm2/stored_properties", 1), (as3_virtual_properties, "avm2/virtual_properties", 1), (as3_es4_oop_prototypes, "avm2/es4_oop_prototypes", 1), @@ -251,7 +252,6 @@ swf_tests! { (as3_object_to_locale_string, "avm2/object_to_locale_string", 1), (as3_function_to_locale_string, "avm2/function_to_locale_string", 1), (as3_class_to_locale_string, "avm2/class_to_locale_string", 1), - (as3_es3_inheritance, "avm2/es3_inheritance", 1), } // TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough. diff --git a/core/tests/swfs/avm2/inheritance/Test.as b/core/tests/swfs/avm2/es4_inheritance/Test.as similarity index 100% rename from core/tests/swfs/avm2/inheritance/Test.as rename to core/tests/swfs/avm2/es4_inheritance/Test.as diff --git a/core/tests/swfs/avm2/inheritance/output.txt b/core/tests/swfs/avm2/es4_inheritance/output.txt similarity index 100% rename from core/tests/swfs/avm2/inheritance/output.txt rename to core/tests/swfs/avm2/es4_inheritance/output.txt diff --git a/core/tests/swfs/avm2/inheritance/test.fla b/core/tests/swfs/avm2/es4_inheritance/test.fla similarity index 100% rename from core/tests/swfs/avm2/inheritance/test.fla rename to core/tests/swfs/avm2/es4_inheritance/test.fla diff --git a/core/tests/swfs/avm2/inheritance/test.swf b/core/tests/swfs/avm2/es4_inheritance/test.swf similarity index 100% rename from core/tests/swfs/avm2/inheritance/test.swf rename to core/tests/swfs/avm2/es4_inheritance/test.swf