class IntentsRule : ExternalResource


Rule for performing set up and tear down of Espresso-Intents API.

Usage: @Rule public IntentsRule intentsRule = new IntentsRule()

Then in a test method: Intents.intended(IntentMatchers.hasComponent("com.example.FooActivity"))

Summary

Public constructors

Protected functions

open Unit
open Unit

Inherited functions

From org.junit.rules.ExternalResource
open Statement

Public constructors

IntentsRule

IntentsRule()

Protected functions

after

protected open fun after(): Unit

before

protected open fun before(): Unit