ASDateTests extends ASFeatureTestsBase. In ASFeatureTestsBase, you can see
the getAS() method where the code for the test is generated. If
playerglobal.swc is available, it creates a main class for Flash that
extends Sprite. If playerglobal.swc is not available, the main class does
not extend Sprite.

With this in mind, it looks like the tests can't find playerglobal.swc, for
some reason. I can reproduce this issue locally on my computer by running
the tests without the PLAYERGLOBAL_HOME variable set (or by setting it to a
bad location). I can also reproduce if PLAYERGLOBAL_VERSION is set to the
wrong version.

I'll try to help you investigate some more, but I thought I'd share what I
found so far.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Jun 28, 2021 at 5:12 AM Yishay Weiss <yishayj...@hotmail.com> wrote:

> The standalone flash player pops up messages such as
>
>
> TypeError: Error #2023: Class ASDateTests4516718174320608253$ must inherit
> from Sprite to link to the root.
>
> If I click ‘continue’ then the tests seem to pass, but I can’t do that in
> a build script.
>
> You can see log [1] of tests failure here
>
> [1] Royale_Release_Step_013 #12 Console [Jenkins] (azure.com)<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_Release_Step_013/12/console
> >
>
> Any thoughts?
>

Reply via email to