Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

DebugHostLogOnFailureCollector

public class DebugHostLogOnFailureCollector
extends BaseDeviceMetricCollector

java.lang.Object
com.android.tradefed.device.metric.BaseDeviceMetricCollector
com.android.tradefed.device.metric.DebugHostLogOnFailureCollector


發生測試用例失敗時,將收集並記錄主機端日誌的收集器。

摘要

公共建設者

DebugHostLogOnFailureCollector ()

公開方法

void onTestFail ( DeviceMetricData testData, TestDescription test)

測試用例失敗時回調。

void onTestRunStart ( DeviceMetricData runData)

開始測試運行時回調。

公共建設者

DebugHostLogOnFailureCollector

public DebugHostLogOnFailureCollector ()

公開方法

onTestFail

public void onTestFail (DeviceMetricData testData, 
                TestDescription test)

測試用例失敗時回調。

參量
testData DeviceMetricData :保存測試用例數據的DeviceMetricData

test TestDescriptionTestDescription的測試用例的TestDescription

onTestRunStart

public void onTestRunStart (DeviceMetricData runData)

開始測試運行時回調。

參量
runData DeviceMetricData :保存運行數據的DeviceMetricData