DeviceStringPusher
public
class
DeviceStringPusher
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceStringPusher |
目標準備工具將字串寫入檔案。
如果檔案已存在,則會在拆解時還原舊版。
摘要
公用建構函式 | |
---|---|
DeviceStringPusher()
|
公用方法 | |
---|---|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
公用建構函式
DeviceStringPusher
public DeviceStringPusher ()
公用方法
setUp
public void setUp (TestInformation testInfo)
參數 | |
---|---|
testInfo |
TestInformation |
擲回 | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
參數 | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
擲回 | |
---|---|
DeviceNotAvailableException |