TestResultAggregation Class

Definition

Represents a test result that has aggregated information from all test results in the associated test run.

public ref class TestResultAggregation : Microsoft::VisualStudio::TestTools::Common::TestResult
[System.Serializable]
public class TestResultAggregation : Microsoft.VisualStudio.TestTools.Common.TestResult
[<System.Serializable>]
type TestResultAggregation = class
    inherit TestResult
Public Class TestResultAggregation
Inherits TestResult
Inheritance
Microsoft.VisualStudio.TestTools.Common.TestResult
TestResultAggregation
Attributes

Constructors

TestResultAggregation()

Initializes a new instance of the TestResultAggregation class.

TestResultAggregation(ComputerInfo, Guid, ITestElement)
Obsolete.

Initializes a new instance of the TestResultAggregation class by using the provided computer information, run ID, and test element.

TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[])
Obsolete.

Initializes a new instance of the TestResultAggregation class.

TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32)
Obsolete.

Initializes a new instance of the TestResultAggregation class.

TestResultAggregation(SerializationInfo, StreamingContext)

Initializes a new instance of the TestResultAggregation class from XML serialization.

TestResultAggregation(String, Guid, ITestElement)

Initializes a new instance of the TestResultAggregation class by using the provided computer information, test run ID, and test.

TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[])

Initializes a new instance of the TestResultAggregation class using the provided parameters.

TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32)

Initializes a new instance of the TestResultAggregation class.

TestResultAggregation(TestResult)

Initializes a new instance of the TestResultAggregation class by using the provided test result.

TestResultAggregation(TestResultAggregation)

Initializes a new instance of the TestResultAggregation class by using the provided test result aggregation.

Fields

FailedCountPropertyName

Returns "FailedCount".

m_counters

Returns the value of the Counters property.

m_innerResults

Returns the value of the InnerResults.

Properties

Counters

Gets the aggregated counters for the test run.

CurrentTestIndex

Represents the index of the current test result in the array of test results, if this is an intermediate result instead of a final result.

DisplayText

Gets the text for the summary line for the Results Grid in the user interface of Visual Studio Test Professional.

FailedCount

Gets the number of tests in this result that failed.

InnerResults

Gets an array of the individual test results for the tests that make up this aggregation.

Methods

Clone()

Returns a deep copy of this test result aggregation object by using the TestResultAggregation(TestResultAggregation) constructor method.

FillDataRow(DataRow)

Fills the provided data row by using data from this aggregation.

GetObjectData(SerializationInfo, StreamingContext)
Load(XmlElement, XmlTestStoreParameters)

Loads an instance of this class from the provided XML element by using the provided parameters.

Save(XmlElement, XmlTestStoreParameters)

Saves this object in the provided XML element.

Applies to