PushFileInvoker

public class PushFileInvoker
extends TestFilePushSetup implements ITargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.TestFilePushSetup
     ↳ com.android.tradefed.targetprep.PushFileInvoker


A ITargetPreparer that pushes files from tests zip onto device, mark them as executable and invokes the binary or script on device. See also TestFilePushSetup.

Summary

Public constructors

PushFileInvoker()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Public constructors

PushFileInvoker

PushFileInvoker ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device ITestDevice: the ITestDevice to prepare.

buildInfo IBuildInfo: data about the build under test.

Throws
TargetSetupError
BuildError
DeviceNotAvailableException