動態系統準備器

public class DynamicSystemPreparer
extends BaseTargetPreparer implements ILabPreparer

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


一個ITargetPreparer ,它在使用動態系統更新構建的設備之上設置系統映像。

概括

公共構造函數

DynamicSystemPreparer ()

公共方法

void setUp ( TestInformation testInfo)

執行目標設置以進行測試。

void tearDown ( TestInformation testInfo, Throwable e)

測試後執行目標清理/拆卸。

公共構造函數

動態系統準備器

public DynamicSystemPreparer ()

公共方法

設置

public void setUp (TestInformation testInfo)

執行目標設置以進行測試。

參數
testInfo TestInformation :調用的TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInfo, 
                Throwable e)

測試後執行目標清理/拆卸。

參數
testInfo TestInformation :調用的TestInformation

e Throwable :如果調用以異常結束,這將是在調用級別捕獲的異常。否則,將為null

投擲
DeviceNotAvailableException