HiltTestRunner
Default Hilt test runner that Hilt does not provide out of the box Useful for running Hilt tests isolated from the rest of the application, like feature module testing
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun addMonitor(filter: IntentFilter?, result: Instrumentation.ActivityResult?, block: Boolean): Instrumentation.ActivityMonitor?
open fun addMonitor(cls: String?, result: Instrumentation.ActivityResult?, block: Boolean): Instrumentation.ActivityMonitor?
Link copied to clipboard
Link copied to clipboard
open fun callActivityOnCreate(activity: Activity?, icicle: Bundle?, persistentState: PersistableBundle?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun callActivityOnPostCreate(activity: Activity, savedInstanceState: Bundle?, persistentState: PersistableBundle?)
Link copied to clipboard
Link copied to clipboard
open fun callActivityOnRestoreInstanceState(activity: Activity, savedInstanceState: Bundle?, persistentState: PersistableBundle?)
Link copied to clipboard
Link copied to clipboard
open fun callActivityOnSaveInstanceState(activity: Activity, outState: Bundle, outPersistentState: PersistableBundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun execStartActivity(who: Context?, contextThread: IBinder?, token: IBinder?, target: Activity?, intent: Intent?, requestCode: Int): Instrumentation.ActivityResult?
open fun execStartActivity(who: Context?, contextThread: IBinder?, token: IBinder?, target: Activity?, intent: Intent?, requestCode: Int, options: Bundle?): Instrumentation.ActivityResult?
open fun execStartActivity(who: Context?, contextThread: IBinder?, token: IBinder?, target: Fragment?, intent: Intent?, requestCode: Int, options: Bundle?): Instrumentation.ActivityResult?
open fun execStartActivity(who: Context?, contextThread: IBinder?, token: IBinder?, target: String?, intent: Intent?, requestCode: Int, options: Bundle?): Instrumentation.ActivityResult?
open fun execStartActivity(who: Context?, contextThread: IBinder?, token: IBinder?, target: Activity?, intent: Intent?, requestCode: Int, options: Bundle?, user: UserHandle?): Instrumentation.ActivityResult?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun newActivity(clazz: Class<*>?, context: Context?, token: IBinder?, application: Application?, intent: Intent?, info: ActivityInfo?, title: CharSequence?, parent: Activity?, id: String?, lastNonConfigurationInstance: Any?): Activity?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun waitForMonitorWithTimeout(monitor: Instrumentation.ActivityMonitor?, timeOut: Long): Activity?