Sdílet prostřednictvím


ITmi.GetTestResults – metoda (TestRun, ITestElement)

Toto rozhraní API podporuje infrastrukturu rozhraní .NET Framework a není určeno pro použití přímo v kódu.

Získá pole výsledků testů z poskytnutého zkoušky, které jsou v zadané test.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
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

Vrácená hodnota

Typ: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
Pole výsledků zkoušek.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

ITmi Rozhraní

GetTestResults – přetížení

Microsoft.VisualStudio.TestTools.Common – obor názvů

TestRun

TestElement

TestResult