TestTargetAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
描述测试面向的单个方法。
[Android.Runtime.Annotation("dalvik.annotation.TestTarget")]
public class TestTargetAttribute : Attribute
[<Android.Runtime.Annotation("dalvik.annotation.TestTarget")>]
type TestTargetAttribute = class
inherit Attribute
- 继承
-
TestTargetAttribute
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
构造函数
| 名称 | 说明 |
|---|---|
| TestTargetAttribute() |
初始化 TestTargetAttribute 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| ConceptName |
获取或设置仅当方法名称不足以描述性时要测试的概念的名称。 |
| MethodArgs |
获取或设置在Java类中测试的方法的签名。 |
| MethodName |
获取或设置要测试的方法的名称。 |