ITestList 介面
用於建立自訂測試清單的介面。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public Interface ITestList
public interface ITestList
public interface class ITestList
type ITestList = interface end
public interface ITestList
ITestList 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
CanChangeTestLists | 取得值,這個值表示是否可以修改子清單。 |
![]() |
CanChangeTests | 取得值,這個值表示是否可以修改清單中的測試。 |
![]() |
Name | 取得或設定清單的名稱。 |
![]() |
ReadOnly | 取得值,這個值表示是否可以修改清單。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
AddTest | 將測試加入至測試清單。 |
![]() |
CreateChildList | 使用提供的清單名稱,在目前清單中建立子清單。 |
![]() |
DeleteChildList | 從目前清單中刪除所提供的子清單。 |
![]() |
GetChildLists | 從目前清單中擷取子 ITestList 物件的陣列。 |
![]() |
GetMissingTests | 擷取目前清單中無法載入之測試的連結陣列。 |
![]() |
GetTests | 擷取目前清單中測試的陣列。 |
![]() |
MoveChildList | 將指定的子清單移至指定目的清單。 |
![]() |
RemoveTest | 從清單中移除指定的測試。 |
回頁首