DebugHostLogOnFailureCollector

public class DebugHostLogOnFailureCollector
extends BaseDeviceMetricCollector

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


Collector that will gather and log the host-side logs when a test case failure occurs.

Summary

Public constructors

DebugHostLogOnFailureCollector()

Public methods

void onTestFail(DeviceMetricData testData, TestDescription test)

Callback when a test case fails.

void onTestRunStart(DeviceMetricData runData)

Callback when a test run is started.

Public constructors

DebugHostLogOnFailureCollector

public DebugHostLogOnFailureCollector ()

Public methods

onTestFail

public void onTestFail (DeviceMetricData testData, 
                TestDescription test)

Callback when a test case fails.

Parameters
testData DeviceMetricData: the DeviceMetricData holding the data for the test case.

test TestDescription: the TestDescription of the test case in progress.

onTestRunStart

public void onTestRunStart (DeviceMetricData runData)

Callback when a test run is started.

Parameters
runData DeviceMetricData: the DeviceMetricData holding the data for the run.