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


ITargetPreparer 會將一或多個應用程式從 IDeviceBuildInfo.getTestsDir() 資料夾安裝到已指派的隨附裝置。

請注意,這表示相關的測試構件已建構至主要裝置版本,但也適用於隨附裝置

摘要

公用建構函式

CompanionTestAppInstallSetup()

公用方法

ITestDevice getDevice()

傳回預備者應套用的裝置。

公用建構函式

CompanionTestAppInstallSetup

public CompanionTestAppInstallSetup ()

公用方法

getDevice

public ITestDevice getDevice ()

傳回預備者應套用的裝置。

傳回
ITestDevice

擲回
TargetSetupError