TestResultAggregation Class
Represents a test result that has aggregated information from all test results in the associated test run.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.Common.TestMessage
Microsoft.VisualStudio.TestTools.Common.TestResultMessage
Microsoft.VisualStudio.TestTools.Common.TestResult
Microsoft.VisualStudio.TestTools.Common.TestResultAggregation
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TestResultAggregation _
Inherits TestResult
[SerializableAttribute]
public class TestResultAggregation : TestResult
[SerializableAttribute]
public ref class TestResultAggregation : public TestResult
[<SerializableAttribute>]
type TestResultAggregation =
class
inherit TestResult
end
public class TestResultAggregation extends TestResult
The TestResultAggregation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TestResultAggregation() | 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) | Infrastructure. Initializes a new instance of the TestResultAggregation class by using the provided test result aggregation. | |
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(ComputerInfo, Guid, ITestElement) | Obsolete. Initializes a new instance of the TestResultAggregation class by using the provided computer information, run ID, and test element. | |
TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[]) | Initializes a new instance of the TestResultAggregation class using the provided parameters. | |
TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[]) | Obsolete. Initializes a new instance of the TestResultAggregation class. | |
TestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32) | Initializes a new instance of the TestResultAggregation class. | |
TestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, array<TestResult[], Int32) | Obsolete. Initializes a new instance of the TestResultAggregation class. |
Top
Properties
Name | Description | |
---|---|---|
CollectorDataEntries | Gets a read-only list of data entries that are provided by diagnostic data adapters during the test run. (Inherited from TestResult.) | |
ComputerName | Gets the name of the computer that executed the associated test run or test. (Inherited from TestResultMessage.) | |
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. | |
DataCollectorMessages | Gets a read-only list of errors and warnings that are provided by diagnostic data adapters during the test. (Inherited from TestResult.) | |
DebugTrace | Gets or sets the debug trace information. (Inherited from TestResult.) | |
DisplayText | Gets the text for the summary line for the Results Grid in the user interface of Visual Studio Test Professional. (Overrides TestResultMessage.DisplayText.) | |
Duration | Gets or sets the time that was spent to execute the associated test or test run. (Inherited from TestResultMessage.) | |
EndTime | Gets or sets the time that the execution ended. (Inherited from TestResultMessage.) | |
ErrorInfo | Gets or sets information about the most recent error. (Inherited from TestResult.) | |
ErrorMessage | Gets or sets the most recent error message. (Inherited from TestResult.) | |
ErrorStackTrace | Gets or sets the stack trace information that precedes an error. (Inherited from TestResult.) | |
FailedCount | Gets the number of tests in this result that failed. | |
HasPassed | Gets a value that indicates whether the associated test for this test result successfully executed. (Inherited from TestResult.) | |
Id | Gets or sets the ID for this test result message. (Inherited from TestResultMessage.) | |
InnerResults | Gets an array of the individual test results for the tests that make up this aggregation. | |
IsRunLevel | Gets a value that indicates whether this result is for a test run and not for a test. (Inherited from TestResultMessage.) | |
LoadTestAgentNames | Gets a comma-delimited list of the names of machines where the associated load test is installed. (Inherited from TestResultMessage.) | |
LongText | Gets the value of the DisplayText property. (Inherited from TestResultMessage.) | |
MessageKind | Gets or sets the kind of test result message for this associated test result message. (Inherited from TestResultMessage.) | |
Outcome | Gets or sets an object by using details about the outcome of the associated test. (Inherited from TestResult.) | |
OutcomeText | Gets the outcome of the test as a string. (Inherited from TestResult.) | |
ResultFiles | Gets a read-only list of paths to the test result files that are sorted in ascending order. (Inherited from TestResult.) | |
SpoolMessage | Gets or sets a value that determines whether this message will be spooled into the persisted test results. (Inherited from TestResultMessage.) | |
StartTime | Gets or sets the time that the associated test run or test started. (Inherited from TestResultMessage.) | |
StdErr | Gets or sets the stderr data that is generated by the test. (Inherited from TestResult.) | |
StdOut | Gets or sets the stdout data that is generated by the test. (Inherited from TestResult.) | |
Storage | Gets or sets the relative path of a folder where all files that are associated with the test are stored on the server. (Inherited from TestResultMessage.) | |
SystemException | Gets or sets the most recent exception that was encountered during the associated test run or test. (Inherited from TestResultMessage.) | |
Test | Gets or sets the associated test. (Inherited from TestResult.) | |
TestDescription | Gets the description of the test. (Inherited from TestResult.) | |
TestListCategoryId | Gets the ID of the list category for this test result. (Inherited from TestResult.) | |
TestListCategoryIdString | Gets the ID of the list category for this test result as a string. (Inherited from TestResult.) | |
TestName | Gets or sets the name of the associated test. (Inherited from TestResultMessage.) | |
TestResultsDirectory | Gets the absolute path of the folder on the server where this test result is stored. (Inherited from TestResult.) | |
TestRun | Gets the associated test run. (Inherited from TestResult.) | |
TestType | Gets or sets the type for the associated test. (Inherited from TestResultMessage.) | |
TextMessages | Gets an array of text messages in the test. (Inherited from TestResult.) | |
TimerResults | Gets or sets an array of timer results. (Inherited from TestResult.) | |
TraceInfo | Gets the trace information for the associated test. (Inherited from TestResult.) | |
VisibleProperties | Gets a collection of the properties in this test result message that will be visible in the user interface of Visual Studio Application Lifecycle Management (ALM). (Inherited from TestResultMessage.) | |
WorkItemIds | Gets a list of work item IDs that are associated with the test. (Inherited from TestResult.) |
Top
Methods
Name | Description | |
---|---|---|
AddTextMessage | Adds a text message to this test result. (Inherited from TestResult.) | |
Clone | Returns a deep copy of this test result aggregation object by using the TestResultAggregation constructor method. (Overrides TestResult.Clone().) | |
Equals | Determines whether the provided object is equal to the current object. (Inherited from TestResultMessage.) | |
FillDataRow | Infrastructure. Fills the provided data row by using data from this aggregation. (Overrides TestResult.FillDataRow(DataRow).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from TestResultMessage.) | |
GetObjectData | Populates the provided serialization information by using the data needed to serialize the target object. (Overrides TestResult.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValid | Determines whether this test result message is valid. (Inherited from TestResultMessage.) | |
Load | Loads an instance of this class from the provided XML element by using the provided parameters. (Overrides TestResult.Load(XmlElement, XmlTestStoreParameters).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save | Saves this object in the provided XML element. (Overrides TestResult.Save(XmlElement, XmlTestStoreParameters).) | |
ToString | Returns a string representation of this test result. (Inherited from TestResult.) |
Top
Fields
Name | Description | |
---|---|---|
FailedCountPropertyName | Returns "FailedCount". | |
m_categoryId | Returns "categoryId". (Inherited from TestResult.) | |
m_counters | Infrastructure. Returns the value of the Counters property. | |
m_debugTrace | Returns "debugTrace". (Inherited from TestResult.) | |
m_duration | Infrastructure. Returns the value of the Duration property. (Inherited from TestResultMessage.) | |
m_endTime | Returns the value of the EndTime property. (Inherited from TestResultMessage.) | |
m_errorInfo | Returns "errorInfo". (Inherited from TestResult.) | |
m_exception | Returns the value of the SystemException property. (Inherited from TestResultMessage.) | |
m_id | Returns the value of the ID() property. (Inherited from TestResultMessage.) | |
m_innerResults | Infrastructure. Returns the value of the InnerResults. | |
m_messageKind | Returns the value of the MessageKind property. (Inherited from TestResultMessage.) | |
m_outcome | Returns "outcome". (Inherited from TestResult.) | |
m_spoolMessage | Returns the value of the SpoolMessage property. (Inherited from TestResultMessage.) | |
m_startTime | Returns the value of the StartTime property. (Inherited from TestResultMessage.) | |
m_stdErr | Returns "stdErr". (Inherited from TestResult.) | |
m_stdOut | Returns "stdOut". (Inherited from TestResult.) | |
m_testName | Returns the value of the TestName property. (Inherited from TestResultMessage.) | |
m_testType | Returns the value of the TestType property. (Inherited from TestResultMessage.) | |
m_textMessages | Returns "textMessages". (Inherited from TestResult.) | |
m_timerResults | Returns "timerResults". (Inherited from TestResult.) | |
m_traceInfo | Returns "traceInfo". (Inherited from TestResult.) | |
m_workItemIds | Returns "workItemIds". (Inherited from TestResult.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.