Jozef Chutka created FLEX-33391:
-----------------------------------

             Summary: Flex 4.9.0 with AIR 3.6 - broken FlexUnitTestRunnerUI
                 Key: FLEX-33391
                 URL: https://issues.apache.org/jira/browse/FLEX-33391
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.9.0
         Environment: windows
            Reporter: Jozef Chutka


1. download flex sdk to 4.9.0 and air 3.6
2. use in flex builder
3. try to execute unit tests
4. see error:
Description     Resource        Path    Location        Type
'FlexUnitTestRunnerUI' declaration must be contained within the <Declarations> 
tag, since it is not assignable to the default property's type 'Array' or 
element type 'mx.core.IVisualElement'. FlexUnitApplication.mxml        
/ViewDesktop/src/main/flex      line 40 Flex Problem

5. try to move FlexUnitTestRunnerUI into Declarations
Description     Resource        Path    Location        Type
1067: Implicit coercion of a value of type flexunit.flexui:FlexUnitTestRunnerUI 
to an unrelated type Object.    FlexUnitApplication.mxml        
/ViewDesktop/src/main/flex      Unknown Flex Problem
1067: Implicit coercion of a value of type flexunit.flexui:FlexUnitTestRunnerUI 
to an unrelated type Object.    FlexUnitApplication.mxml        
/ViewDesktop/src/main/flex      Unknown Flex Problem
1176: Comparison between a value with static type Object and a possibly 
unrelated type flexunit.flexui:FlexUnitTestRunnerUI.    
FlexUnitApplication.mxml        /ViewDesktop/src/main/flex      Unknown Flex 
Problem

unit tests works with Flex 4.9.0 + AIR 3.4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to