TestResultBase Class

Definition

Provides an optional base class for a custom test result class.

public ref class TestResultBase : Microsoft::VisualStudio::TestTools::Common::TestMessage, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class TestResultBase : Microsoft.VisualStudio.TestTools.Common.TestMessage, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type TestResultBase = class
    inherit TestMessage
    interface ISerializable
Public Class TestResultBase
Inherits TestMessage
Implements ISerializable
Inheritance
TestResultBase
Attributes
Implements

Constructors

TestResultBase()

Initializes a new instance of the TestResultBase class.

TestResultBase(Guid, Guid)

Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework.

TestResultBase(SerializationInfo, StreamingContext)

Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework.

TestResultBase(TestResultBase)

Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance.

Properties

ExecId

Gets the execution ID for the associated test.

IsRunLevel

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

RunId

Gets the ID for the associated test run.

Methods

GetObjectData(SerializationInfo, StreamingContext)
IsValid()

Determines whether this instance is valid.

Applies to