Udostępnij za pośrednictwem


TestResultId Class

Definition

Represents a unique identifier for a test result.

public ref class TestResultId sealed : Microsoft::VisualStudio::TestTools::Common::IVerifiable, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class TestResultId : Microsoft.VisualStudio.TestTools.Common.IVerifiable, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type TestResultId = class
    interface IVerifiable
    interface IXmlTestStore
Public NotInheritable Class TestResultId
Implements IVerifiable, IXmlTestStore
Inheritance
TestResultId
Attributes
Implements

Constructors

TestResultId(Guid, TestExecId, TestExecId, TestId)

Initializes a new instance of the TestResultId class by using the provided test run ID, execution ID, parent execution ID, and test ID.

TestResultId(String, String, String, String)

Initializes a new instance of the TestResultId class by using the provided test run ID, text execution ID, the parent text execution ID, and the test ID.

Properties

ExecutionId

Gets the text execution ID.

IsRunLevel

Gets a value that indicates whether the associated test result is for a test run.

ParentExecId

Gets the test execution ID for the parent test result.

RunId

Gets the ID for the test run.

TestId

Gets the ID for the test.

Methods

Equals(Object)

Determines whether the provided object is equal to the current object.

GetHashCode()
IsValid()

Returns a value that indicates whether this test result ID is valid.

Load(XmlElement, XmlTestStoreParameters)

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

RunLevelId(Guid)

Returns the test result ID for the test result from the test run that generated the associated test result by using the provided child test run ID.

Save(XmlElement, XmlTestStoreParameters)

Saves this object in the provided XML element.

ToString()

Returns a string representation of this test result ID.

Applies to