use of com.ichi2.anki.RobolectricTest in project Anki-Android by ankidroid.
the class ReviewerTest method startReviewer.
public static <T extends Reviewer> T startReviewer(RobolectricTest testClass, Class<T> clazz) {
T reviewer = startActivityNormallyOpenCollectionWithIntent(testClass, clazz, new Intent());
waitForAsyncTasksToComplete();
return reviewer;
}
Aggregations