TestCaseEvent Class

Definition

Describes the common properties of a test case event: TestCaseStartEvent, TestCaseEndEvent, TestCasePauseEvent, TestCaseResumeEvent, and TestCaseResetEvent.

public ref class TestCaseEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
[Windows::Foundation::Metadata::WebHostHidden]
public ref class TestCaseEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
[Windows::Foundation::Metadata::WebHostHidden]
class TestCaseEvent abstract : Microsoft::VisualStudio::IntelliTrace::OrdinalEvent
public abstract class TestCaseEvent : Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
type TestCaseEvent = class
    inherit OrdinalEvent
Public MustInherit Class TestCaseEvent
Inherits OrdinalEvent
Inheritance
Derived

Properties

EventTime

Gets the time of the event using the high resolution counter. This value is retrieved from QueryPerformanceCounter.

IsChildTestCase

Gets a flag that determines if this test case is a child of a test case. For example, a web test in a load test is a child test case.

Ordinal

Gets or sets the ordinal value.

(Inherited from OrdinalEvent)
SessionId

Gets the test session id: a unique identifier that identifies the test session.

TestCaseId

Gets the test case id: a unique identifier that identifies this test case. When the test case is in the test case management system, the lower four bytes contain the TestCaseManagerId.

TestCaseManagerId

Gets the test case manager id: the identifier of the test case in Team Foundation Server.

TestCaseName

Gets the name of the test case.

TestExecutionId

Gets the test execution id: a unique identifier that identifies this test instance.

Methods

Compare(OrdinalEvent, OrdinalEvent)

Compares one instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(Object)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
CompareTo(OrdinalEvent)

Compares the current instance with another instance and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other instance.

(Inherited from OrdinalEvent)
Equals(Object)

Determines whether the specified object is equal to the current OrdinalEvent.

(Inherited from OrdinalEvent)
GetHashCode()

Gets a hash code for this OrdinalEvent.

(Inherited from OrdinalEvent)

Applies to