DeviceBuildInfoBootStrapper
public class DeviceBuildInfoBootStrapper
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceBuildInfoBootStrapper |
ITargetPreparer
,以從設備讀取的屬性替換建置資訊字段
這對於測試具有從外部來源(例如外部合作夥伴設備)產生的版本的裝置非常有用
概括
公共構造函數 | |
---|---|
DeviceBuildInfoBootStrapper () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInfo) |
公共構造函數
DeviceBuildInfoBootStrapper
public DeviceBuildInfoBootStrapper ()
公共方法
設定
public void setUp (TestInformation testInfo)
參數 | |
---|---|
testInfo | TestInformation |
投擲 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |