Re: [flexcoders] Re: Asynchronous TestCase.setUp in FlexUnit (and another use case)

2006-09-01 Thread Kaleb Pederson
On Monday 28 August 2006 11:18 pm, Matt Chotin wrote: A rewrite is probably in order for FlexUnit. The original goal (of the folks who wrote the AS2 version) was to make it as close to JUnit as possible. With the asynchronous nature that may be more difficult. Yeah, I agree completely and

RE: [flexcoders] Re: Asynchronous TestCase.setUp in FlexUnit (and another use case)

2006-08-29 Thread Matt Chotin
: Asynchronous TestCase.setUp in FlexUnit (and another use case) Thanks Matt! Here's a real-world example of where the fixed ordering of the addAsync calls just bit me: I'm testing what is essentially an HTTPService, that could throw a result or a fault. I instinctively wrote the following

[flexcoders] Re: Asynchronous TestCase.setUp in FlexUnit (and another use case)

2006-08-25 Thread kaleb_pederson
TestCase.setUp in FlexUnit (and another use case) Matt and all, I took a quick stab at this as it didn't look too bad, but unfortunately, it isn't quite that simple. FlexUnit is written such that it expects a number of things to happen synchronously, which causes some other problems

[flexcoders] RE: Asynchronous TestCase.setUp in FlexUnit (and another use case)

2006-08-22 Thread kaleb_pederson
Matt and all, I took a quick stab at this as it didn't look too bad, but unfortunately, it isn't quite that simple. FlexUnit is written such that it expects a number of things to happen synchronously, which causes some other problems in this case. Let me explain. After modifying

RE: [flexcoders] RE: Asynchronous TestCase.setUp in FlexUnit (and another use case)

2006-08-22 Thread Matt Chotin
. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kaleb_pederson Sent: Tuesday, August 22, 2006 12:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RE: Asynchronous TestCase.setUp in FlexUnit (and another use case) Matt and all, I took