You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Jason Stitt (JIRA)" <ji...@apache.org> on 2015/02/08 22:17:34 UTC
[jira] [Created] (FLEX-34743) sampleCIProject in FlexUnit has
failing tests out of the box
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)