testing-samples icon indicating copy to clipboard operation
testing-samples copied to clipboard

Removed deprecated IntentsTestRule and applied ActivityScenarioRule instead.

Open marcodallaba opened this issue 4 years ago • 1 comments

In DialerActivityTest class, it is used IntentsTestRule that is a deprecated class. I corrected it using ActivityScenarioRule and Intents.init() and Intents.release() instead.

marcodallaba avatar May 03 '21 07:05 marcodallaba

@brettchabot got it. Anyway I think there's a missing dependency, since if I open the project I cannot resolve com.google.common.collect.Iterables

Maybe implementation("com.google.guava:guava:30.1.1-android") is missing in build.gradle? Let me know if I have to add it.

Thank you

marcodallaba avatar May 03 '21 16:05 marcodallaba