Building unit tests for asp.net mvc2 async controller actions that return data -


i've had around , can't seem specific answer above question. example, thread:

building unit tests mvc2 asynccontrollers

talks waiting async actions finish, great, need able retrieve data returned completed method.

cheers, andrew.

one way make event handler:

controller.asyncmanager.finished += (sender, ev) => {                                                   var result = controller.transactioncompleted();                                                   trigger.set();                                                 } 

Comments

Popular posts from this blog

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -