AllTestApps安裝設置

public class AllTestAppsInstallSetup
extends BaseTargetPreparer implements IAbiReceiver

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


一個ITargetPreparer ,用於將IDeviceBuildInfo#getTestsDir()資料夾中的所有應用程式安裝到裝置上。對於單獨的測試應用程式安裝,請查看TestAppInstallSetup

概括

公共構造函數

AllTestAppsInstallSetup ()

公共方法

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

void tearDown ( TestInformation testInfo, Throwable e)

公共構造函數

AllTestApps安裝設置

public AllTestAppsInstallSetup ()

公共方法

獲取阿比

public IAbi getAbi ()

退貨
IAbi

設定阿比

public void setAbi (IAbi abi)

參數
abi IAbi

設定

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInfo, 
                Throwable e)

參數
testInfo TestInformation

e Throwable

投擲
DeviceNotAvailableException