語言

TestTargetAttribute 類別

定義

描述測試針對的單一方法。

[Android.Runtime.Annotation("dalvik.annotation.TestTarget")]
public class TestTargetAttribute : Attribute
[<Android.Runtime.Annotation("dalvik.annotation.TestTarget")>]
type TestTargetAttribute = class
    inherit Attribute
繼承
TestTargetAttribute
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

建構函式

名稱 Description
TestTargetAttribute()

初始化 TestTargetAttribute 類別的新執行個體。

屬性

名稱 Description
ConceptName

當單純方法名稱無法充分描述時,取得或設定被測試概念的名稱。

MethodArgs

以 Java 類別取得或設定被測試方法的簽名。

MethodName

取得或設定被測試方法的名稱。

適用於