You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Jozef Chutka (JIRA)" <ji...@apache.org> on 2013/08/28 11:22:52 UTC
[jira] [Updated] (FLEX-33689) Flex Library project unit tests
creates invalid FlexUnitApplication.mxml
[ https://issues.apache.org/jira/browse/FLEX-33689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Chutka updated FLEX-33689:
--------------------------------
Description:
reproduce:
1. create Flex Library project (generic library, Flex 4.10.0 + AIR 3.8 SDK, exclude AIR libraries)
2. right click project, new, Test Case Class
3. create a simple [Test] function inside
4. right click project, Execute FlexUnit Tests
5. compilation fails with
Encountered errors or warnings while building project FlexUnitApplication.mxml.
FlexUnitApplication.mxml: Initializer for 'layout': values of type spark.layouts.supportClasses.LayoutBase cannot be represented in text.
file created:
<?xml version="1.0" encoding="utf-8"?>
<!-- This is an auto generated file and is not intended for modification. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:flexui="flexunit.flexui.*"
minWidth="955" minHeight="600" creationComplete="onCreationComplete()"
layout="absolute">
...
was:
reproduce:
1. create Flex Library project (generic library, Flex 4.10.0 + AIR 3.8 SDK, exclude AIR libraries)
2. right click project, new, Test Case Class
3. create a simple [Test]
4. right click project, Execute FlexUnit Tests
5. compilation fails with
Encountered errors or warnings while building project FlexUnitApplication.mxml.
FlexUnitApplication.mxml: Initializer for 'layout': values of type spark.layouts.supportClasses.LayoutBase cannot be represented in text.
file created:
<?xml version="1.0" encoding="utf-8"?>
<!-- This is an auto generated file and is not intended for modification. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:flexui="flexunit.flexui.*"
minWidth="955" minHeight="600" creationComplete="onCreationComplete()"
layout="absolute">
...
> Flex Library project unit tests creates invalid FlexUnitApplication.mxml
> ------------------------------------------------------------------------
>
> Key: FLEX-33689
> URL: https://issues.apache.org/jira/browse/FLEX-33689
> Project: Apache Flex
> Issue Type: Bug
> Affects Versions: Apache Flex 4.10.0
> Environment: windows 7
> Reporter: Jozef Chutka
> Labels: layout, unit-test
>
> reproduce:
> 1. create Flex Library project (generic library, Flex 4.10.0 + AIR 3.8 SDK, exclude AIR libraries)
> 2. right click project, new, Test Case Class
> 3. create a simple [Test] function inside
> 4. right click project, Execute FlexUnit Tests
> 5. compilation fails with
> Encountered errors or warnings while building project FlexUnitApplication.mxml.
> FlexUnitApplication.mxml: Initializer for 'layout': values of type spark.layouts.supportClasses.LayoutBase cannot be represented in text.
> file created:
> <?xml version="1.0" encoding="utf-8"?>
> <!-- This is an auto generated file and is not intended for modification. -->
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx"
> xmlns:flexui="flexunit.flexui.*"
> minWidth="955" minHeight="600" creationComplete="onCreationComplete()"
> layout="absolute">
> ...
--
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