Most visited

Recently visited

MultiDexTestRunner

public class MultiDexTestRunner
extends InstrumentationTestRunner

java.lang.Object
   ↳ android.app.Instrumentation
     ↳ android.test.InstrumentationTestRunner
       ↳ com.android.test.runner.MultiDexTestRunner


InstrumentationTestRunner for testing application needing multidex support.

Summary

Inherited constants

From class android.test.InstrumentationTestRunner
From class android.app.Instrumentation

Public constructors

MultiDexTestRunner()

Public methods

void onCreate(Bundle arguments)

Called when the instrumentation is starting, before any application code has been loaded.

Inherited methods

From class android.test.InstrumentationTestRunner
From class android.app.Instrumentation
From class java.lang.Object
From interface android.test.TestSuiteProvider

Public constructors

MultiDexTestRunner

MultiDexTestRunner ()

Public methods

onCreate

void onCreate (Bundle arguments)

Called when the instrumentation is starting, before any application code has been loaded. Usually this will be implemented to simply call start() to begin the instrumentation thread, which will then continue execution in onStart().

If you do not need your own thread -- that is you are writing your instrumentation to be completely asynchronous (returning to the event loop so that the application can run), you can simply begin your instrumentation here, for example call startActivity(Intent) to begin the appropriate first activity of the application.

Parameters
arguments Bundle: Any additional arguments that were supplied when the instrumentation was started.

Hooray!