-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does library unregisters IdlingResource? #21
Comments
Why are you trying to unregister?
…On Sun, Sep 29, 2019, 8:23 AM IevgenGoltsev ***@***.***> wrote:
Hello,
so in RxIdler I see Espresso.registerIdlingResources call.
But I didn't see Espresso.unregisterIdlingResources or
IdlingRegistry.getInstance().unregister.
Should it be that way or I should unregister Rx idling resource manually?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AAAQIEMRI5PBW2TLSGBNOODQMCM23A5CNFSM4I3SG422YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOMAT3Q>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAQIEMK4KHDPZOB3H4627LQMCM23ANCNFSM4I3SG42Q>
.
|
Well, it is stated in documentation: |
So you're saying we should only register when work is pending and
unregister when work is done? I don't really see why that's necessary
beyond always being registered and just reporting whether there's work
based on idle state.
…On Sun, Sep 29, 2019, 9:07 AM IevgenGoltsev ***@***.***> wrote:
Well, it is stated in documentation
<https://developer.android.com/training/testing/espresso/idling-resource>:
Unregister idling resources after you're done using them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AAAQIEKUJTUGOOHUGPRLCZ3QMCSBVA5CNFSM4I3SG422YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73ULBA#issuecomment-536298884>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAQIEO6L4I45ETN4HYVOBTQMCSBVANCNFSM4I3SG42Q>
.
|
I'm just trying to follow recommendations. Anyway, I can put this init in a junit suite and solve a problem for all tests :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
so in
RxIdler
I seeEspresso.registerIdlingResources
call.But I didn't see
Espresso.unregisterIdlingResources
orIdlingRegistry.getInstance().unregister
.Should it be that way or I should unregister Rx idling resource manually?
The text was updated successfully, but these errors were encountered: