Export (0) Print
Expand All

TestResultAggregation Class

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

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

[SerializableAttribute]
public class TestResultAggregation : TestResult

The TestResultAggregation type exposes the following members.

  NameDescription
Protected methodTestResultAggregation()Initializes a new instance of the TestResultAggregation class.
Public methodTestResultAggregation(TestResult)Initializes a new instance of the TestResultAggregation class by using the provided test result.
Protected methodTestResultAggregation(TestResultAggregation)Infrastructure. Initializes a new instance of the TestResultAggregation class by using the provided test result aggregation.
Protected methodTestResultAggregation(SerializationInfo, StreamingContext)Initializes a new instance of the TestResultAggregation class from XML serialization.
Public methodTestResultAggregation(String, Guid, ITestElement)Initializes a new instance of the TestResultAggregation class by using the provided computer information, test run ID, and test.
Public methodTestResultAggregation(ComputerInfo, Guid, ITestElement) Obsolete. Initializes a new instance of the TestResultAggregation class by using the provided computer information, run ID, and test element.
Public methodTestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[])Initializes a new instance of the TestResultAggregation class using the provided parameters.
Public methodTestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[]) Obsolete. Initializes a new instance of the TestResultAggregation class.
Public methodTestResultAggregation(String, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32)Initializes a new instance of the TestResultAggregation class.
Public methodTestResultAggregation(ComputerInfo, Guid, ITestElement, TestOutcome, TestResultCounter, TestResult[], Int32) Obsolete. Initializes a new instance of the TestResultAggregation class.
Top

  NameDescription
Public propertyCollectorDataEntriesGets a read-only list of data entries that are provided by diagnostic data adapters during the test run. (Inherited from TestResult.)
Public propertyComputerNameGets the name of the computer that executed the associated test run or test. (Inherited from TestResultMessage.)
Public propertyCountersGets the aggregated counters for the test run.
Public propertyCurrentTestIndexRepresents the index of the current test result in the array of test results, if this is an intermediate result instead of a final result.
Public propertyDataCollectorMessagesGets a read-only list of errors and warnings that are provided by diagnostic data adapters during the test. (Inherited from TestResult.)
Public propertyDebugTraceGets or sets the debug trace information. (Inherited from TestResult.)
Public propertyDisplayTextGets the text for the summary line for the Results Grid in the user interface of Visual Studio Test Professional. (Overrides TestResultMessage.DisplayText.)
Public propertyDurationGets or sets the time that was spent to execute the associated test or test run. (Inherited from TestResultMessage.)
Public propertyEndTimeGets or sets the time that the execution ended. (Inherited from TestResultMessage.)
Public propertyErrorInfoGets or sets information about the most recent error. (Inherited from TestResult.)
Public propertyErrorMessageGets or sets the most recent error message. (Inherited from TestResult.)
Public propertyErrorStackTraceGets or sets the stack trace information that precedes an error. (Inherited from TestResult.)
Public propertyFailedCountGets the number of tests in this result that failed.
Public propertyHasPassedGets a value that indicates whether the associated test for this test result successfully executed. (Inherited from TestResult.)
Public propertyIdGets or sets the ID for this test result message. (Inherited from TestResultMessage.)
Public propertyInnerResultsGets an array of the individual test results for the tests that make up this aggregation.
Public propertyIsRunLevelGets a value that indicates whether this result is for a test run and not for a test. (Inherited from TestResultMessage.)
Public propertyLoadTestAgentNamesGets a comma-delimited list of the names of machines where the associated load test is installed. (Inherited from TestResultMessage.)
Public propertyLongTextGets the value of the DisplayText property. (Inherited from TestResultMessage.)
Public propertyMessageKindGets or sets the kind of test result message for this associated test result message. (Inherited from TestResultMessage.)
Public propertyOutcomeGets or sets an object by using details about the outcome of the associated test. (Inherited from TestResult.)
Public propertyOutcomeTextGets the outcome of the test as a string. (Inherited from TestResult.)
Public propertyResultFilesGets a read-only list of paths to the test result files that are sorted in ascending order. (Inherited from TestResult.)
Public propertySpoolMessageGets or sets a value that determines whether this message will be spooled into the persisted test results. (Inherited from TestResultMessage.)
Public propertyStartTimeGets or sets the time that the associated test run or test started. (Inherited from TestResultMessage.)
Public propertyStdErrGets or sets the stderr data that is generated by the test. (Inherited from TestResult.)
Public propertyStdOutGets or sets the stdout data that is generated by the test. (Inherited from TestResult.)
Public propertyStorageGets 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.)
Public propertySystemExceptionGets or sets the most recent exception that was encountered during the associated test run or test. (Inherited from TestResultMessage.)
Public propertyTestGets or sets the associated test. (Inherited from TestResult.)
Public propertyTestDescriptionGets the description of the test. (Inherited from TestResult.)
Public propertyTestListCategoryIdGets the ID of the list category for this test result. (Inherited from TestResult.)
Public propertyTestListCategoryIdStringGets the ID of the list category for this test result as a string. (Inherited from TestResult.)
Public propertyTestNameGets or sets the name of the associated test. (Inherited from TestResultMessage.)
Public propertyTestResultsDirectoryGets the absolute path of the folder on the server where this test result is stored. (Inherited from TestResult.)
Public propertyTestRunGets the associated test run. (Inherited from TestResult.)
Public propertyTestTypeGets or sets the type for the associated test. (Inherited from TestResultMessage.)
Public propertyTextMessagesGets an array of text messages in the test. (Inherited from TestResult.)
Public propertyTimerResultsGets or sets an array of timer results. (Inherited from TestResult.)
Public propertyTraceInfoGets the trace information for the associated test. (Inherited from TestResult.)
Public propertyVisiblePropertiesGets 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.)
Public propertyWorkItemIdsGets a list of work item IDs that are associated with the test. (Inherited from TestResult.)
Top

  NameDescription
Public methodAddTextMessageAdds a text message to this test result. (Inherited from TestResult.)
Public methodCloneReturns a deep copy of this test result aggregation object by using the TestResultAggregation constructor method. (Overrides TestResult.Clone().)
Public methodEqualsDetermines whether the provided object is equal to the current object. (Inherited from TestResultMessage.)
Public methodFillDataRowInfrastructure. Fills the provided data row by using data from this aggregation. (Overrides TestResult.FillDataRow(DataRow).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from TestResultMessage.)
Public methodGetObjectDataPopulates the provided serialization information by using the data needed to serialize the target object. (Overrides TestResult.GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsValidDetermines whether this test result message is valid. (Inherited from TestResultMessage.)
Public methodLoadLoads an instance of this class from the provided XML element by using the provided parameters. (Overrides TestResult.Load(XmlElement, XmlTestStoreParameters).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveSaves this object in the provided XML element. (Overrides TestResult.Save(XmlElement, XmlTestStoreParameters).)
Public methodToStringReturns a string representation of this test result. (Inherited from TestResult.)
Top

  NameDescription
Public fieldStatic memberFailedCountPropertyNameReturns "FailedCount".
Protected fieldm_categoryIdReturns "categoryId". (Inherited from TestResult.)
Protected fieldm_countersInfrastructure. Returns the value of the Counters property.
Protected fieldm_debugTraceReturns "debugTrace". (Inherited from TestResult.)
Protected fieldm_durationInfrastructure. Returns the value of the Duration property. (Inherited from TestResultMessage.)
Protected fieldm_endTimeReturns the value of the EndTime property. (Inherited from TestResultMessage.)
Protected fieldm_errorInfoReturns "errorInfo". (Inherited from TestResult.)
Protected fieldm_exceptionReturns the value of the SystemException property. (Inherited from TestResultMessage.)
Protected fieldm_idReturns the value of the ID() property. (Inherited from TestResultMessage.)
Protected fieldm_innerResultsInfrastructure. Returns the value of the InnerResults.
Protected fieldm_messageKindReturns the value of the MessageKind property. (Inherited from TestResultMessage.)
Protected fieldm_outcomeReturns "outcome". (Inherited from TestResult.)
Protected fieldm_spoolMessageReturns the value of the SpoolMessage property. (Inherited from TestResultMessage.)
Protected fieldm_startTimeReturns the value of the StartTime property. (Inherited from TestResultMessage.)
Protected fieldm_stdErrReturns "stdErr". (Inherited from TestResult.)
Protected fieldm_stdOutReturns "stdOut". (Inherited from TestResult.)
Protected fieldm_testNameReturns the value of the TestName property. (Inherited from TestResultMessage.)
Protected fieldm_testTypeReturns the value of the TestType property. (Inherited from TestResultMessage.)
Protected fieldm_textMessagesReturns "textMessages". (Inherited from TestResult.)
Protected fieldm_timerResultsReturns "timerResults". (Inherited from TestResult.)
Protected fieldm_traceInfoReturns "traceInfo". (Inherited from TestResult.)
Protected fieldm_workItemIdsReturns "workItemIds". (Inherited from TestResult.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft