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


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

Примечание. Данный API устарел.

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

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

Синтаксис

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

Параметры

  • runId
    Тип: Guid

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

  • currentTestIndex
    Тип: Int32

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

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

См. также

Ссылки

TestResultAggregation Класс

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

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

ComputerInfo

ITestElement

TestOutcome

TestResultCounter

TestResult