That depends on where you draw your line to decide what is in and outside of the "black box". If you use JUnit, and have all your Applications under test inherit from the basic test (TestCase), can't you get the "black box" test effect you desire?
On Aug 9, 3:56 am, Fabrizio Giudici <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 8/9/10 04:03 , Dianne Hackborn wrote: > > > Well if you need it, write your own code to do it. They are your > > apps, right? You can have a way for them to interact to have one > > ask the other to kill itself -- send a broadcast to it, have a > > service to bind to to send a command to it, or heck even just have > > an instrumentation test case that does a self-murder and run that > > between every real test case. > > It's what I'm doing in other cases, but this wouldn't be a black-box > testing. > > > (Note from looking at your manifest -- applications have never > > been able to get the INJECT_EVENT permission, so there is no reason > > to request it.) > > Yes, it's a residual for other tries. Thanks. > > - -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > java.net/blog/fabriziogiudici -www.tidalwave.it/people > [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ > > iEYEARECAAYFAkxf3uIACgkQeDweFqgUGxfR9gCfThS8ssQCOpmiH2O+DZv4jtpb > fg8An1grVKrBcaBFyUdnhVgjAOyRJMsB > =C1du > -----END PGP SIGNATURE----- -- 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

