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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun addResults(p0: Bundle)
Link copied to clipboard
open override fun callActivityOnCreate(activity: Activity, bundle: Bundle)
Link copied to clipboard
open override fun callActivityOnDestroy(activity: Activity)
Link copied to clipboard
Link copied to clipboard
open override fun callActivityOnPause(activity: Activity)
Link copied to clipboard
Link copied to clipboard
open override fun callActivityOnRestart(activity: Activity)
Link copied to clipboard
open override fun callActivityOnResume(activity: Activity)
Link copied to clipboard
open override fun callActivityOnStart(activity: Activity)
Link copied to clipboard
open override fun callActivityOnStop(activity: Activity)
Link copied to clipboard
Link copied to clipboard
open override fun callApplicationOnCreate(app: Application)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun execStartActivities(who: Context, contextThread: IBinder, token: IBinder, target: Activity, intents: Array<Intent>, options: Bundle)
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
open override fun finish(resultCode: Int, results: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun interceptActivityUsing(interceptingActivityFactory: InterceptingActivityFactory)
Link copied to clipboard
Link copied to clipboard
open fun invokeMenuActionSync(p0: Activity, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun isProfiling(): Boolean
Link copied to clipboard
open override fun newActivity(cl: ClassLoader, className: String, intent: Intent): Activity
open override 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
open override fun newApplication(cl: ClassLoader, name: String, context: Context): Application
Link copied to clipboard
open override fun onCreate(arguments: Bundle)
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
open override fun onException(obj: Any, e: Throwable): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun onStart()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun resetInTouchMode()
Link copied to clipboard
open override fun runOnMainSync(runnable: Runnable)
Link copied to clipboard
open fun sendCharacterSync(p0: Int)
Link copied to clipboard
open fun sendKeyDownUpSync(p0: Int)
Link copied to clipboard
open fun sendKeySync(p0: KeyEvent)
Link copied to clipboard
Link copied to clipboard
open override fun sendStatus(resultCode: Int, results: Bundle)
Link copied to clipboard
open fun sendStringSync(p0: String)
Link copied to clipboard
Link copied to clipboard
open fun setInTouchMode(p0: Boolean)
Link copied to clipboard
open fun start()
Link copied to clipboard
open override fun startActivitySync(intent: Intent): Activity
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun startProfiling()
Link copied to clipboard
Link copied to clipboard
open fun stopProfiling()
Link copied to clipboard
open fun waitForIdle(p0: Runnable)
Link copied to clipboard
open fun waitForIdleSync()
Link copied to clipboard