[android-developers] Re: JUnit and ClassNotFoundException

2009-03-13 Thread Gavin Aiken
Hi Xav, Thanks for the tip, I'm still having trouble setting up the test project; File New Android Project Create new android project Create Project from existing source android/android-sdk-linux_x86-1.1_r1/samples/ApiDemos/tests ! No activity name defined in

[android-developers] Re: JUnit and ClassNotFoundException

2009-03-06 Thread Gavin Aiken
Hi Bo, Did you resolve this issue? I'm having a similar problem. My test suite is a separate eclipse project, I need to test my android program against a desktop Java program in order to verify that I have ported the application correctly. To so this I need to use classes from both the JAI

[android-developers] Re: JUnit and ClassNotFoundException

2009-03-06 Thread Xavier Ducrohet
The only way to test code that uses Android API is on a device or emulator. Look at instrumentation projects such as the ApiDemos test project (samples/ApiDemos/tests/) You will need to create an Eclipse project for ApiDemos and one of the test project. ADT doesn't fully support this at this