ITmi.GetTestListsForResults 方法
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
返回一个由只读测试列表组成的数组,其中的每个列表都包含与所提供的测试运行中的测试结果匹配的测试。
命名空间: Microsoft.VisualStudio.TestTools.Common
程序集: Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Function GetTestListsForResults ( _
run As TestRun _
) As ITestList()
ITestList[] GetTestListsForResults(
TestRun run
)
array<ITestList^>^ GetTestListsForResults(
TestRun^ run
)
abstract GetTestListsForResults :
run:TestRun -> ITestList[]
function GetTestListsForResults(
run : TestRun
) : ITestList[]
参数
- run
类型:Microsoft.VisualStudio.TestTools.Common.TestRun
要查询的测试运行。
返回值
类型:array<Microsoft.VisualStudio.TestTools.Common.ITestList[]
一个由只读测试列表组成的数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。