use of com.yarolegovich.discretescrollview.context.TestActivity in project DiscreteScrollView by yarolegovich.
the class DiscreteScrollViewTest method setUp.
@Before
@CallSuper
public void setUp() {
TestActivity activity = testActivity.getActivity();
scrollView = activity.getScrollView();
adapter = testActivity.getActivity().getAdapter();
List<IdlingResource> resources = activity.getIdlingResources();
idlingResources = resources.toArray(new IdlingResource[resources.size()]);
IdlingRegistry.getInstance().register(idlingResources);
}
Aggregations