• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Unit test code problem

Enthusiast ,
Aug 05, 2010 Aug 05, 2010

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>

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 05, 2010 Aug 05, 2010

Copy link to clipboard

Copied

Could you please try adding a space between the quote and min_size.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 06, 2010 Aug 06, 2010

Copy link to clipboard

Copied

well the code is generated so shouldn't need to change?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 06, 2010 Aug 06, 2010

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" >

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 06, 2010 Aug 06, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 09, 2010 Aug 09, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 11, 2014 Dec 11, 2014

Copy link to clipboard

Copied

LATEST

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 ....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines