public class

TestInvocation

extends Object
implements ITestInvocation
java.lang.Object
   ↳ com.android.tradefed.invoker.TestInvocation

Class Overview

Default implementation of ITestInvocation.

Loads major objects based on IConfiguration - retrieves build - prepares target - runs tests - reports results

Summary

Public Constructors
TestInvocation()
Public Methods
void invoke(ITestDevice device, IConfiguration config, IRescheduler rescheduler)
Perform the test invocation.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.invoker.ITestInvocation

Public Constructors

public TestInvocation ()

Public Methods

public void invoke (ITestDevice device, IConfiguration config, IRescheduler rescheduler)

Perform the test invocation.

Parameters
device the ITestDevice to perform tests. May be null if tests to run are not dependent on a device
config the IConfiguration of this test run.
rescheduler the IRescheduler, for rescheduling portions of the invocation for execution on another resource(s)
Throws
DeviceNotAvailableException
Throwable

public String toString ()