flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Getting Mustella to work.
Date Thu, 30 Aug 2012 05:38:58 GMT
Here's a SWF timeout:

On 8/29/12 8:56 PM, "Alex Harui" <aharui@adobe.com> wrote:

> On 8/29/12 7:14 PM, "Kiel" <kiel.s.sinfuego@gmail.com> wrote:
>> Greetings,
>> 1. What will I see on the error log If the fail is timeouts
>> ... will it be like "property_scriptTimeLimit_test1 Failed"?
> It depends on what kind of timeout.  Here is a step timeout from the console
> output:
>      [java] gumbo/components/RadioButton/properties/FxRadioButton_properties
> FxRadioButton_select_icon Failed DispatchMouseClickEvent(body:step 1)
> Timeout waiting for updateComplete from srg.s1
> It tells you what step number failed and what event it was waiting for.  I
> don't have a SWF timeout's output handy, but it does not tell you what step
> number failed.
> So far I've found a couple of reasons for SWF timeouts:
> 1) An uncaught exception is thrown.  In this case the stack trace is in the
> .log file for the SWF.
> 2) A really slow SWF.  Sometimes a SWF is creating tons of widgets up front
> and can't get output to the test engine in time.  Other times, the SWF
> doesn't have the correct fonts embedded and lots of warnings go into the log
> and that delays getting output to the test engine.
>> 2. Is there a way to check that the Embedded Fonts are working in Mustella?
> There is a CheckEmbeddedFonts mixin, but it currently only works for MX
> components.  You can look at the log to see if warnings are going in there.
> I can tell generally because the fonts are Times New Roman in Spark if the
> font isn't embedded.  Or it will show up in the debug console when I run the
> SWF.
>> Mustella is something very new for me and I'm very much interested in
>> learning.
>> Very much appreciated.
>> Regards,
>> On 8/29/2012 10:33 PM, Alex Harui wrote:
>>> On 8/29/12 6:22 AM, "Peter Ent" <pent@adobe.com> wrote:
>>>> Hi,
>>>> Are the fails from timeouts? If so, reboot your machine and try again.
>>>> There is an issue with LocalConnection and I recall that Alex put a change
>>>> into Mustella to deal with it, but it might not fix it all the time (be
>>>> sure to sync mustella/as3 from the develop branch). Having so many
>>>> failures is generally a sign of this happening. I noted this on the Wiki,
>>>> but it might need to stand out more.
>>> Also make sure you have embedded font support installed and working.

Alex Harui
Flex SDK Team
Adobe Systems, Inc.

View raw message