用于创建自定义测试列表的接口。
命名空间:  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 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | CanChangeTestLists | 获取指示子列表是否可修改的值。 | 
| .gif) | CanChangeTests | 获取一个值,该值指示是否可修改列表中的测试对象。 | 
| .gif) | Name | 获取或设置列表名称。 | 
| .gif) | ReadOnly | 获取一个值,该值指示列表是否可修改。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | AddTest | 将测试添加到测试列表中。 | 
| .gif) | CreateChildList | 使用提供的列表名称在当前列表中创建子列表。 | 
| .gif) | DeleteChildList | 从当前列表中删除提供的子列表。 | 
| .gif) | GetChildLists | 从当前列表中检索子 ITestList 对象的数组。 | 
| .gif) | GetMissingTests | 检索一个链接数组,这些链接指向当前列表中无法加载的测试。 | 
| .gif) | GetTests | 检索当前列表中的测试的数组。 | 
| .gif) | MoveChildList | 将指定子列表移动到指定目标列表。 | 
| .gif) | RemoveTest | 从列表中移除指定的测试。 | 
页首