ITestController 接口

 

向 Visual Studio 专业测试工具版注册测试控制器。

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

语法

public interface ITestController : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
public interface class ITestController : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
type ITestController = 
    interface
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
Public Interface ITestController
    Inherits IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged

属性

名称 说明
System_CAPS_pubproperty Description

获取或设置此测试控制器的说明。

System_CAPS_pubproperty DisplayName

获取或设置控制器应出现在 UI 中的名称。

System_CAPS_pubproperty Error

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty GroupId

获取或设置包含此测试控制器的测试控制器组的标识符。

System_CAPS_pubproperty InvalidProperties

获取无效的属性名称的列表。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty IsDirty

获取一个值,该值指示自上次刷新、获取或保存以来任何属性是否发生了更改。(从 IPropertyOwner 继承。)

System_CAPS_pubproperty Item[String]

(从 IDataErrorInfo 继承。)

System_CAPS_pubproperty Name

获取或设置此测试控制器的在项目中唯一的名称。

System_CAPS_pubproperty Properties

获取表示此测试控制器的属性的名称/值对的字典。

System_CAPS_pubproperty State

测试控制器的状态。

System_CAPS_pubproperty TestEnvironments

获取属于此测试控制器的测试环境的测试环境帮助器(包含属性和方法)。

方法

名称 说明
System_CAPS_pubmethod Register()

向团队项目集合注册此测试控制器。

System_CAPS_pubmethod Unregister()

从团队项目集合中移除此测试控制器的注册。

System_CAPS_pubmethod Update()

更新团队项目集合中此测试控制器的注册。

事件

名称 说明
System_CAPS_pubevent PropertyChanged

(从 INotifyPropertyChanged 继承。)

请参阅

Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首