Share via


RunOutputTestResultMessage Class

Collects standard output, standard error, and trace data about a test run for diagnostic data adapters to report to the user.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.TestMessage
    Microsoft.VisualStudio.TestTools.Common.TestResultMessage
      Microsoft.VisualStudio.TestTools.Common.RunOutputTestResultMessage

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class RunOutputTestResultMessage _
    Inherits TestResultMessage _
    Implements ISerializable
[SerializableAttribute]
public sealed class RunOutputTestResultMessage : TestResultMessage, 
    ISerializable
[SerializableAttribute]
public ref class RunOutputTestResultMessage sealed : public TestResultMessage, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
type RunOutputTestResultMessage =  
    class 
        inherit TestResultMessage 
        interface ISerializable 
    end
public final class RunOutputTestResultMessage extends TestResultMessage implements ISerializable

The RunOutputTestResultMessage type exposes the following members.

Constructors

  Name Description
Public method RunOutputTestResultMessage Initializes a new instance of the RunOutputTestResultMessage class.

Top

Properties

  Name Description
Public property ComputerName Gets the name of the computer that executed the associated test run or test. (Inherited from TestResultMessage.)
Public property DebugTrace Gets the trace text.
Public property DisplayText Gets the text to display in the user interface of Visual Studio Application Lifecycle Management (ALM). (Inherited from TestResultMessage.)
Public property Duration Gets or sets the time that was spent to execute the associated test or test run. (Inherited from TestResultMessage.)
Public property EndTime Gets or sets the time that the execution ended. (Inherited from TestResultMessage.)
Public property Id Gets or sets the ID for this test result message. (Inherited from TestResultMessage.)
Public property IsRunLevel Gets a value that indicates whether this result is for a test run and not for a test. (Inherited from TestResultMessage.)
Public property LoadTestAgentNames Gets a comma-delimited list of the names of machines where the associated load test is installed. (Inherited from TestResultMessage.)
Public property LongText Gets the value of the DisplayText property. (Inherited from TestResultMessage.)
Public property MessageKind Gets or sets the kind of test result message for this associated test result message. (Inherited from TestResultMessage.)
Public property SpoolMessage Gets or sets a value that determines whether this message will be spooled into the persisted test results. (Inherited from TestResultMessage.)
Public property StartTime Gets or sets the time that the associated test run or test started. (Inherited from TestResultMessage.)
Public property StdErr Gets the standard error text.
Public property StdOut Gets the standard output text.
Public property 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.)
Public property SystemException Gets or sets the most recent exception that was encountered during the associated test run or test. (Inherited from TestResultMessage.)
Public property TestName Gets or sets the name of the associated test. (Inherited from TestResultMessage.)
Public property TestType Gets or sets the type for the associated test. (Inherited from TestResultMessage.)
Public property 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.)

Top

Methods

  Name Description
Public method Clone Creates a new object that is a copy of the current instance. (Overrides TestResultMessage.Clone().)
Public method Equals Determines whether the provided object is equal to the current object. (Inherited from TestResultMessage.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from TestResultMessage.)
Public method GetObjectData Populates a SerializationInfo object by using the data that is required to serialize this message. (Overrides TestResultMessage.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsValid Determines whether this test result message is valid. (Inherited from TestResultMessage.)
Public method Load Loads an instance of this class from the provided XML element by using the provided XML store parameters. (Inherited from TestResultMessage.)
Public method Save Saves this object in the provided XML element. (Inherited from TestResultMessage.)
Public method ToString Returns a string representation of this test result message. (Inherited from TestResultMessage.)

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.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

TestResultMessage