TestResultAggregation – konstruktor (ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult , Int32)
Poznámka: Toto rozhraní API je nyní zastaralé.
Vytvoří novou instanci třídy TestResultAggregation.
Obor názvů: Microsoft.VisualStudio.TestTools.Common
Sestavení: Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)
Syntaxe
'Deklarace
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
computerInfo As ComputerInfo, _
runId As Guid, _
test As ITestElement, _
outcome As TestOutcome, _
counters As TestResultCounter, _
innerResults As TestResult(), _
currentTestIndex As Integer _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResultAggregation(
ComputerInfo computerInfo,
Guid runId,
ITestElement test,
TestOutcome outcome,
TestResultCounter counters,
TestResult[] innerResults,
int currentTestIndex
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
TestResultAggregation(
ComputerInfo^ computerInfo,
Guid runId,
ITestElement^ test,
TestOutcome outcome,
TestResultCounter^ counters,
array<TestResult^>^ innerResults,
int currentTestIndex
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new :
computerInfo:ComputerInfo *
runId:Guid *
test:ITestElement *
outcome:TestOutcome *
counters:TestResultCounter *
innerResults:TestResult[] *
currentTestIndex:int -> TestResultAggregation
public function TestResultAggregation(
computerInfo : ComputerInfo,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[],
currentTestIndex : int
)
Parametry
computerInfo
Typ: Microsoft.VisualStudio.TestTools.Common.ComputerInfoA ComputerInfo objekt, který obsahuje informace o počítači, který byl spuštěn test.
runId
Typ: GuidID pro zkoušky.
test
Typ: Microsoft.VisualStudio.TestTools.Common.ITestElementObjekt ITestElement.
outcome
Typ: Microsoft.VisualStudio.TestTools.Common.TestOutcomeObjekt TestOutcome.
counters
Typ: Microsoft.VisualStudio.TestTools.Common.TestResultCounterObjekt TestResultCounter.
innerResults
Typ: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]Pole TestResult objektů.
currentTestIndex
Typ: Int32int , Představuje index aktuální výsledek testu innerResults pole.
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.
Viz také
Referenční dokumentace
TestResultAggregation – přetížení