DeviceJUnit4ClassRunner.MetricAnnotation

public static class DeviceJUnit4ClassRunner.MetricAnnotation
extends Object implements Annotation

java.lang.Object
   ↳ com.android.tradefed.testtype.DeviceJUnit4ClassRunner.MetricAnnotation


Fake annotation meant to carry metrics to the reporters.

Summary

Fields

public HashMap<String, MetricMeasurement.Metric> mMetrics

Public constructors

DeviceJUnit4ClassRunner.MetricAnnotation(HashMap<String, MetricMeasurement.Metric> metrics)

Public methods

Class<? extends Annotation> annotationType()

Fields

mMetrics

public HashMap<String, MetricMeasurement.Metric> mMetrics

Public constructors

DeviceJUnit4ClassRunner.MetricAnnotation

public DeviceJUnit4ClassRunner.MetricAnnotation (HashMap<String, MetricMeasurement.Metric> metrics)

Parameters
metrics HashMap

Public methods

annotationType

public Class<? extends Annotation> annotationType ()

Returns
Class<? extends Annotation>