Take a look at the presentation posted at http://dtmilano.blogspot.com/2011/08/linuxcon-2011-north-america.html. Slide 113 will answer your question but I recommend you follow the complete example.
On Aug 25, 4:49 am, Ryan Huang <[email protected]> wrote: > Hi All, > I want to do some plain junit testing(using TestCase) for some utility > classes. I followed the guide > inhttp://developer.android.com/resources/tutorials/testing/helloandroid... > But the problem is, the test is a separate project, when I wrote > TestCase I cannot import the utility class since it's in the target > project. Any idea how to achieve this? > Thanks! > > Best Regards, > Ryan -- 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

