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

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

Public methods

Class<? extends Annotation> annotationType()
boolean equals(Object other)
int hashCode()

Fields

mMetrics

public HashMap<String, MetricMeasurement.Metric> mMetrics

Public constructors

MetricAnnotation

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

Parameters
metrics HashMap

Public methods

annotationType

public Class<? extends Annotation> annotationType ()

Returns
Class<? extends Annotation>

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int