mercredi 9 novembre 2016

How to add an Activity to blacklist in android monkey test?

In Android monkey test, I must exclude some activities that I don't want to test.

I try to set ActivityLifecycleCallbacks on all Activities, and call finish() in onActivityCreated, onActivityStarted and onActivityResumed with some Activities I don't want to test. But sometimes it's still not working.

Could I add these Activities into something like blacklist? Thanks!

Aucun commentaire:

Enregistrer un commentaire