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 从列表中移除指定的测试。

页首

请参见

参考

Microsoft.VisualStudio.TestTools.Common 命名空间