Поделиться через


TestResultAggregation - конструктор (String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32)

Инициализирует новый экземпляр класса TestResultAggregation.

Пространство имен:  Microsoft.VisualStudio.TestTools.Common
Сборка:  Microsoft.VisualStudio.QualityTools.Common (в Microsoft.VisualStudio.QualityTools.Common.dll)

Синтаксис

'Декларация
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
)

Параметры

  • computerInfo
    Тип: String

    Имя компьютера, на котором выполнялись тесты.

  • runId
    Тип: Guid

    ИД тестового запуска.

  • currentTestIndex
    Тип: Int32

    Значение int, представляющее индекс текущего результата теста в массиве innerResults.

Безопасность платформы .NET Framework

См. также

Ссылки

TestResultAggregation Класс

TestResultAggregation - перегрузка

Microsoft.VisualStudio.TestTools.Common - пространство имен

ITestElement

TestOutcome

TestResultCounter

TestResult