Hi Josh, sounds like you found some other runtime versioning issues for
that - please go ahead and add the variation in for the test or add an
ignore for that test for now if you want. I can also check it with latest
player as well when I'm back next week.

On Wed, 22 Jan 2020, 12:36 Josh Tynjala, <[email protected]> wrote:

> Some more info after additional testing.
>
> - The playerVersion variable is 32, as expected.
> - The value of prefix is an empty string, which seems to be the same as
> when playerVersion is <= 20.
> - If I change the code so that permitEmptyString is true, the test passes.
>
> So, assuming that if something changed in Flash after version 20, it seems
> to have been changed back in a more recent version.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Jan 21, 2020 at 3:24 PM Josh Tynjala <[email protected]>
> wrote:
>
> > I'm getting the following failure from RoyaleUnit for the XML project,
> > which means that I cannot build the framework with Ant right now.
> >
> > Error: expected true but was false - unexpected prefix value
> > at
> >
> org.apache.royale.test::Assert$/failWithUserMessage()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:199]
> > at
> >
> org.apache.royale.test::Assert$/failFalse()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:122]
> > at
> >
> org.apache.royale.test::Assert$/assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/Assert.as:68]
> > at
> >
> global/org.apache.royale.test.asserts::assertTrue()[/org/apache/royale/0.9.7/org/apache/royale/test/asserts/assertTrue.as:28]
> > at
> >
> flexUnitTests.xml::XMLNamespaceTest/testMinimalDefault()[C:\Users\josht\Development\apache\royale-asjs\frameworks\projects\XML\src\test\royale\flexUnitTests\xml\XMLNamespaceTest.as:121]
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/continueNext()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:292]
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/continueAll()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:246]
> > at
> >
> org.apache.royale.test.runners::MetadataRunner/run()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/MetadataRunner.as:207]
> > at
> >
> org.apache.royale.test.runners::ParentRunner/createNextRunner()[/org/apache/royale/0.9.7/org/apache/royale/test/runners/ParentRunner.as:199]
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at SetIntervalTimer/onTimer()
> > at flash.utils::Timer/_timerDispatch()
> > at flash.utils::Timer/tick()
> >
> > Strangely, this same failure doesn't seem to happening on the CI server.
> >
> > I see that this test expects different behavior depending on which
> version
> > of Flash Player is being used. Maybe it's something related to that. I
> > happen to be using Flash Player 32.0.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
>

Reply via email to