CompanionTestAppInstallSetup

public class CompanionTestAppInstallSetup
extends TestAppInstallSetup

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.TestAppInstallSetup
       ↳ com.android.tradefed.targetprep.companion.CompanionTestAppInstallSetup


A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo#getTestsDir() folder onto an allocated companion device.

Note that this implies the test artifact in question in built into primary device build but also suitable for companion device

Summary

Public constructors

CompanionTestAppInstallSetup()

Public methods

ITestDevice getDevice()

Returns the device that the preparer should apply to.

Public constructors

CompanionTestAppInstallSetup

public CompanionTestAppInstallSetup ()

Public methods

getDevice

public ITestDevice getDevice ()

Returns the device that the preparer should apply to.

Returns
ITestDevice

Throws
TargetSetupError