ITestPointStatistics 接口

表示处于 ITestPlan.QueryTestPointStatistics 方法所选择的各种特定状态的点计数。

命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

声明
Public Interface ITestPointStatistics
public interface ITestPointStatistics
public interface class ITestPointStatistics
type ITestPointStatistics =  interface end
public interface ITestPointStatistics

ITestPointStatistics 类型公开以下成员。

属性

  名称 说明
公共属性 Item[Int32] 获取具有指定解决状态的点的数量。
公共属性 Item[FailureType] 获取具有指定失败类型的点的数量。
公共属性 Item[TestOutcome] 获取具有指定测试结果的点的数量。
公共属性 Item[TestPointState] 获取具有指定状态的点的数量。
公共属性 Item[TestResultState] 获取具有指定结果状态的点的数量。
公共属性 TotalCount 获取由此统计信息集合表示的测试点的总数。

页首

方法

  名称 说明
公共方法 GetStatistics 返回由表示此统计信息集合的 ITestPointStatistic 对象组成的数组。
公共方法 Refresh 重新查询服务器并计算新统计信息。

页首

备注

在 Visual Studio 中,此接口支持测试用例管理 (TCM) 对象模型。 此接口预期并不用于您实现自定义类,但您可以在 TCM 对象返回内部实现时将此接口用于自定义类中。

请参见

参考

Microsoft.TeamFoundation.TestManagement.Client 命名空间

ITestPlan