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
run
Typ: Microsoft.VisualStudio.TestTools.Common.TestRunObjekt TestRun.
test
Typ: Microsoft.VisualStudio.TestTools.Common.ITestElementObjekt TestElement.
Vrácená hodnota
Typ: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
Pole výsledků zkoušek.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.