I was wondering, is there a convenient way to set up activity intents separately for each test (other than in setUp), to avoid creating additional test cases for each intent variation that i intend to run tests on?
I tried this command sequence:
activity.finish(); setActivity(null); setActivityIntent(newIntent); activity = getActivity();
but when i ran the test, the contents of activity were based on the original intent set in setUp().
Aucun commentaire:
Enregistrer un commentaire