jeudi 3 septembre 2015

Verifying that async task run with robolectric 3

I have a method that starts couple of async tasks on background thread:

void fetchSome() {
    new SomeTask1().execute();
    new SomeTask2().execute();
    new SomeTask3().execute();
}

How can I test this with Robolectric 3.0.

Aucun commentaire:

Enregistrer un commentaire