public interface

IRemoteTest

com.android.tradefed.testtype.IRemoteTest
Known Indirect Subclasses

Class Overview

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

public abstract void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener the ITestInvocationListener of test results