Hi,

On Mar 26, 4:15 pm, gyuri <[email protected]> wrote:
> Can EasyMock be used with Android SDK to test my code?
> ...

How did you run that test case? You cannot run tests against Android
classes (or tests which stub them) just by running your tests as a
Junit program or whatever. You cannot access Android classes from
outside the emulator, so you will have to use Android's
Instrumentation mechanisms to run your tests. Doing so should get rid
of weird class loader errors.

Cheers,
Matthias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to