DeviceJUnit4ClassRunner.MetricAnnotation

public static class DeviceJUnit4ClassRunner.MetricAnnotation
extends Object implements Annotation

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


用來將指標傳送給記者的虛假註解。

摘要

欄位

public HashMap<String, MetricMeasurement.Metric> mMetrics

公用建構函式

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

公用方法

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

欄位

mMetrics

public HashMap<String, MetricMeasurement.Metric> mMetrics

公用建構函式

MetricAnnotation

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

參數
metrics HashMap

公用方法

annotationType

public Class<? extends Annotation> annotationType ()

傳回
Class<? extends Annotation>

等於

public boolean equals (Object other)

參數
other Object

傳回
boolean

hashCode

public int hashCode ()

傳回
int