public class

InstalledInstrumentationsTest

extends Object
implements IDeviceTest IResumableTest
java.lang.Object
   ↳ com.android.tradefed.testtype.InstalledInstrumentationsTest

Class Overview

Runs all instrumentation found on current device.

Summary

Constants
String COVERAGE_TARGET_KEY the metric key name for the test coverage target value
Public Constructors
InstalledInstrumentationsTest()
Public Methods
ITestDevice getDevice()
Get the device under test.
boolean isResumable()
void run(ITestInvocationListener listener)
Runs the tests, and reports result to the listener.
void setDevice(ITestDevice device)
Inject the device under test.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.testtype.IDeviceTest
From interface com.android.tradefed.testtype.IRemoteTest
From interface com.android.tradefed.testtype.IResumableTest

Constants

public static final String COVERAGE_TARGET_KEY

the metric key name for the test coverage target value

Constant Value: "coverage_target"

Public Constructors

public InstalledInstrumentationsTest ()

Public Methods

public ITestDevice getDevice ()

Get the device under test.

Returns

public boolean isResumable ()

public void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener the ITestInvocationListener of test results

public void setDevice (ITestDevice device)

Inject the device under test.

Parameters
device the ITestDevice to use