动态系统准备器

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