ITmi.GetTestListsForResults(TestRun) 方法

定义

返回一个只读测试列表的数组,其中每个列表都包含与所提供的测试运行中的测试结果匹配的测试。

public:
 cli::array <Microsoft::VisualStudio::TestTools::Common::ITestList ^> ^ GetTestListsForResults(Microsoft::VisualStudio::TestTools::Common::TestRun ^ run);
public Microsoft.VisualStudio.TestTools.Common.ITestList[] GetTestListsForResults (Microsoft.VisualStudio.TestTools.Common.TestRun run);
abstract member GetTestListsForResults : Microsoft.VisualStudio.TestTools.Common.TestRun -> Microsoft.VisualStudio.TestTools.Common.ITestList[]
Public Function GetTestListsForResults (run As TestRun) As ITestList()

参数

run
TestRun

要查询的测试运行。

返回

ITestList[]

只读测试列表的数组。

适用于