It seems Instrumented testing on an activity on an Android Wear is the same as on an Android Phone. But how can we test Watchface Configuration Activities ?
I got an activity extending BaseCOnfigActivity and when I try to run Instrumented Tests on it I got the error "Could not launch activity".
Which is quite normal since a configuration activity needs it's corresponding watchface service running. So I tried launching the service first with no result.
Is there a way to test those activities ?
Aucun commentaire:
Enregistrer un commentaire