BugreportzOnFailureCollector

public class BugreportzOnFailureCollector
extends BaseDeviceMetricCollector

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


Collect a bugreportz when a test case fails.

Summary

Public constructors

BugreportzOnFailureCollector()

Public methods

void onTestFail(DeviceMetricData testData, TestDescription test)

Callback when a test case fails.

Public constructors

BugreportzOnFailureCollector

public BugreportzOnFailureCollector ()

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.