Currently, the only way to create unit tests for such operations is to use the wait function. However, async operations have a nasty habit of always finishing after the waiting time is over, which causes an unjust test failure.
So I've made extension to the unittest library, which allows me to delay a bunch of tests until I decide when the operation is finished. This is pretty much what the code looks like: http://pastebin.ca/737294 Should I file this as a bug in trac? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---