AllTestAppsInstallSetup

public class AllTestAppsInstallSetup
extends BaseTargetPreparer implements IAbiReceiver

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.AllTestAppsInstallSetup


用于将 IDeviceBuildInfo.getTestsDir() 文件夹中的所有应用安装到设备上的 ITargetPreparer。如需了解各个测试应用的安装,请参阅 TestAppInstallSetup

摘要

公共构造函数

AllTestAppsInstallSetup()

公共方法

IAbi getAbi()
void setAbi(IAbi abi)
void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

公共构造函数

AllTestAppsInstallSetup

public AllTestAppsInstallSetup ()

公共方法

getAbi

public IAbi getAbi ()

返回
IAbi

setAbi

public void setAbi (IAbi abi)

参数
abi IAbi

setUp

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

参数
testInfo TestInformation

e Throwable

抛出
DeviceNotAvailableException