TestResultAggregation – konstruktor (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult , Int32)
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
Public Sub New ( _
computerInfo As String, _
runId As Guid, _
test As ITestElement, _
outcome As TestOutcome, _
counters As TestResultCounter, _
innerResults As TestResult(), _
currentTestIndex As Integer _
)
public TestResultAggregation(
string computerInfo,
Guid runId,
ITestElement test,
TestOutcome outcome,
TestResultCounter counters,
TestResult[] innerResults,
int currentTestIndex
)
public:
TestResultAggregation(
String^ computerInfo,
Guid runId,
ITestElement^ test,
TestOutcome outcome,
TestResultCounter^ counters,
array<TestResult^>^ innerResults,
int currentTestIndex
)
new :
computerInfo:string *
runId:Guid *
test:ITestElement *
outcome:TestOutcome *
counters:TestResultCounter *
innerResults:TestResult[] *
currentTestIndex:int -> TestResultAggregation
public function TestResultAggregation(
computerInfo : String,
runId : Guid,
test : ITestElement,
outcome : TestOutcome,
counters : TestResultCounter,
innerResults : TestResult[],
currentTestIndex : int
)
Parametry
computerInfo
Typ: StringNázev počítače, kde byly testy spuštěny.
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í