Copy link to clipboard
Copied
I'm doing my first proper unit test and I get an error, think min_size> is the problem
Element type "application" must be followed by either attribute specifications, ">" or "/>".
this generated code
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is automatically generated by Flash Builder to compile FlexUnit classes and is not intended for modification.
Please click on the "Refresh" icon in "FlexUnit Results" view to regenerate this file. -->
<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"min_size>
<fx:Script>
<![CDATA[
import flexUnitTests.serviceTestSuit;
private var flexUnitTests_serviceTestSuit_obj:flexUnitTests.serviceTestSuit;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</application>
Copy link to clipboard
Copied
Could you please try adding a space between the quote and min_size.
Copy link to clipboard
Copied
well the code is generated so shouldn't need to change?
Copy link to clipboard
Copied
sheesh now I'm getting
Could not resolve <application> to a component implementation.
<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" >
Copy link to clipboard
Copied
ok deleted everything and created new test class.
when I go to runI get to the
Select the FlexUnit tests to run.
click ok then It goes back to
Select the FlexUnit tests to run.
and so on.
The only way I can get the FlexUnitApplication to run is to run it directly
Copy link to clipboard
Copied
Hi Nikos,
Which Flash Builder build are you using?
FlexUnitApplication.mxml is generated from MXML Application/MXML Windowed Application(Flex/AIR project respectively) file templates configured in Window->Preference->File templates.
Can you take a look at the template if you see any 'min_size' available as part of the template?
However, we are unable to reproduce the issue in the latest builds.
Thanks,
Balaji
http://balajisridhar.wordpress.com
Copy link to clipboard
Copied
I'm having the same problem Flashbuider bought the license 4.7 and does not work ... crap ... my friend already has a pirate license and runs 100% ... It seems incredible ....