命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
public interface ITestRunBase : IIdentifiable<int>, IAttachmentOwner,
INotifyPropertyChanged
public interface class ITestRunBase : IIdentifiable<int>, IAttachmentOwner,
INotifyPropertyChanged
type ITestRunBase =
interface
interface IIdentifiable<int>
interface IAttachmentOwner
interface INotifyPropertyChanged
end
Public Interface ITestRunBase
Inherits IIdentifiable(Of Integer), IAttachmentOwner, INotifyPropertyChanged
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Attachments | 获取附件的集合。(从 IAttachmentOwner 继承。) |
![]() |
BuildConfigurationId | 如果 id 不存在,则返回生成配置的 ID 此运行的或 0 的 |
![]() |
BuildFlavor | 生成与例如“版本”或“调试”。 |
![]() |
BuildNumber | Name of the build. |
![]() |
BuildPlatform | 生成的平台。 |
![]() |
BuildUri | Name (as a URI) of the build the run was executed against. As an example: new Uri("vstfs:///Build/Build/1") |
![]() |
Comment | Comments entered by those analyzing the run. |
![]() |
Controller | The name of the controller of this run |
![]() |
DateCompleted | Date the last test completed. |
![]() |
DateCreated | Date the run was created. |
![]() |
DateStarted | Date the run was started. |
![]() |
Id | 获取标识符。(从 IIdentifiable<TKey> 继承。) |
![]() |
IsDirty | Returns true if the test run has been changed since the last Save(). |
![]() |
LastUpdated | Date the run was last modified (title or owner set). |
![]() |
LastUpdatedBy | Last person to update run |
![]() |
LastUpdatedByName | Last person to update run |
![]() |
LinkedWorkItemCount | The total number of bugs associated with the test results. |
![]() |
Owner | User who started the run. |
![]() |
OwnerName | User who started the run. |
![]() |
OwnerTeamFoundationId | User who started the run. |
![]() |
Revision | Revision number of TestRun for concurrency control |
![]() |
TestEnvironmentId | The test environment for this run |
![]() |
TestPlanId | Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run. |
![]() |
TestSettings | The test settings being used for this test run execution. Null if the run has no test settings. |
![]() |
TestSettingsId | ID of the public test settings being used for this test run. |
![]() |
Title | Title of the associated run template. |
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
CopyTestSettings(ITestSettings) | Copy the test settings and associate it to the test run. |
![]() |
CreateAttachment(Byte[], Int32, Int32) | Creates an attachment for a Test Result from a byte array. |
![]() |
CreateAttachment(String) | 依据文件创建附件。(从 IAttachmentOwner 继承。) |
![]() |
CreateAttachment(String, SourceFileAction) | 依据文件创建附件,可以选择在上载之后删除源文件。(从 IAttachmentOwner 继承。) |
![]() |
Delete() | Removes the given test run and its results from the server. |
![]() |
Refresh() | Updates the run with new data from the server. |
![]() |
Save() | Writes the new or updated test run to the server. |
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
AttachmentUploadCompleted | 此事件在附件上载完成时引发。(从 IAttachmentOwner 继承。) |
![]() |
PropertyChanged | (从 INotifyPropertyChanged 继承。) |
备注
这里不会更新任何内容;请不要在这里添加材料。
请参阅
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首
.jpeg)
.gif)
.gif)