动态系统准备器
public class DynamicSystemPreparer
extends BaseTargetPreparer
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 |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInfo, Throwable e)
参数 | |
---|---|
testInfo | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |