Jason Stitt created FLEX-34743:
----------------------------------

             Summary: sampleCIProject in FlexUnit has failing tests out of the 
box
                 Key: FLEX-34743
                 URL: https://issues.apache.org/jira/browse/FLEX-34743
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexUnit
    Affects Versions: FlexUnit 4.2
         Environment: OS X Yosemite, Flex 4.14.0
            Reporter: Jason Stitt


To get started with FlexUnit I built the sampleCIProject in the binary 
distribution with Ant. Both of the tests in EchoPanelTest failed with timeouts. 
I googled around and found some old (2013) Adobe forum discussions that said 
that UIImpersonator doesn't work anymore with newer Flex versions. I replaced 
this line:

UIImpersonator.addChild(panel);

with:

FlexGlobals.topLevelApplication.addElement(panel);

(and put in an import mx.core.FlexGlobals;) and the tests passed.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to