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