ITestRunner.LoadRun – metoda
Spuštění testovacího případu zatížení.
Obor názvů: Microsoft.VisualStudio.TestTools.Execution
Sestavení: Microsoft.VisualStudio.QualityTools.ExecutionCommon (v Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntaxe
'Deklarace
Function LoadRun ( _
testElement As ITestElement(), _
resultSink As IResultSink, _
contextProperties As IDictionary(Of String, Object) _
) As AdapterRunResult
AdapterRunResult LoadRun(
ITestElement[] testElement,
IResultSink resultSink,
IDictionary<string, Object> contextProperties
)
AdapterRunResult LoadRun(
array<ITestElement^>^ testElement,
IResultSink^ resultSink,
IDictionary<String^, Object^>^ contextProperties
)
abstract LoadRun :
testElement:ITestElement[] *
resultSink:IResultSink *
contextProperties:IDictionary<string, Object> -> AdapterRunResult
function LoadRun(
testElement : ITestElement[],
resultSink : IResultSink,
contextProperties : IDictionary<String, Object>
) : AdapterRunResult
Parametry
- testElement
Typ: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
Pole ITestElement objekty execute.
- resultSink
Typ: Microsoft.VisualStudio.TestTools.Execution.IResultSink
IResultSink Ukládat výsledky testů.
- contextProperties
Typ: System.Collections.Generic.IDictionary<String, Object>
[T:System.Collections.Generic.IDictionary<TKey,TValue>] Obsahuje vlastnosti kontextu test. objekt
Vrácená hodnota
Typ: Microsoft.VisualStudio.TestTools.Execution.AdapterRunResult
Člen AdapterRunResult výčtu znamená úspěch nebo selhání každý test.
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.