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[]

参数

返回值

类型:array<Microsoft.VisualStudio.TestTools.Common.ITestList[]
一个由只读测试列表组成的数组。

.NET Framework 安全性

请参见

参考

ITmi 接口

Microsoft.VisualStudio.TestTools.Common 命名空间

ITestList

TestRun

TestResult