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


用于将 IDeviceBuildInfo.getTestsDir() 文件夹中的一个或多个应用安装到分配的配套设备上的 ITargetPreparer

请注意,这意味着相关测试工件内置于主要设备 build 中,但也适用于配套设备

摘要

公共构造函数

CompanionTestAppInstallSetup()

公共方法

ITestDevice getDevice()

返回应应用准备程序的设备。

公共构造函数

CompanionTestAppInstallSetup

public CompanionTestAppInstallSetup ()

公共方法

getDevice

public ITestDevice getDevice ()

返回应应用准备程序的设备。

返回
ITestDevice

抛出
TargetSetupError