裝置字串推送器

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