Skip to content

Exercise 4 TODO 6 and 8 registerIdlingResources() and unregisterIdlingResources() are deprecated #18

@mkillewald

Description

@mkillewald

https://stackoverflow.com/questions/47078005/why-is-espressos-registeridlingresources-deprecated-and-what-replaces-it

In TODO (6) Instead of:
Espresso.registerIdlingResources(mIdlingResource);
use:
IdlingRegistry.getInstance().register(mIdlingResource);

In TODO (8) instead of:
Espresso.unregisterIdlingResources(mIdlingResource);
use:
IdlingRegistry.getInstance().unregister(mIdlingResource);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions