|
From: Elliot W. <ell...@fr...> - 2008-07-28 18:00:14
|
Does this mean that addAsync() *should* work on the AS25 ityrrell branch? I updated my project's asunit package to the bits in r200 on your sourceforge repo [0] and copied the testAsyncFeature() and changeHandler() from TestCaseExample.as into one of my testcases. I added a trace to the changeHandler() function and it is never being called. Should addAsync() be working? My app needs to run in a FP6 environment but can run the test in a newer Flash Player build. I've tested publishing to FP7 and FP8. Thanks! -e [0] https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell/framewor k/as25 On 7/14/08 11:58 AM, "asu...@li..." <asu...@li...> wrote: > > Message: 6 > Date: Mon, 14 Jul 2008 12:36:34 +0100 > From: "Ian Tyrrell" <Ia...@mo...> > Subject: [Asunit-users] asunit3 > asunit25 back-port is complete and > on my branch > To: "Mailing List for the users of AsUnit" > <asu...@li...> > Message-ID: > <B8B...@mi...> > Content-Type: text/plain; charset="us-ascii" > > Hello list, > > > > I've finished the back-port of asunit3 to asunit25 (for actionscript 2 > FP7+) and it's now available on my branch: > > > > https://asunit.svn.sourceforge.net/svnroot/asunit/branches/ityrrell > > > > This includes my revision to asunit3 that allows multiple async calls in > setUp / test* methods. > > > > I've also ported the tests that had been written against asunit3 and > used these to verify that it's working as expected. The tests do not > have 100% coverage so there will almost certainly still be some bugs. > > > > Please note that this port has ignored the previous asunit25 API > including helper methods for attaching movieClips / creating new > movieClips AND the previous AsynchronousTestCase class that could be > used for loading XML data. N.B. this isn't quite a drop-in replacement > for existing users taking advantage of these methods (yet). I propose > that people use the far more flexible addAsync(), but am open to > suggestions for a broader range of additional support for tests. I also > plan to re-implement the movieclip related helper methods and am open to > suggestions of additional functionality. > > > > Another idea I have is a set of utilities that dynamically override > aspects of the core API that will allow easier testing of tightly > coupled classes. More specifically things that are currently difficult > to test such as simulating mouse / keyboard interaction. > > > > There is still light for those of us stuck with AS2 (for the time > being)! > > > > Thanks. > > > > Ian Tyrrell > |