Re: [android-developers] Testing with Activity Monitor

2011-04-11 Thread Dianne Hackborn
What is the error you are getting? On Mon, Apr 11, 2011 at 1:30 PM, Brian Phagan wrote: > I am trying to write unit tests for my application. I have a button > that initiates a call, and to test it I am trying to use an Activity > Monitor to block the call, but for some reason the call is allow

[android-developers] Testing with Activity Monitor

2011-04-11 Thread Brian Phagan
I am trying to write unit tests for my application. I have a button that initiates a call, and to test it I am trying to use an Activity Monitor to block the call, but for some reason the call is allowed to execute, causing the test to fail. My test case is written as follows: public void test2L