Android APIs
public class

MultiDexTestRunner

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

Class Overview

InstrumentationTestRunner for testing application needing multidex support.

Summary

[Expand]
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.
[Expand]
Inherited Methods
From class android.test.InstrumentationTestRunner
From class android.app.Instrumentation
From class java.lang.Object
From interface android.test.TestSuiteProvider

Public Constructors

public MultiDexTestRunner ()

Public Methods

public 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 Any additional arguments that were supplied when the instrumentation was started.