0 Replies Latest reply on Mar 7, 2011 10:18 AM by nikos101

    FB not finding Unit testing files

    nikos101 Level 2

      Hi, why would I be getting this error for this code

       

                  token.addResponder(Async.asyncResponder(this, new AsyncResponder(onResult, faultHandler), 600));

       

      1061: Call to a possibly undefined method asyncResponder through a reference with static type Class.  

       

       

      my imports look fine

       

      import flexunit.framework.Assert;
         
          import mx.rpc.AsyncResponder;
          import mx.rpc.AsyncToken;
          import mx.rpc.events.FaultEvent;
          import mx.rpc.events.ResultEvent;
         
          import org.flexunit.async.Async;
         
          import services.AuthenticationService;

       

      Also the swc's are on my build path:

       

      C:\Program Files\Adobe\Adobe Flash Builder 4\plugins\com.adobe.flexbuilder.flexunit_4.0.0.272416\flexunitframework\libs\version4libs

       

      thx friends