欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

androidx.test.runner.intent

Interfaces

IntentCallback Callback for monitoring Intents captured by Instrumentation
IntentMonitor Interface for tests to use when they need to monitor intents used to start activities from the current Instrumentation
IntentStubber Interface to intercept activity launch for a given Intent and stub Instrumentation.ActivityResult its response. 

Classes

IntentMonitorRegistry Exposes an implementation of IntentMonitor to users. 
IntentStubberRegistry Exposes an implementation of IntentStubber