恢復日誌準備器

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