public class

UiAutomatorInstrumentationTestRunner

extends InstrumentationTestRunner
java.lang.Object
   ↳ android.app.Instrumentation
     ↳ android.test.InstrumentationTestRunner
       ↳ android.support.test.uiautomator.UiAutomatorInstrumentationTestRunner

Class Overview

Test runner for UiAutomatorTestCases. Such tests are executed on the device and have access to an applications context.

Summary

[Expand]
Inherited Constants
From class android.test.InstrumentationTestRunner
From class android.app.Instrumentation
Public Constructors
UiAutomatorInstrumentationTestRunner()
Public Methods
void onStart()
Protected Methods
AndroidTestRunner getAndroidTestRunner()
void initializeUiAutomatorTest(UiAutomatorTestCase test)
Perform initialization specific to UiAutomator test.
[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 UiAutomatorInstrumentationTestRunner ()

Public Methods

public void onStart ()

Protected Methods

protected AndroidTestRunner getAndroidTestRunner ()

protected void initializeUiAutomatorTest (UiAutomatorTestCase test)

Perform initialization specific to UiAutomator test. It sets up the test case so that it can access the UiDevice and gives it access to the command line arguments.

Parameters
test UiAutomatorTestCase to initialize.