DeviceBuildInfoBootStrapper
public
class
DeviceBuildInfoBootStrapper
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceBuildInfoBootStrapper |
一个 ITargetPreparer
,用于将 build 信息字段替换为从设备读取的属性
这对于使用从外部来源(例如外部合作伙伴设备)生成的 build 测试设备非常有用
摘要
公共构造函数 | |
---|---|
DeviceBuildInfoBootStrapper()
|
公共方法 | |
---|---|
void
|
setUp(TestInformation testInfo)
|
公共构造函数
DeviceBuildInfoBootStrapper
public DeviceBuildInfoBootStrapper ()
公共方法
setUp
public void setUp (TestInformation testInfo)
参数 | |
---|---|
testInfo |
TestInformation |
抛出 | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |