Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

ScreenshotOnFailureCollector

public class ScreenshotOnFailureCollector
extends BaseDeviceMetricCollector

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


Collector that will capture and log a screenshot when a test case fails.

Summary

Public constructors

ScreenshotOnFailureCollector()

Public methods

void onTestFail(DeviceMetricData testData, TestDescription test)

Callback when a test case fails.

Public constructors

ScreenshotOnFailureCollector

public ScreenshotOnFailureCollector ()

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.