第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧

android.support.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