Share via


TestResultAggregation Constructor (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult , Int32)

Initializes a new instance of the TestResultAggregation class.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
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
)

Parameters

  • computerInfo
    Type: String

    The name of the machine where the tests were run.

  • runId
    Type: Guid

    The ID for the test run.

  • currentTestIndex
    Type: Int32

    An int that represents the index of the current test result in the innerResults array.

.NET Framework Security

See Also

Reference

TestResultAggregation Class

TestResultAggregation Overload

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement

TestOutcome

TestResultCounter

TestResult