6 Replies Latest reply on Dec 11, 2014 4:51 PM by marcelo.lopes

    Unit test code problem

    nikos101 Level 2

      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>