开发者

Wait on all child threads - Silverlight Unit Testing

开发者 https://www.devze.com 2023-03-03 00:06 出处:网络
I\'m trying to do a unit test of a silverlight app and the method I call ends up calling another method which does something async. At this point the thread comes all the way out without completely fi

I'm trying to do a unit test of a silverlight app and the method I call ends up calling another method which does something async. At this point the thread comes all the way out without completely finishing the process O am testing. The test then moves on an fails, is there a way I can take a thread, listen for any threads it creates and then 开发者_开发技巧waits for them to return?


Look at this website unit-testing-asynchronous-silverlight-code

0

精彩评论

暂无评论...
验证码 换一张
取 消