MetricOption
public abstract @interface MetricOption
implements Annotation
com.android.tradefed.device.metric.MetricOption |
使用@Test
注释的测试方法的注释,或者如果注释是TestDescription
注释列表的一部分,该注释允许指定一些额外的参数, TestDescription
用于:调整收集器的行为,过滤某些方法。
概括
公开方法 |
---|
String | group () 定义一个组名,所有带有相同名称的方法都将被视为同一组的一部分。 |
公开方法
团体
public String group ()
定义一个组名,所有带有相同名称的方法都将被视为同一组的一部分。默认情况下或未指定注释时,方法将被视为默认组的一部分。可以逗号分隔成几个组的一部分。
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]