IRemoteTest

public interface IRemoteTest

com.android.tradefed.testtype.IRemoteTest


A test that reports results directly to a ITestInvocationListener.

This has the following benefits over a JUnit Test

  • easier to report the results of a test that has been run remotely on an Android device, as the results of a remote test don't need to be unnecessarily marshalled and unmarshalled from Test objects.
  • supports reporting test metrics

Summary

Public methods

abstract void run(ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Public methods

run

public abstract void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener ITestInvocationListener: the ITestInvocationListener of test results

Throws
DeviceNotAvailableException