Udostępnij za pośrednictwem


Metoda ITmi.GetTestResults — (TestRun, ITestElement)

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Pobiera tablicę z dostarczonego przebieg testu wyniki testów, które są dostarczone testu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Function GetTestResults ( _
    run As TestRun, _
    test As ITestElement _
) As TestResult()
TestResult[] GetTestResults(
    TestRun run,
    ITestElement test
)
array<TestResult^>^ GetTestResults(
    TestRun^ run, 
    ITestElement^ test
)
abstract GetTestResults : 
        run:TestRun * 
        test:ITestElement -> TestResult[] 
function GetTestResults(
    run : TestRun, 
    test : ITestElement
) : TestResult[]

Parametry

Wartość zwracana

Typ: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
Tablica wyników badań.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITmi Interfejs

Przeciążenie GetTestResults

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestRun

TestElement

TestResult