0 Replies Latest reply: Nov 19, 2010 1:25 PM by John Hall RSS

    PendUntilComplete unrecognized

    John Hall Community Member

      I'm working through the sequencing example at

      http://docs.flexunit.org/index.php?title=Fluint_Sequences but regardless of what I import, pendUntilComplete in the following method shows as undefined.

       

      [Before( async, ui )]
              public function setUp() : void {
                  form = new LoginForm();
                  form.addEventListener( FlexEvent.CREATION_COMPLETE, Async.asyncHandler( pendUntilComplete, 100 ), false, 0, true );
                  UIImpersonator.addChild( form );
              }

       

      Do I have an misspelling that I'm not catching?  My imports currently are:

       

              import flash.events.Event;
              import flash.events.TextEvent;
              import flash.events.MouseEvent;
              import mx.events.FlexEvent;
              import org.flexunit.asserts.assertEquals;
              import org.flexunit.async.Async;
              import sampleSuite.tests.mxml.LoginForm;
              import org.fluint.sequence.*;

       

      And it sounded like it should be in  the Async package.