復原日誌準備器

public class RecoveryLogPreparer
extends BaseTargetPreparer implements ITestLoggerReceiver

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RecoveryLogPreparer


用於在復原之前收集日誌的目標準備器。

概括

公共構造函數

RecoveryLogPreparer ()

公共方法

void setTestLogger ( ITestLogger testLogger)

注入ITestLogger實例

void setUp ( TestInformation testInformation)

受保護的方法

void rebootDevice ( TestInformation testInformation)

公共構造函數

復原日誌準備器

public RecoveryLogPreparer ()

公共方法

設定測試記錄器

public void setTestLogger (ITestLogger testLogger)

注入ITestLogger實例

參數
testLogger ITestLogger

設定

public void setUp (TestInformation testInformation)

參數
testInformation TestInformation

投擲
BuildError
DeviceNotAvailableException
TargetSetupError

受保護的方法

重新啟動設備

protected void rebootDevice (TestInformation testInformation)

參數
testInformation TestInformation

投擲
DeviceNotAvailableException