testing-samples
testing-samples copied to clipboard
Removed deprecated IntentsTestRule and applied ActivityScenarioRule instead.
In DialerActivityTest class, it is used IntentsTestRule that is a deprecated class. I corrected it using ActivityScenarioRule and Intents.init() and Intents.release() instead.
@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