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 ()
公用方法
setUp
public void setUp (TestInformation testInfo)
參數 | |
---|---|
testInfo |
TestInformation |
擲回 | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |