How do I delay the running of an android test so that an AsyncTask is finished first?
<p>I'm writing a test for my android app. The app loads in some external data into a view using an AsyncTask. I want to test that the AsyncTask worked and that the data is properly placed into the view. The problem is that my test is running (and failing) before the AsyncTask is complete.</p>

<p>What's the best way of handling this scenario?</p>
