DeviceJUnit4ClassRunner.MetricAnnotation

public static class DeviceJUnit4ClassRunner.MetricAnnotation
extends Object implements Annotation

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


Fake-Annotation, mit der Messwerte an die Reporter weitergegeben werden sollen.

Zusammenfassung

Felder

public HashMap<String, MetricMeasurement.Metric> mMetrics

Öffentliche Konstruktoren

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

Öffentliche Methoden

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

Felder

mMetrics

public HashMap<String, MetricMeasurement.Metric> mMetrics

Öffentliche Konstruktoren

MetricAnnotation

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

Parameter
metrics HashMap

Öffentliche Methoden

annotationType

public Class<? extends Annotation> annotationType ()

Gibt Folgendes zurück:
Class<? extends Annotation>

ist gleich

public boolean equals (Object other)

Parameter
other Object

Gibt Folgendes zurück:
boolean

hashCode

public int hashCode ()

Gibt Folgendes zurück:
int