Thank you for your reply! Very possibly there is another solution.
The problem to be solved is that I want to run some test scripts stored as assets to test multiple activities. The test scripts need access to the activity to be tested. This is normally done by subclassing ActivityInstrumentationTestCase2, so my plan was to generate subclass of ActivityInstrumentationTestCase2 for each activity to be tested, and let this class scan the assets directory for related test scripts and run them. Using junit.framework, I would like to define one TestCase per script, or multiple TestCase instances per script. If the suite() method of the ActivityInstrumentationTestCase2 subclass could scan the assets directory, I would not need to scan for classes. Is this possible? How can I scan assets in a static context? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en