设备字符串推送器
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) |
公共构造函数
设备字符串推送器
public DeviceStringPusher ()
公共方法
设置
public void setUp (TestInformation testInfo)
参数 | |
---|---|
testInfo | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInfo, Throwable e)
参数 | |
---|---|
testInfo | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |