Share via


RunInfo Class

Represents information about the execution of a test run.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.RunInfo

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class RunInfo _
    Implements IXmlTestStore
[SerializableAttribute]
public sealed class RunInfo : IXmlTestStore
[SerializableAttribute]
public ref class RunInfo sealed : IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type RunInfo =  
    class 
        interface IXmlTestStore 
    end
public final class RunInfo implements IXmlTestStore

The RunInfo type exposes the following members.

Constructors

  Name Description
Public method RunInfo Initializes an instance of the RunInfo class by using the provided information.

Top

Properties

  Name Description
Public property AgentMachine Gets the name of the computer on which the test was run.
Public property ComputerInfo Gets the name of the computer on which the test was run.
Public property Exception Gets the Exception, if any, that resulted from the test run.
Public property IsPass Gets a value that indicates whether the test run ended with an acceptable outcome.
Public property Outcome Gets a member of the TestOutcome enumeration, which indicates how the test run ended.
Public property OutcomeText Gets the text representation of the Outcome property value.
Public property Text Gets the message text that was provided when the instance was created.
Public property TextHashCode Gets the hash code for the contents of the Text property.
Public property Timestamp Gets the date and time when the instance was created.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Load Loads the object from the provided XML element by using the provided parameters.
Public method Save Saves the current object to the specified XML element by using the provided parameters.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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

IXmlTestStore