flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Stitt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34743) sampleCIProject in FlexUnit has failing tests out of the box
Date Sun, 08 Feb 2015 21:17:34 GMT
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)

Mime
View raw message