动态系统准备器

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