mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 10:05:11 +00:00
AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope
This commit is contained in:
15
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/SetupMyPackage2.as
vendored
Normal file
15
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/SetupMyPackage2.as
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package tests_classes.mypackage2
|
||||
{
|
||||
public class SetupMyPackage2
|
||||
{
|
||||
TestClass;
|
||||
TestInterface;
|
||||
|
||||
public function SetupMyPackage2()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
15
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/TestClass.as
vendored
Normal file
15
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/TestClass.as
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package tests_classes.mypackage2
|
||||
{
|
||||
|
||||
public class TestClass implements TestInterface
|
||||
{
|
||||
public function testCall() : String
|
||||
{
|
||||
trace("pkg2hello");
|
||||
return "pkg2hello";
|
||||
}
|
||||
|
||||
public function testMethod2() : void {
|
||||
}
|
||||
}
|
||||
}
|
||||
7
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/TestInterface.as
vendored
Normal file
7
libsrc/ffdec_lib/testdata/flashdevelop/src/tests_classes/mypackage2/TestInterface.as
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package tests_classes.mypackage2
|
||||
{
|
||||
public interface TestInterface
|
||||
{
|
||||
function testMethod2() : void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user