@Before public void setUp() { RxSlidingPaneLayoutTestActivity activity = activityRule.getActivity(); view = activity.slidingPaneLayout; idler = new CountingIdlingResource("counting idler"); Espresso.registerIdlingResources(idler); }
@SuppressWarnings("unused") @VisibleForTesting public CountingIdlingResource getCountingIdlingResource() { return mCountingIdlingResource; }
public IdlingResourceBottomSheetCallback(BottomSheetBehavior.BottomSheetCallback wrappedCallback, CountingIdlingResource mBottomSheetIdlingResource) { this.mWrappedCallback = wrappedCallback; this.mBottomSheetIdlingResource = mBottomSheetIdlingResource; }
public CountingIdlingResourceListenerImpl(final String idlingResourceName) { mCountingIdlingResource = new CountingIdlingResource(idlingResourceName); }
public CountingIdlingResource getCountingIdlingResource() { return mCountingIdlingResource; }