Java 类android.support.test.espresso.contrib.CountingIdlingResource 实例源码

项目:RxBinding    文件:RxSlidingPaneLayoutTest.java   
@Before public void setUp() {
  RxSlidingPaneLayoutTestActivity activity = activityRule.getActivity();
  view = activity.slidingPaneLayout;

  idler = new CountingIdlingResource("counting idler");
  Espresso.registerIdlingResources(idler);
}
项目:android-topeka    文件:QuizActivity.java   
@SuppressWarnings("unused")
@VisibleForTesting
public CountingIdlingResource getCountingIdlingResource() {
    return mCountingIdlingResource;
}
项目:material-activity-chooser    文件:IdlingResourceBottomSheetCallback.java   
public IdlingResourceBottomSheetCallback(BottomSheetBehavior.BottomSheetCallback wrappedCallback, CountingIdlingResource mBottomSheetIdlingResource) {
    this.mWrappedCallback = wrappedCallback;
    this.mBottomSheetIdlingResource = mBottomSheetIdlingResource;
}
项目:CleanGUITestArchitecture    文件:CountingIdlingResourceListenerImpl.java   
public CountingIdlingResourceListenerImpl(final String idlingResourceName) {
    mCountingIdlingResource = new CountingIdlingResource(idlingResourceName);
}
项目:CleanGUITestArchitecture    文件:CountingIdlingResourceListenerImpl.java   
public CountingIdlingResource getCountingIdlingResource() {
    return mCountingIdlingResource;
}