Hello, The main test class GWTTestCase contains two method which are used in this situation: delayTestFinish() and finishTest. The first tells on the test to wait some time to allow on async callback to be executed where the second tells on the test class to end it's execution. To see more information about this methods, please check the java doc.
I hope that my explanation has made the things more clear for you. Regards, Miroslav neversaydie wrote: > Hello, > > I am facing a issue while writing a test cases for asynchronous call > back through my http servlet. > > Problem is all my test cases fail because the response sent by the > servlet will be delayed for some time since we are dealing with the > asynchronous call backs. > > can somebody suggest me on how to write test cases for these > servlets ? > > Thank you > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
