[android-developers] Re: How do you save the state of an activity on an ActivityUnitTestCase

2009-01-28 Thread J . Pablo Fernández
Thanks. I did give ActivityInstrumentationTestCase a try but it didn't work. Now I gave it another try with a fresh look and it's partly running (the test is failing, but I believe the problem is somewhere else so if I post I'd do it as another thread). On Sat, Jan 24, 2009 at 9:19 AM, Andrew Sta

[android-developers] Re: How do you save the state of an activity on an ActivityUnitTestCase

2009-01-24 Thread Andrew Stadler
Pablo- ActivityUnitTestCase is extremely limited in its support for operations that require interfacing with the rest of the system, because the Activity is never attached to the Activity Manager or the rest of the runtime. It may be possible to fix this particular case (so you can make this cal