Sdílet prostřednictvím


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: String

    Název počítače, kde byly testy spuštěny.

  • runId
    Typ: Guid

    ID pro zkoušky.

  • currentTestIndex
    Typ: Int32

    int , Představuje index aktuální výsledek testu innerResults pole.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TestResultAggregation Třída

TestResultAggregation – přetížení

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

ITestElement

TestOutcome

TestResultCounter

TestResult