Android代码 okhttp idling resource
OkHttp Idling Resource An Espresso IdlingResource for OkHttp. Usage With your OkHttpClient instance, create an idling resource: OkHttpClient client = // ... IdlingResource resource = OkHttp3IdlingResource.create("OkHttp", client); Register the idling resource with Espresso before any of your tests.
用户评论